QuantifierWeights

class frlearn.weights.QuantifierWeights(q: Callable[[float], float])[source]

Weights that encode a regular non-decreasing quantifier [1].

Parameters
q: float -> float

Regular non-decreasing quantifier (a surjective, non-decreasing function [0, 1] -> [0, 1]).

Returns
f: int -> np.array

Function that takes a positive integer k and returns the weight vector of length k corresponding to q.

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