LinearWeights#

class frlearn.weights.LinearWeights#

(4/10, 3/10, 2/10, 1/10) Also known as additive weights.

Returns:
f: int -> np.array

Function that takes a positive integer k and returns a weight vector of length k with linearly decreasing weights.

Examples using frlearn.weights.LinearWeights#

Multiclass classification with FRNN

Multiclass classification with FRNN