开始使用免费开始使用

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.

本练习是课程的一部分

Fraud Detection in Python

查看课程

交互式实操练习

通过完成这段示例代码来试试这个练习。

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

# Obtain predictions from the test data 
predicted = ____(X_test)
编辑并运行代码