How we can give input to ANFIS

조회 수: 2(최근 30일)
Gagandeep Kaur
Gagandeep Kaur 2022년 7월 18일
답변: Sam Chak 2022년 7월 28일
Suppose if I want to give 10 inputs to ANFIS then how combinations can be created.Please tell me


Sam Chak
Sam Chak 2022년 7월 28일
Maybe you can try something like this:
IN = [in01(:) in02(:) in03(:) in04(:) in05(:) in06(:) in07(:) in08(:) in09(:) in10(:)];
data = [IN out(:)]; % create input-output dataset
opt = anfisOptions;
opt.InitialFIS = 2;
opt.EpochNumber = 10;
KaurFIS = anfis(data, opt);
output = evalfis(KaurFIS, IN); % output predicted by KaurFIS


Community Treasure Hunt

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

Start Hunting!

Translated by