A local-first, simple ML experiment tracker
Project description
mtrick: Metrics Tracker
A local-first 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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mtrick-0.1.1.tar.gz
(12.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
mtrick-0.1.1-py3-none-any.whl
(14.6 kB
view details)
File details
Details for the file mtrick-0.1.1.tar.gz.
File metadata
- Download URL: mtrick-0.1.1.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
777abc26c5f697e233574d16c1898c672894254bd1931735e26220045ce6134a
|
|
| MD5 |
b55309f71eff7acd87b83e7d014126b2
|
|
| BLAKE2b-256 |
92fbbe397677c2afff4f68541d80fdace325edabe89a7f71e4bb7a92ac8258cd
|
File details
Details for the file mtrick-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mtrick-0.1.1-py3-none-any.whl
- Upload date:
- Size: 14.6 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
caaab8696a9e3a39c5fdd0839043886a3149a210d22c702476cf0af9a27c001b
|
|
| MD5 |
f2f40fabf905d931c5d77854828ce187
|
|
| BLAKE2b-256 |
608feee631dfcbc5e1238d56fd2019ad919d49b08d59ad94d51c0a6ab2025a75
|