Training on dart throwers
Your model is now ready, just as your dataset. It's time to train!
The coordinates features and competitors labels you just transformed have been partitioned into coord_train,coord_test and competitors_train,competitors_test.
Your model is also loaded. Feel free to visualize your training data or model.summary() in the console.
Let's find out who threw which dart just by looking at the board!
Deze oefening maakt deel uit van de cursus
Introduction to Deep Learning with Keras
Oefeninstructies
- Train your
modelon the training data for 200epochs. - Evaluate your
modelaccuracy on the test data.
Praktische interactieve oefening
Probeer deze oefening eens door deze voorbeeldcode in te vullen.
# Fit your model to the training data for 200 epochs
model.____(____,____,____=____)
# Evaluate your model accuracy on the test data
accuracy = ____.____(____, ____)[1]
# Print accuracy
print('Accuracy:', accuracy)