Closed arruda closed 7 years ago
ops, just figured it out:
TERM mf1 := (0, 1) (1, 1)
(0 , 1)
basically this is it:1 = mf(0)
and 1 = mf(1)
in this case.
Yup you got it! Sorry for the delay.
Scikit-fuzzy now really likes sparse membership functions, piecewise ones where the only data are where the MF has a discontinuous first derivative. The rest are interpolated in a linear fashion as needed.
Description
I'm a bit stuck in this point :disappointed: . The problem is how to interpret this:
What I Did
For now this is what I have (considering the example above):
So basically what I'm missing is the
magic_function
that will transform the[ [0, 1], [1, 1] ]
into the expected used in scikit-fuzzy'sTerm.mf
(I believe its a 1d array, because all scikit-fuzzy mfs return this: http://pythonhosted.org/scikit-fuzzy/api/skfuzzy.membership.html)