An attempt is made here: https://github.com/kevinwang09/APES/blob/ca1dc604800af7b6ce58b2341fcfe89863fc9df4/R/APES.R#L63 But this is done purely ad hoc with no mathematical justifications.