Expand description
Evaluation metrics for ML models.
Includes regression metrics (R², MSE, MAE) and clustering metrics (inertia, silhouette score).
Functions§
- inertia
- Computes the inertia (within-cluster sum of squares).
- mae
- Computes the Mean Absolute Error (MAE).
- mse
- Computes the Mean Squared Error (MSE).
- r_
squared - Computes the coefficient of determination (R²).
- rmse
- Computes the Root Mean Squared Error (RMSE).
- silhouette_
score - Computes the silhouette score for clustering quality.