mlflow
This commit is contained in:
parent
3616658fb6
commit
c13f5462f9
@ -7,6 +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'][0]]).reshape(-1, 2)
|
||||
print('Predictions:')
|
||||
for pred in model.predict(input_example):
|
||||
print(pred)
|
||||
print('Input: ', input_example)
|
||||
print('Predictions: ', model.predict(input_example))
|
||||
|
Loading…
Reference in New Issue
Block a user