ANFIS for classification
显示 更早的评论
回答(1 个)
Hey Samia,
In order to use the ANFIS (Adaptive Neuro-Fuzzy Inference System) function for classification in MATLAB, you can follow these steps:
- 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.
You can learn more about ANFIS from the following sources:
- 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
Happy coding!
类别
在 帮助中心 和 File Exchange 中查找有关 Fuzzy Logic Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!