Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

mean squared error in machine learning formula

from sklearn.metrics import mean_squared_error

actual_values = [3, -0.5, 2, 7]
predicted_values = [2.5, 0.0, 2, 8]

mean_squared_error(actual_values, predicted_values)
Source by www.studytonight.com #
 
PREVIOUS NEXT
Tagged: #squared #error #machine #learning #formula
ADD COMMENT
Topic
Name
1+1 =