Coding Challenge: Make Predictions and Plot Model

Evaluate a classification model by making predictions on the test dataset.

Problem statement

In the following challenge, we’ll evaluate and plot a classification model by making predictions on the test dataset that is created during PyCaret environment initialization. The model variable is classification_model, and the result will be assigned to a variable named predictions. After doing that, we are going to finalize the model and assign it to the final_model variable. Finally, we will plot the decision boundaries of the model, by using the appropriate function and parameter.

Expected output

Get hands-on with 1400+ tech skills courses.