CommencerCommencer gratuitement

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!

Cet exercice fait partie du cours

Introduction to Deep Learning with Keras

Afficher le cours

Instructions

  • Train your model on the training data for 200 epochs.
  • Evaluate your model accuracy on the test data.

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de 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)
Modifier et exécuter le code