Get startedGet started for free

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.

This exercise is part of the course

Fraud Detection in Python

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

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

# Obtain predictions from the test data 
predicted = ____(X_test)
Edit and Run Code