The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

361604 (4) [Avatar] Offline
#1
In the first part of chapter six, we trained a NN that learned the relationship between the streetlights and the walking state.

After training I thought I'd be able to use the learned weights to make predictions:

prediction = streetlights[1].dot(weights)


Even if I increase the number of iteration during training, the above prediction never comes close to the correct answer (i.e. walk_vs_stop[1]).

After training is complete isn't that how to use the learned weights to make a prediction? TIA