Hacker News new | ask | show | jobs
by twiecki 3675 days ago
Thanks for your comment! I did split the data in two, but it's easy to miss. X_test and X_train are the two sets. ann_input.set_value(X_test) then switches in the test values. That's identical to running make_moons() again.
1 comments

OK, I didn't understand how the "neural_network" was connected to the data.

Thanks for responding.