IniziaInizia gratis

Analyzing cross-validation metrics

Now you have performed cross-validation, it's time to analyze the results.

You will display the mean, standard deviation, and 95% confidence interval for cv_results, which has been preloaded for you from the previous exercise.

numpy has been imported for you as np.

Questo esercizio fa parte del corso

Supervised Learning with scikit-learn

Visualizza il corso

Istruzioni dell'esercizio

  • Calculate and print the mean of the results.
  • Calculate and print the standard deviation of cv_results.
  • Display the 95% confidence interval for your results using np.quantile().

Esercizio pratico interattivo

Prova questo esercizio completando il codice di esempio.

# Print the mean
print(____(____))

# Print the standard deviation
print(____(____))

# Print the 95% confidence interval
print(____(____, [____, ____]))
Modifica ed esegui il codice