Skip to content

Commit 249f255

Browse files
committed
Add experiment name
1 parent 3c0711f commit 249f255

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

train.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ def eval_metrics(actual, pred):
4444
alpha = float(sys.argv[1]) if len(sys.argv) > 1 else 0.5
4545
l1_ratio = float(sys.argv[2]) if len(sys.argv) > 2 else 0.5
4646

47+
mlflow.set_experiment("/wine-quality-experiment")
4748
with mlflow.start_run():
4849
lr = ElasticNet(alpha=alpha, l1_ratio=l1_ratio, random_state=42)
4950
lr.fit(train_x, train_y)

0 commit comments

Comments
 (0)