Several Metrics To Evaluate Machine Learning Models
Project description
Model Metrics and Excel Saver
This Python package provides functions to calculate common model evaluation metrics and save the results along with predictions to an Excel file. It's designed to streamline the process of assessing and recording model performance.
Features
- Comprehensive Metrics: Calculates R-squared (R2), Root Mean Squared Error (RMSE), Mean Absolute Percentage Error (MAPE), Kling-Gupta Efficiency (KGE), Nash-Sutcliffe Efficiency (NSE), Wave Hedges Distance (WHD), Vicis Symmetric Distance (VSD), and Willmott's Agreement Index (WAI).
- Excel Export: Organizes and saves the computed metrics and actual vs. predicted values into a well-structured Excel file for convenient analysis and sharing.
- Easy Integration: Simple and intuitive API for straightforward integration into your machine learning workflows.
Installation
Install the package using pip:
pip install IM_Metrics
#Import Necessary Functions:
from IM_Metrics import Save_Metrics
metrics_filename = 'Results of KRidge.xlsx'
Save_Metrics(y_train, y_train_pred, y_test, y_test_pred,metrics_filename)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
im_metrics-2.2.0.tar.gz
(5.1 kB
view hashes)
Built Distribution
Close
Hashes for IM_Metrics-2.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6868480a7e1d27d660358c767c643c1a137fe5581217324618748dbffcd648b4 |
|
MD5 | 768c963916b44a5fde6fd26c15952eb9 |
|
BLAKE2b-256 | 57187822060d5bb04e8b391c4442304ca5096f22dc0349d62536c9509ff7aa0c |