Add model registry
Some checks failed
s430705-training/pipeline/head There was a failure building this commit
Some checks failed
s430705-training/pipeline/head There was a failure building this commit
This commit is contained in:
parent
d5d573f198
commit
a1300fe809
@ -82,7 +82,7 @@ with mlflow.start_run():
|
|||||||
mlflow.log_metric("RMSE", rmse)
|
mlflow.log_metric("RMSE", rmse)
|
||||||
|
|
||||||
signature = mlflow.models.signature.infer_signature(X_train.values, model.predict(X_train.values))
|
signature = mlflow.models.signature.infer_signature(X_train.values, model.predict(X_train.values))
|
||||||
mlflow.keras.save_model(model, "movies_imdb", input_example=input_example, signature=signature)
|
# mlflow.keras.save_model(model, "movies_imdb", input_example=input_example, signature=signature)
|
||||||
|
|
||||||
tracking_url_type_store = urlparse(mlflow.get_tracking_uri()).scheme
|
tracking_url_type_store = urlparse(mlflow.get_tracking_uri()).scheme
|
||||||
if tracking_url_type_store != "file":
|
if tracking_url_type_store != "file":
|
||||||
|
Loading…
Reference in New Issue
Block a user