mlflow attempt task 2 prediction

This commit is contained in:
Kamila 2022-05-15 13:00:29 +02:00
parent 4380b0c24b
commit 3486dc39ff
1 changed files with 1 additions and 1 deletions

View File

@ -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([float(json_data['inputs'])]))}")
print(f"Prediction: {model.predict(np.array([json_data['inputs']]))}")