Metadata-Version: 2.1
Name: demetric
Version: 0.1.2
Summary: Simple and composable metric tracking and logging for ML
Author-email: Marcel Claramunt <marcel@moveread.com>
Project-URL: repo, https://github.com/moveread/REPO.git
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: pandas

# Demetric

> Simple and composable metric tracking and logging for ML

```python
import demetric as dm

exp = dm.Experiment(id='gpt2-3', base_path='runs', meta={
  'model': 'gpt2',
  'batch_size': 128
})

exp.log('loss', value=loss, step=step)
exp.log('accuracy', value=acc, step=step)


fig, ax = exp.plot('loss')
fig2, ax2 = exp.plot_summary()
```


Creates:

```
runs/
  gpt2-3/
    meta.json
    metrics/
      loss.csv
      accuracy.csv
```
