This commit is contained in:
s444501 2022-05-13 03:11:07 +02:00
parent 85fd473d61
commit ff05e16b84

View File

@ -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))