Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,22 @@
# Example MLflow project


## Run Locally

Clone the project

```bash
git clone https://github.com/mlflow/mlflow-example.git
```

Run the project and track the metrics with mlflow ui

```bash
mlflow ui
```

make sure you are inside the mlflow-example directory
```bash
mlflow run .
```

2 changes: 1 addition & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def eval_metrics(actual, pred):
print(" MAE: %s" % mae)
print(" R2: %s" % r2)

mlflow.log_param("alpha", alpha)
mlflow.log_param("alpha", int(alpha))
mlflow.log_param("l1_ratio", l1_ratio)
mlflow.log_metric("rmse", rmse)
mlflow.log_metric("r2", r2)
Expand Down