ValueError after changing Charles code from 3 to 9 inputs.

by: mtbrands, 7 years ago


I wanted to change Charles' code from 3 inputs: a,w,d to 9 inputs: a, d, s, wa, wd, sd, sa, nokeys. When I try to train the model I run into a value error which suggests an array somewhere is the wrong shape. But I have no idea where to look or which one it is to begin with. I was hoping someone could take a look.

Create_training_data.py: https://paste.ofcode.org/idsfSq5bvz5NzCwVknmUHH
Balance_data.py: https://paste.ofcode.org/rR4vdepPpyP6FaVX8vLQNz
Train_model.py: https://paste.ofcode.org/iY8DQVgdDhKZrDavRQ77dd
Error message:https://paste.ofcode.org/yzjtB97PPP2FYAMipQU2sd



You must be logged in to post. Please login or register an account.