mlflow attempt task 2 prediction
This commit is contained in:
parent
484aa77a51
commit
4380b0c24b
@ -15,4 +15,4 @@ with open(f'{PATH}{input}', 'r') as file:
|
||||
json_data = json.load(file)
|
||||
|
||||
print(f"Input: {json_data['inputs']}")
|
||||
print(f"Prediction: {model.predict(np.array([json_data['inputs']], dtype=np.float32))}")
|
||||
print(f"Prediction: {model.predict(np.array([float(json_data['inputs'])]))}")
|
Loading…
Reference in New Issue
Block a user