How we can give input to ANFIS

2 views (last 30 days)
Gagandeep Kaur
Gagandeep Kaur on 18 Jul 2022
Answered: Sam Chak on 28 Jul 2022
Suppose if I want to give 10 inputs to ANFIS then how combinations can be created.Please tell me

Answers (1)

Sam Chak
Sam Chak on 28 Jul 2022
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!