Created
November 5, 2020 15:32
-
-
Save Ben-Epstein/6fafa85e363aeb952ba19ce46384c6ee to your computer and use it in GitHub Desktop.
This file contains 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
mlflow.log_pipeline_stages(model) | |
mlflow.log_feature_transformations(model) | |
mlflow.log_param('maxDepth', model.stages[-1].getOrDefault('maxDepth')) | |
mlflow.log_param('maxBins', model.stages[-1].getOrDefault('maxBins')) | |
mlflow.log_model(model, 'spark_dt') # Important! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment