Solution Review: Train Random Forest Model
This is the in-depth solution review of the "Train Random Forest Model" coding challenge.
We'll cover the following...
Solution
Press + to interact
# Load the automobile dataset to a variable named `data`data = get_data('automobile')# Initialize PyCaret environment and assign result to a variable named `reg1`reg1 = setup(data, target = 'price', silent = True)# Create a Random Forest model and assign it to a variable named `model`.model = create_model('rf')