Weights

class frlearn.weights.Weights[source]

Abstract base class for parametrisable weights functions. Classes that inherit from Weights should overwrite __call__ with the weight function, while __init__ can be used to set any parameters.

Returns
f: int -> np.array

Function that takes a positive integer k and returns a weight vector of length k.

References

1

Yager RR (1988). On Ordered Weighted Averaging Aggregation Operators in Multicriteria Decisionmaking. IEEE Transactions on Systems, Man, and Cybernetics, vol 18, no 1, pp 183–190. doi: 10.1109/21.87068