Metadata-Version: 2.1
Name: traildb
Version: 0.0.21
Summary: trail demo library
Home-page: https://www.trail-ml.com
Author: NP
Author-email: nikolaus@trail-ml.com
License: MIT
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: pymongo
Requires-Dist: mlflow

# Trail

Trail brings more transparency in your ml experimentation.
Start by using mlflow to track experiments and follow the steps below.

# Installation

Install Trail from Pypi via ```python pip install traildb```

# Get started
```python from traildb import trail_init```

# Initialize a trail object

add this line of code in the beginning of the trainingscript.

```python trail = trail_init(username, password)```

The input paramter "username" and "password" will be provided by the trail-team.


# log experiment

Call the log_experiment() method after the mlflow run (not within the run) <br />

<br />

```python
with mlflow.start_run() as run: <br />
    with trail_init(email, password, project_id, parent):
      ...your training code... <br />
```

The input paramters parent_id [String] and data_meta [dict] must be provided in the according type.
If they are non existing please provide empty String ("") or dict ({})
