ReciprocallyLinearWeights#
- class frlearn.weights.ReciprocallyLinearWeights#
(12/25, 12/50, 12/75, 12/100)Also known as inverse additive weights.- Returns:
- f: int -> np.array
Function that takes a positive integer
kand returns a weight vector of lengthkwith reciprocally linearly decreasing weights.