We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c0711f commit 249f255Copy full SHA for 249f255
train.py
@@ -44,6 +44,7 @@ def eval_metrics(actual, pred):
44
alpha = float(sys.argv[1]) if len(sys.argv) > 1 else 0.5
45
l1_ratio = float(sys.argv[2]) if len(sys.argv) > 2 else 0.5
46
47
+ mlflow.set_experiment("/wine-quality-experiment")
48
with mlflow.start_run():
49
lr = ElasticNet(alpha=alpha, l1_ratio=l1_ratio, random_state=42)
50
lr.fit(train_x, train_y)
0 commit comments