mtrick: Metrics Tracker
A local simple ML experiment tracker with zero configurations required.
Installation
uv add mtrick
or
pip install mtrick
If you want the latest version
uv add git+https://github.com/AvikArefin/mtrick.git
or
pip install git+https://github.com/AvikArefin/mtrick.git
Usage
Code:
from mtrick import Tracker
t = Tracker("exp")
t.log({"loss": 0.1}, epoch=1)
Group with /:
t.log({"loss/train": 0.1, "loss/val": 0.2}, epoch=1)
Confusion Matrix:
t.log_confusion_matrix([[9, 1], [2, 8]], ["Cat", "Dog"])
Real vs Pred:
t.log_trajectory([[1.0, 2.0]], [[1.1, 1.9]])
UI:
uv run mtrick
Changelog
Metadata
Release files for mtrick 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 | |
|---|---|---|---|
| mtrick-0.5.0.tar.gz | 24.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mtrick-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 50.2 kB
Release files / mtrick-0.5.0.tar.gz
| Download URL | mtrick-0.5.0.tar.gz |
|---|---|
| Size | 24.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aceb0973f420d5fcd71dba7a4e26696193b19d7e3259e6e01348930b6a4689dc
|
|
BLAKE2b-256 checksum How to use checksums |
5f0b6a72e4ddbdc741c792627ff8f0fd027251c8a1ee52e48d2fe19b93214f60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / mtrick-0.5.0-py3-none-any.whl
| Download URL | mtrick-0.5.0-py3-none-any.whl |
|---|---|
| Size | 26.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7dd3acc17bf1b5946b9d5f135ff5bdfc60087ea721ef72e7fea66aba9f1b6461
|
|
BLAKE2b-256 checksum How to use checksums |
0ac777bc905dc32dafe323d060bbedcebef3a7e46826a01fdbf45ebea0ea1425
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|