How to use Pattern Recognition (Inputs and targets have different numbers of samples.)
1 回表示 (過去 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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/278359/image.png)
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!