Skip to content

Instantly share code, notes, and snippets.

Last active Sep 1, 2019
What would you like to do?
with mlflow.start_run():, train["label"])
# compute the testing accuracy
prediction = LogReg_pipeline.predict(X_test)
accuracy = accuracy_score(test["label"], prediction)
mlflow.log_metric("model_accuracy", accuracy)
mlflow.sklearn.log_model(LogReg_pipeline, "LogisticRegressionPipeline")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment