Scikit-learn
Scikit-learn is an open source Python library that efficiently implements multiple machine learning algorithms for classification, regression, and clustering.
Compute the root mean square error (RMSE) with Scikit-learn
import math
import sklearn.metrics
setA = [5, 10, 15, 20]
setB = [4, 8, 16, 20]
rmse = math.sqrt(
sklearn.metrics.mean_squared_error(setA, setB)
)
print(rmse)
Scikit-learn resources
Broader Topics Related to Scikit-learn Python Library
Python Open-Source Machine Learning Libraries
Python libraries used for machine learning