Fuzzy logic toolbox - ANFIS - Calculate RMSE, MAE, R-squared

19 views (last 30 days)
I am having 2 different data sets namely, training and testing.I need to calculate RMSE, MAE and R-Squared seperately for training and testing data. In the mathlab command window, I issue ANFISEDIT command. ANFIS editor window is opened. Training and testing datas are loaded in the "Load data" column. The FIS is generated with grid partition selected. The FIS is trained with Error tolerance =0 and Epochs = 3. Error value is displyed in the ANFIS editor window. Is this error is known as "RMSE" ? To test the FIS, I select the training data and Average testing error is obtained. Is this average testing error is known as "MAE"? While testing FIS with training data, Average testing error and error(training FIS) are same. While testing FIS with testing data, I obtain a different values for Average testing error and error. Kindly mention the procedure what I follow is correct.Plz help.

Answers (2)

Nikos Mp
Nikos Mp on 31 Mar 2017
i have the same question,you are not alone ,so if anyone knows provide some info.Thanks

chenxi dong
chenxi dong on 16 Sep 2018
it seems like RMSE based on this answer. https://www.mathworks.com/matlabcentral/answers/296642-what-method-does-matlab-use-to-compute-test-error-in-anfis-toolbox#answer_237794

Categories

Find more on Fuzzy Logic Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!