https://github.com/augustunderground/mlflow-hs
Log to MLFlow Tracking server from Haskell
https://github.com/augustunderground/mlflow-hs
haskell mlflow
Last synced: 9 days ago
JSON representation
Log to MLFlow Tracking server from Haskell
- Host: GitHub
- URL: https://github.com/augustunderground/mlflow-hs
- Owner: AugustUnderground
- License: bsd-3-clause
- Created: 2022-03-28T15:47:39.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-29T10:06:09.000Z (about 4 years ago)
- Last Synced: 2025-09-09T12:53:56.797Z (9 months ago)
- Topics: haskell, mlflow
- Language: Haskell
- Homepage: https://augustunderground.github.io/mlflow-hs/
- Size: 78.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
Awesome Lists containing this project
README
# mlflow-hs
Rudimentary and mostly incomplete bindings for logging to an
[mlflow](https://www.mlflow.org) tracking server from Haskell.
## Basic Usage
Launch tracking server:
```bash
$ mlflow server -h 0.0.0.0 -p 5000
```
Import the `MLFlow` module:
```haskell
import MLFlow
```
Set Tracking URI:
```haskell
uri = trackingURI' "localhost" 5000
```
Create Experiment:
```haskell
experimentId <- createExperiment uri "experiment_name"
```
Create Run:
```haskell
runId' <- runId . runInfo <$> createRun baseUrl experimentId []
```
Log Metric:
```haskell
res <- logMetric uri runId' "some_metric" 6.66 0
```