Selection for inputs does not have 0 elements nprtool GUI error

1 view (last 30 days)
I have trained the network using nprtool gui and now i tried to test the network with new input(7X50001) a and target(hot-enocded)(7X50001) value to check the confusion matrix but for evalation the network, GUI shows that " Selection for inputs does not have 0 elements".
what can be the problem? as before i test the network with kind of data(9X50001) and target values (7X50001)

Answers (1)

yanqi liu
yanqi liu on 2 Dec 2021
yes,sir,may be ensure the inputlayer dimension,is it 9*x ?
  2 Comments
muhammad usama
muhammad usama on 2 Dec 2021
the Network was trained with 7 inputs and 7 output so for the test i also gave 7 inputs and 7 output of data set the dimension for both test datas are same but still problem arises.
@yanqi liu(9*x was for trained network with 9 inputs and 7*x outputs.)
yanqi liu
yanqi liu on 3 Dec 2021
yes,sir,this net is 7 input and 7 output
may be upload the code or mat to do some analysis

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!