get_mse
get_mse(y_true, y_pred, *, sample_weight=None)Compute Mean Squared Error (MSE).
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| y_true | array-like of shape (n_samples,) | True target values. | required |
| y_pred | array-like of shape (n_samples,) | Predicted target values. | required |
| sample_weight | array-like of shape (n_samples,) | Sample weights. | None |
Returns
| Name | Type | Description |
|---|---|---|
| mse | float | Mean Squared Error. |