CommencerCommencer gratuitement

Random Forest Classifier - part 2

Let's see how our Random Forest model performs without doing anything special to it. The model from the previous exercise is available, and you've already split your data in X_train, y_train, X_test, y_test.

Cet exercice fait partie du cours

Fraud Detection in Python

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Fit the model to our training set
____.fit(____, ____)

# Obtain predictions from the test data 
predicted = ____(X_test)
Modifier et exécuter le code