Zaktualizuj 'train-mlflow.py'

This commit is contained in:
Kornelia Girejko 2022-05-15 22:36:48 +02:00
parent c8ba513751
commit ec62845b72

View File

@ -106,8 +106,8 @@ def my_main(epochs):
input_example = pd.DataFrame(X_testing[0])
siganture = mlflow.models.signature.infer_signature(pd.DataFrame(X_training), pd.DataFrame(y_predicted_train))
input_example = X_testing[0]
siganture = mlflow.models.signature.infer_signature(X_training, y_predicted_train)
tracking_url_type_store = urlparse(mlflow.get_tracking_uri()).scheme
if tracking_url_type_store != "file":