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.
Bu egzersiz
Supervised Learning with scikit-learn
kursunun bir parçasıdırEgzersiz talimatları
- 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().
Uygulamalı interaktif egzersiz
Bu örnek kodu tamamlayarak bu egzersizi bitirin.
# Print the mean
print(____(____))
# Print the standard deviation
print(____(____))
# Print the 95% confidence interval
print(____(____, [____, ____]))