frlearn.t_norms.lukasiewicz_t_norm

frlearn.t_norms.lukasiewicz_t_norm(a, axis)[source]

max(x + y - 1, 0)

Parameters
a: np.array

Input array of values. All values should lie in [0, 1].

axisint, default=-1

The axis along which values are aggregated.

Returns
b: np.array

Aggregated values, array with the same shape as a, except for the specified axis.