anfis icon indicating copy to clipboard operation
anfis copied to clipboard

AttributeError: module 'anfis' has no attribute 'ANFIS'

Open adhi006 opened this issue 9 months ago • 1 comments

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, Y, mfc) 7 anf.trainHybridJangOffLine(epochs=20) 9 print (round(anf.consequents[-1][0],6))

AttributeError: module 'anfis' has no attribute 'ANFIS'

adhi006 avatar May 05 '24 19:05 adhi006