How to use Pattern Recognition (Inputs and targets have different numbers of samples.)
3 次查看(过去 30 天)
显示 更早的评论
Hello.
I tested this link https://www.mathworks.com/help/deeplearning/ref/patternnet.html
I have a dataset
x(data) = 90 x 2856
t(target) = 90 x 1
Could you explain how I can solve this error?
clear all
close all
x = readmatrix('final_3000_data.csv');
t = readmatrix('final_3000_nor_target.csv');
net = patternnet(10);
net = train(net,x,t);
view(net)
y = net(x);
perf = perform(net,t,y);
classes = vec2ind(y);
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Pattern Recognition and Classification 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!