how can i change Iris dataset to haberman dataset?
1 view (last 30 days)
Show older comments
i am new in neural network and i have this code for classification and i try to change the dataset to haberman which is
3x306 input and 2x306 output
but i cannot understand this
load iris.txt
x=sortrows(iris,2);
H2=x(1:150,1);
H3=x(1:150,2);
H4=x(1:150,3);
H5=x(1:150,4);
T=x(1:150,5);
H2=H2';
[xf,PS] = mapminmax(H2);
I2(:,1)=xf;
H3=H3';
[xf,PS2] = mapminmax(H3);
I2(:,2)=xf;
H4=H4';
[xf,PS3] = mapminmax(H4);
I2(:,3)=xf;
H5=H5';
[xf,PS4] = mapminmax(H5);
I2(:,4)=xf;
Thelp=T;
T=T';
[yf,PS5]= mapminmax(T);
T=yf;
T=T';
and what are used for
any help please?
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!