Training Fuzzy logic from csv file

조회 수: 10 (최근 30일)
Ebtesam Almansor
Ebtesam Almansor 2020년 2월 10일
댓글: Ateeq Ateeq 2020년 11월 20일
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

채택된 답변

Gouri Chennuru
Gouri Chennuru 2020년 3월 4일
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)
Step 3: Use the evalfis function in order to evaluate the Fuzzy Inference System.
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
Ebtesam Almansor
Ebtesam Almansor 2020년 3월 5일
Thank you very much, regrding to measure the error, do this manually or using some function
Ateeq Ateeq
Ateeq Ateeq 2020년 11월 20일
Really helpful, thank you

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Fuzzy Logic Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by