Aan de slagGa gratis aan de slag

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

Cursus bekijken

Oefeninstructies

  • Train your model on the training data for 200 epochs.
  • Evaluate your model accuracy 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)
Code bewerken en uitvoeren