?? ch8_4.m
字號:
% Model Identification This is a demonstration of subtractive clustering and
% how it can be used with multi-dimensional data.
% Copyright 1994-2002 The MathWorks, Inc. $Revision: 1.12 $
% This is a plot of the input data for a model identification problem.
% We are interested in estimating the number of auto trips generated
% from an area based on the area's demographics. Five factors were
% considered: population, number of houses, vehicle ownership, income, and employment.
tripdata
figure,plot(datin)
a=genfis2(datin,datout,0.45);
figure,plotfis(a);
figure
fuzout=evalfis(datin,a);
subplot(2,1,1)
plot(datin)
subplot(2,1,2)
plot([datout fuzout])
figure,plot(datout,fuzout,'bx',[0 10],[0 10],'r:')
xlabel('Actual Value')
ylabel('Predicted Value')
axis square
chkfuzout=evalfis(chkdatin,a);
figure,plot(chkdatout,chkfuzout,'bx',[0 10],[0 10],'r:')
axis square
xlabel('Actual Value')
ylabel('Predicted Value')
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -