A Python library for model evaluation, performance tracking, and metric visualizations, supporting classification and regression models with robust analytics and reporting.
Project description
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
: Version3.7.4
or higher.
Additionally, model_metrics
depends on the following packages, which will be automatically installed when you install model_metrics
:
matplotlib
: version3.5.3
or higher, but capped at3.10.0
numpy
: version1.21.6
or higher, but capped at2.1.0
pandas
: version1.3.5
or higher, but capped at2.2.3
plotly
: version5.18.0
or higher, but capped at5.24.1
scikit-learn
: version1.0.2
or higher, but capped at1.5.2
shap
: version0.41.0
or higher, but capped below0.46.0
statsmodels
: version0.12.2
or higher, but capped below0.14.4
tqdm
: version4.66.4
or higher, but capped below4.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
🌐 Author's Website
🙏 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, and to Panayiotis Petousis, PhD, and Arthur Funnell for their invaluable guidance and their exceptional teamwork in maintaining a strong data science infrastructure at UCLA CTSI. Their leadership and support have helped foster the kind of collaborative environment that makes work like this possible. Additional thanks to all who offered guidance and encouragement throughout the development of this library. This project reflects a shared commitment to knowledge sharing, teamwork, and advancing model evaluation practices.
⚖️ License
model_metrics
is distributed under the MIT License. See LICENSE for more information.
⚓ Support
If you have any questions or issues with model_metrics
, please open an issue on this GitHub repository.
📚 Citing model_metrics
If you use model_metrics
in your research or projects, please consider citing it.
@software{shpaner_2025_14879819,
author = {Shpaner, Leonid},
title = {Model Metrics},
month = feb,
year = 2025,
publisher = {Zenodo},
version = {0.0.3a},
doi = {10.5281/zenodo.14879819},
url = {https://doi.org/10.5281/zenodo.14879819}
}
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
Built Distribution
File details
Details for the file model_metrics-0.0.3a0.tar.gz
.
File metadata
- Download URL: model_metrics-0.0.3a0.tar.gz
- Upload date:
- Size: 35.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4f72e95277795257ccf6ec938a9b057006a5299f15d05026ce02d16d070f69a |
|
MD5 | e4b1ac5516edd66fce6d99b9ce471041 |
|
BLAKE2b-256 | fd61986c49e5b12521907310a5e77ef87ca336ecac207266750982076c598a97 |
File details
Details for the file model_metrics-0.0.3a0-py3-none-any.whl
.
File metadata
- Download URL: model_metrics-0.0.3a0-py3-none-any.whl
- Upload date:
- Size: 34.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50b153764fb398cb881078a44caae47b12995b0f2e8cefe0d4f73d184d3a28fa |
|
MD5 | 7665c6926d8fb8bb4182b39374cf5873 |
|
BLAKE2b-256 | 58a3df33e236a9a41c4a2aca46a60d0418ba201212c6521f0850435e829cd585 |