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.8or higher.
Additionally, model_metrics depends on the following packages, which will be automatically installed when you install model_metrics:
matplotlib: version3.5.3or higher, but capped below3.11numpy: version1.21.6or higher, but capped below2.2pandas: version1.3.5or higher, but capped below2.3plotly: version5.18.0or higher, but capped below5.25scikit-learn: version1.0.2or higherscipy: version1.7.3or higherstatsmodels: version0.13or higher, but capped below0.15shap: version0.41.0or higher, but capped below0.52tqdm: version4.66.4or higher
💾 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_docs
🌐 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.5a9},
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file model_metrics-0.0.5a9.tar.gz.
File metadata
- Download URL: model_metrics-0.0.5a9.tar.gz
- Upload date:
- Size: 59.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c31f24c80b78f707921993b1e517f099ead67c32df86fbba1905d62a0c263389
|
|
| MD5 |
4481145395cd74ecaf992acf161fc730
|
|
| BLAKE2b-256 |
0481969ff4afb0421f7943dbdabfdc37c695a5b97105b95d3c0f1b38971a25c1
|
File details
Details for the file model_metrics-0.0.5a9-py3-none-any.whl.
File metadata
- Download URL: model_metrics-0.0.5a9-py3-none-any.whl
- Upload date:
- Size: 58.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
446be1601fb5e707bf4a59a88317ca36adae3543ba7e4dc6a74a1e8e724a589a
|
|
| MD5 |
934c2a778c9372133fa2950371644280
|
|
| BLAKE2b-256 |
22766f987ddd04ae4c6964211129ad7a52c76daab3338f26b59cc0f09f1b3a8f
|