I'm trying to create cnn for load forecasting. I try to create lebel vector for training but it didn't work.
I have 3 types of data with 1920 samples fo each for training set (1920x3 double) and 3 types of data with 768 samples fo each for testing set (768x3 double). I reshaped train data to 4D array.
this is my code for this work.
Train_dataset = reshape(Train_data, [1 1920 1 3]);
Train_Labels = categorical(label);
imageInputLayer([1 1920 1])
train_options = trainingOptions('sgdm');
net = trainNetwork(Train_dataset, Train_Labels, layers, train_options);
Pred = classify(net, Test_data)'
What is the train lebel should look like? or somewhere was wrong?
the error frequently shows 'Number of observations in X and Y disagree.'