anfis
anfis copied to clipboard
Python implementation of an Adaptive neuro fuzzy inference system
how to fix it? --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) Cell In[7], line 6 1 mf = [[['gaussmf',{'mean':0.,'sigma':1.}],['gaussmf',{'mean':-1.,'sigma':2.}],['gaussmf',{'mean':-4.,'sigma':10.}],['gaussmf',{'mean':-7.,'sigma':7.}]], 2 [['gaussmf',{'mean':1.,'sigma':2.}],['gaussmf',{'mean':2.,'sigma':3.}],['gaussmf',{'mean':-2.,'sigma':10.}],['gaussmf',{'mean':-10.5,'sigma':5.}]]] 5 mfc = anfis.membershipfunction.MemFuncs(mf) ----> 6 anf = anfis.ANFIS(X,...
AppData\Local\Programs\Python\Python310\lib\site-packages\anfis\__init__.py", line 2, in from membership import membershipfunction ModuleNotFoundError: No module named 'membership'
Don't need "mfDerivs.py" file anymore. skfuzzy has a partial_dmf function that "Calculate the partial derivative of a specified membership function." skfuzzy.partial_dmf(x, mf_name, mf_parameter_dict, partial_parameter)
It's sad that this package, is no longer maintained in very long time (latest commit when i wrote this was 4 years ago). So I decided to fork this package...