Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
adhi006 opened this issue May 5, 2024 · 1 comment
Open

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

adhi006 opened this issue May 5, 2024 · 1 comment

Comments

@adhi006
Copy link

adhi006 commented May 5, 2024

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'

@asthaap
Copy link

asthaap commented Jul 1, 2024

i am also getting the same error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants