...

/

Solution Review: Make Predictions and Plot Model

Solution Review: Make Predictions and Plot Model

This is the in-depth solution review of the "Make Predictions and Plot Model" coding challenge.

We'll cover the following...

Solution

Press + to interact
# Make prediction from `classification_model` and assign result to `predictions` variable.
predictions = predict_model(classification_model)
# Finalize the model and assign it to the final_model variable.
final_model = finalize_model(classification_model)
# Plot the decision boundaries of the model
plot_model(classification_model, 'boundary')
...