我有一个包含数据的文本文件。我的文本文件:
young, myopic, no, reduced, no
young, myopic, no, normal, soft
young, myopic, yes, reduced, no
young, myopic, yes, normal, hard
young, hyperopia, no, reduced, no
young, hyperopia, no, normal, soft
young, hyperopia, yes, reduced, no
young, hyperopia, yes, normal, hard
我读了我的文本文件加载方法
%young=1
%myopic=2
%no=3 etc.
load iris.txt
net = newsom(1,[1 5]);
[net,tr] = train(net,1);
plotsomplanes(net);
错误代码:
???'network' 类型的输入参数的未定义函数或方法'plotsomplanes'。