boston_housing.evaluating_model_performance.performance_metric

boston_housing.evaluating_model_performance.performance_metric(y_true, y_predict)[source]

Calculates total error between true and predicted values

Param:
  • y_true: array of target values
  • y_predict: array of values the model predicted
Returns:

mean_squared_error for the prediction