Quiz: Visualizing Machine Learning Models with Plotly

Test your understanding of how to visualize regression and classification model outputs with Plotly figures.

Quiz: Visualizing Machine Learning Models with Plotly

1

In Plotly, how can you add a line of best fit to a scatter plot, and what argument is used for this purpose?

A)

You can add a line of best fit by setting the trendline argument to ols.

B)

You can add a line of best fit by setting the regression argument to True.

C)

You can add a line of best fit by setting the OLS argument to True.

D)

You can add a line of best fit by setting the fitline argument to True.

Question 1 of 40 attempted

Get hands-on with 1200+ tech skills courses.