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.4.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.4.0.tar.gz | 18.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mtrick-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 38.4 kB
Release files / mtrick-0.4.0.tar.gz
| Download URL | mtrick-0.4.0.tar.gz |
|---|---|
| Size | 18.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
91c33f8111853a1bdd1e16ae0f443f4077a5978806e93c58d223aecc43cc4337
|
|
BLAKE2b-256 checksum How to use checksums |
953e5b6e7ed08bb725588c88f7da10c50b0c65e66cc9eda493ccb46fee755769
|
| 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.4.0-py3-none-any.whl
| Download URL | mtrick-0.4.0-py3-none-any.whl |
|---|---|
| Size | 20.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0357e487adae4ebb3bab3b8a608059fa7d434f36e1214d603af5370d22c42501
|
|
BLAKE2b-256 checksum How to use checksums |
f113789f49bfc1365bd68b289a122dc1660e5b845443629f1007636792813864
|
| 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}
|