Skip to main content

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


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 details)

Uploaded Source

Built Distribution

IM_Metrics-2.2.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file im_metrics-2.2.0.tar.gz.

File metadata

  • Download URL: im_metrics-2.2.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.7

File hashes

Hashes for im_metrics-2.2.0.tar.gz
Algorithm Hash digest
SHA256 7136cb97f98e973f6d192901c0281b67c464f9e0d1b0541f7e9db8a6a3e3798b
MD5 04584ad9fe953765a529951c08af5983
BLAKE2b-256 faf3b5e91a054d1168a223f10415db8440edeafdefcdc3db685184d05f6d21f1

See more details on using hashes here.

File details

Details for the file IM_Metrics-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: IM_Metrics-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.7

File hashes

Hashes for IM_Metrics-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6868480a7e1d27d660358c767c643c1a137fe5581217324618748dbffcd648b4
MD5 768c963916b44a5fde6fd26c15952eb9
BLAKE2b-256 57187822060d5bb04e8b391c4442304ca5096f22dc0349d62536c9509ff7aa0c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page