- Use the "genfis" function to generate an initial Fuzzy Inference System (FIS). You can use methods like grid partitioning or subtractive clustering to create the initial FIS structure.
- Use the "anfis" function to train the FIS. This function uses a hybrid learning algorithm combining least-squares and backpropagation gradient descent methods.
- Use the trained FIS to classify new data points. The "evalfis" function can be used to evaluate the FIS with new input data.
- Documentation: https://www.mathworks.com/help/fuzzy/neuro-adaptive-learning-and-anfis.html#:~:text=At%20the%20command%20line%2C%20using%20the%20anfis%20function.
- File Exchange submission: https://www.mathworks.com/matlabcentral/fileexchange/62245-anfis-classifier