Quantum Machine Learning, Machine Learning, Data Science, Programming, Hands On Tutorials.
np.var(score) # Variance of scores cross_std = math.sqrt(cross_var) # Standard deviation of scores print("Mean cross-validation score:", cross_mean) print("Standard deviation of cross-validation scores:", cross_std) We obtain the following results: Cross-validation scores: [0.34210526 0.4122807