Training Fuzzy logic from csv file
10 views (last 30 days)
Show older comments
Ebtesam Almansor
on 10 Feb 2020
Commented: Ateeq Ateeq
on 20 Nov 2020
Hi there,
I built fuzzy inference system using fuzzy logic tool box with the rules and I have csv file so I want to train my fuzzy system on my csv file and find the accuarcy
0 Comments
Accepted Answer
Gouri Chennuru
on 4 Mar 2020
You have to evaluate your Fuzzy Inference System with the testing Inputs, and the output responses have to be compared against the testing outputs.
In order to Evaluate Fuzzy Inference System
Step 1: Load the Fuzzy Inference System
fis = readfis(filename)
Step 2: Read the csv file
input = readmatrix(filename.csv)
Output = evalfis(fis, input)
The output of the fuzzy system is obtained.In order to know the accuracy of FIS, Measure the error between real outputs and output responses or you can also test all possible combinations of inputs and verify that the outputs of the fuzzy inference system you developed is operating accordingly.
2 Comments
More Answers (0)
See Also
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!