metrixify 🚀 A lightweight library for automatic model evaluation
📌 Overview metrixify is an easy-to-use Python library that automatically evaluates machine learning models. It supports both classification and regression models and returns evaluation metrics in a dictionary format.
📥 Installation You can install metrixify directly from PyPI:
pip install metrixify
🛠 Usage 1️⃣ Import the Library
""" from metrixify import evaluate_model """
2️⃣ Classification Model Evaluation
""" from metrixify import evaluate_model
actual_vals = [0, 1, 1, 0, 1] predicted_vals = [0, 1, 0, 0, 1]
metrics = evaluate_model("classification", actual_vals, predicted_vals) print(metrics) """
✅ Output:
"""{ 'accuracy': 0.8, 'precision': 0.75, 'recall': 0.8, 'f1_score': 0.76, 'roc_auc': 'Error: Need probability estimates', 'log_loss': 'Error: Need probability estimates' }"""
3️⃣ Regression Model Evaluation """ actual_vals = [3.2, 4.5, 6.1, 7.8, 9.0] predicted_vals = [3.0, 4.8, 5.9, 7.5, 9.2]
metrics = evaluate_model("regression", actual_vals, predicted_vals) print(metrics) """"
✅ Output: """ { 'mae': 0.18, 'mse': 0.036, 'rmse': 0.19, 'r2_score': 0.97, 'adjusted_r2': 0.95, 'mape': 2.5 } """
🛠 Contributing Contributions are welcome! If you find bugs or want to improve metrixify, feel free to fork the repository and submit a pull request.
📜 License This project is licensed under the MIT License.
🌟 Support If you like this project, please give it a ⭐ on GitHub!
Metadata
Release files for metrixify 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| metrixify-0.5.0.tar.gz | 4.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| metrixify-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.0 kB
Release files / metrixify-0.5.0.tar.gz
| Download URL | metrixify-0.5.0.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2f2832d57b308a16476e815ef5b01a6207da48a517c2a4872fabbbbe1ef04c68
|
|
BLAKE2b-256 checksum How to use checksums |
72826b6221ffd50a6df8280f31600743d8f8c33708f28221a4ad6149588e9eb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Release files / metrixify-0.5.0-py3-none-any.whl
| Download URL | metrixify-0.5.0-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
be155bd8225595fffdfc1ab9f25f085fd0263ccef2adac7c2662dbef35f90628
|
|
BLAKE2b-256 checksum How to use checksums |
54b51c8f708eb30c283f579638c4d02dd2e2aa53c630e4de8090e43e38316880
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Security for metrixify 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.