Created
October 23, 2018 21:34
-
-
Save afranzi/7a9ab4f1d6b8427171ce4176a071e717 to your computer and use it in GitHub Desktop.
Log model by using the MLflow Tracking Server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with mlflow.start_run(): | |
... model ... | |
mlflow.log_param("source", wine_path) | |
mlflow.log_param("alpha", alpha) | |
mlflow.log_param("l1_ratio", l1_ratio) | |
mlflow.log_metric("rmse", rmse) | |
mlflow.log_metric("r2", r2) | |
mlflow.log_metric("mae", mae) | |
mlflow.set_tag('domain', 'wine') | |
mlflow.set_tag('predict', 'quality') | |
mlflow.sklearn.log_model(lr, "model") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment