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
Initialize tracker:
from mtrick import Tracker
t = Tracker("exp_name")
Scalar metrics (epoch-based curves):
t.log({"loss/train": 0.1, "loss/val": 0.2, "accuracy": 0.95}, epoch=1)
2D Spatial Points & Trajectories:
t.log_2d(
data={
"data/true": [[1.0, 2.0], [2.0, 3.0]],
"data/pred": [[1.1, 1.9], [2.1, 3.1]],
},
epoch=1
)
Matrices (Confusion Matrix):
t.log_matrix(
matrix=[[9, 1], [2, 8]],
labels=["Cat", "Dog"],
step=1
)
Changelog
Metadata
Release files for mtrick 0.6.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.6.0.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mtrick-0.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.8 kB
Release files / mtrick-0.6.0.tar.gz
| Download URL | mtrick-0.6.0.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e9eb5945e427d964616bddd9024571dbae001a9760ea7083763b6bcfd1fdc269
|
|
BLAKE2b-256 checksum How to use checksums |
3ee13feed0a3e45fce2407d48f60ccfc0aed62e04f0608edc39a5deb42895262
|
| 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.6.0-py3-none-any.whl
| Download URL | mtrick-0.6.0-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
83f4c44cd49c0148a3015d2f28e9c6df8696380096dddfadd3b29338ad603ad7
|
|
BLAKE2b-256 checksum How to use checksums |
fb58fadda9884dce97f94811928c3d356528b11430a6a6e8a2ec1b405317a63c
|
| 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}
|