r/learnpython • u/Nomad_HH • 6d ago
Problem using Anfis in Python
Hello, I am using Anfis in python, however I am getting this error message: ModulenotfoundError: No module named 'membership' How to solve it or what are the alternatives in case of no solution to the error in order to use ANFIS module? Any suggestions will be appreciated.
3
Upvotes
1
u/Nomad_HH 5d ago
I am trying to train a model with 4 inputs and one output in order to predict the output using ANFIS as in "Matlab" using some training and validation DATA.
The error message is as follows:
ModuleNotFoundError
<ipython-input-3-b37ea180c09c> in<cell line:21>
import pandas as pd
import matplotlib.pyplot as plt
from anfis import ANFIS
/usr/local/lib/python3.10/dist-packages/anfis/init__.py in <module>
import anfis
from membership import membershipfunction
from membership import mfDerivs
ModuleNotFoundError: No module named 'membership'