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!
This exercise is part of the course
Introduction to Deep Learning with Keras
Exercise instructions
- Train your
model
on the training data for 200epochs
. - Evaluate your
model
accuracy on the test data.
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# 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)