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.3.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.3.0.tar.gz | 18.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mtrick-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.9 kB
Release files / mtrick-0.3.0.tar.gz
| Download URL | mtrick-0.3.0.tar.gz |
|---|---|
| Size | 18.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6df6a73de8bc1ee247efd8ea2ae8605c4c0eebf4ffe3276527f34ab1b78724a0
|
|
BLAKE2b-256 checksum How to use checksums |
681e4a84118e3e45c224abe12c270fd9b2ca84d04a642cc7ff4e7dd614ff6e06
|
| 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.3.0-py3-none-any.whl
| Download URL | mtrick-0.3.0-py3-none-any.whl |
|---|---|
| Size | 19.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2f593273fa64ff8bc65e32d795797c80128924dc48b0eff98846950b3c7aeb79
|
|
BLAKE2b-256 checksum How to use checksums |
235295aaf7e085bcb980179abf0d845607168a98d82475aa4cc2331cc4599b4d
|
| 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}
|