Put in order · Python course · Module 9: Machine Learning

Training the Model

Arrange the code for training a Random Forest model:

Items to put in order

  • fit
  • .
  • X_train, y_train
  • model
  • (
  • )

You can check the correct answer by solving this task in the CodeWorlds game.