How to use Pattern Recognition (Inputs and targets have different numbers of samples.)

2 vues (au cours des 30 derniers jours)
Hello.
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);

Réponse acceptée

Sindhu Karri
Sindhu Karri le 23 Mar 2020
Hiii,
Refer to below link (focus on 'preparing the data')

Plus de réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by