From ff05e16b84d3e999c7d63ea1e67d1ffdb3856a19 Mon Sep 17 00:00:00 2001 From: s444501 Date: Fri, 13 May 2022 03:11:07 +0200 Subject: [PATCH] mlflow --- s444356.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/s444356.py b/s444356.py index 8b925c0..c4f7611 100644 --- a/s444356.py +++ b/s444356.py @@ -7,5 +7,5 @@ model = mlflow.pyfunc.load_model('mlruns/1/4b83e774512444188fb587288818c298/arti with open('input_example.json') as file: data = json.load(file) input_example = np.array([data['inputs']]).reshape(-1, 2) - print('Input: ', input_example) - print('Predictions: ', model.predict(input_example)) + print('Input:\n', input_example) + print('Predictions:\n', model.predict(input_example))