Hi, I'm training a classification network:
inputSize = 1;
numHiddenUnits = 200;
numClasses = 2;
layers = [ ...
I generated my data, which are:
- the labels, that are arrays long 4000 elements (which are categorical), memorized in a cell array like this:
- the signals, each long 4000 samples, memorized in a cell array, like this:
Error using trainNetwork (line 184)
Invalid training data. For image, sequence-to-label, and feature classification tasks, responses must be categorical.
I can't understand what's wrong, I tried to prepare the data in a different way, but it didn't work anyway, can you suggest what to try?