Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

PyPI Downloads License: MIT



Welcome to Model Metrics! Model Metrics is a versatile Python library designed to streamline the evaluation and interpretation of machine learning models. It provides a robust framework for generating predictions, computing model metrics, analyzing feature importance, and visualizing results. Whether you're working with SHAP values, model coefficients, confusion matrices, ROC curves, precision-recall plots, and other key performance indicators.


Prerequisites

Before you install model_metrics, ensure your system meets the following requirements:

  • Python: Version 3.7.4 or higher.

Additionally, model_metrics depends on the following packages, which will be automatically installed when you install model_metrics:

  • matplotlib: version 3.5.3 or higher, but capped at 3.9.2
  • numpy: version 1.21.6 or higher, but capped at 2.1.0
  • plotly: version 5.18.0 or higher, but capped at 5.24.0
  • scikit-learn: version 1.0.2 or higher, but capped at 1.5.2
  • seaborn: version 0.12.2 or higher, but capped below 0.13.2
  • shap: version 0.41.0 or higher, but capped below 0.46.0
  • tqdm: version 4.66.4 or higher, but capped below 4.67.1

💾 Installation

To install model_metrics, simply run the following command in your terminal:

pip install model_metrics

📄 Official Documentation

https://lshpaner.github.io/model_metrics

🌐 Authors' Website

  1. Leonid Shpaner

🙏 Acknowledgements

Gratitude goes to Dr. Ebrahim Tarshizi for his mentorship during the University of San Diego M.S. Applied Data Science Program, as well as the Shiley-Marcos School of Engineering for its support.

Special thanks to Dr. Alex Bui for his invaluable guidance and support, and to Panayiotis Petousis and Arthur Funell for their exceptional teamwork in maintaining a solid data science foundation at UCLA CTSI. Special thanks to those who have contributed to the development of this library, provided guidance, and supported a strong data science foundation. This work is built upon a collaborative effort that values knowledge sharing, teamwork, and dedication to advancing model evaluation practices.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

model_metrics-0.0.0a5.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

model_metrics-0.0.0a5-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file model_metrics-0.0.0a5.tar.gz.

File metadata

  • Download URL: model_metrics-0.0.0a5.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for model_metrics-0.0.0a5.tar.gz
Algorithm Hash digest
SHA256 34e8569caef97b24b666903c991b02d9309269fb0922a0674200ae941638d257
MD5 cc7476eb75248ea03ff163a654c44d57
BLAKE2b-256 ef5c2c7e4974b174e1f5e1a1e3a31ec794c343ba19bb7c0efa4c73bb7690dd74

See more details on using hashes here.

File details

Details for the file model_metrics-0.0.0a5-py3-none-any.whl.

File metadata

File hashes

Hashes for model_metrics-0.0.0a5-py3-none-any.whl
Algorithm Hash digest
SHA256 58b491e773100ccddda9c4d4ce86d5689549c441a0beb4c5bcd746d8035efd8a
MD5 7e4d5fd669256db13482b07eb21ba884
BLAKE2b-256 43a263befe23ed988080451ac89ec7dee922427a8537e2570be86a06afba94dc

See more details on using hashes here.

Supported by

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