Created
July 14, 2020 19:46
-
-
Save awaiskaleem/b380468bddd67deb4ac81ba77deceb7b 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
def load_model(run_id, model_name): | |
model = mlflow.get_run(run_id).info.artifact_uri+"/model_name/sparkml" | |
return PipelineModel.load(model) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment