mlflow
This commit is contained in:
parent
85fd473d61
commit
ff05e16b84
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user