Hi, I am not able to resolve the problem with my Neural network
I tried my network on example data set: Breast Cancer
inputs: cancerInputs 9x699
targets: cancerTargets 2x699
I change targets in categorical, but there is still the same error:
>> c = categorical(cancerTargets);
>> net = trainNetwork(cancerInputs,c,layers_4,options)
Error using trainNetwork (line 170)
Invalid training data. Responses must be a vector of categorical responses, or a cell array of categorical response sequences.
0 Comments
Sign in to comment.