Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
how to combine the ouitput
조회 수: 1 (최근 30일)
이전 댓글 표시
I am workig om ensemble callification using anfis,I have trained and tested the code,but dont have idea on how to combine these 3 to get result,kindly tell how to proceed
clc
clear all
load fisheriris
colon_training1 = meas(:,[1,3,4,end]);
colon_training2 = meas(:,[2,1,3,end]);
colon_training3 = meas(:,[4,2,1,end]);
colon_test1_f = (meas(:,[1,3,4]))';
colon_test2_f = (meas(:,[2,1,3]))';
colon_test3_f = (meas(:,[4,2,1]))';
% Set target matrix for test datasets
[m n]=size(meas); test_t=[];
numMFs = 2;
mfType='trimf'
epoch_n = 10; % Number of training epochs
% 3 initial individual ANFIS models
fis1 = genfis1(colon_training1,numMFs,mfType);
fis2 = genfis1(colon_training2,numMFs,mfType);
fis3 = genfis1(colon_training3,numMFs,mfType);
% Training the 3 individual models respectively
result_anfis1 = anfis(colon_training1,fis1,epoch_n);
result_anfis2 = anfis(colon_training2,fis2,epoch_n);
result_anfis3 = anfis(colon_training3,fis3,epoch_n);
anfis_out1=(evalfis([colon_test1_f ],result_anfis1)) ;
anfis_out2=(evalfis([colon_test2_f ],result_anfis2)) ;
anfis_out3=(evalfis([colon_test3_f ],result_anfis3)) ;
댓글 수: 0
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!