ium_434695/predict434788.py
2021-05-23 23:02:17 +02:00

7 lines
173 B
Python

import mlflow
import pandas as pd
model = mlflow.keras.load_model("my_model")
data = pd.read_json('my_model/input_example.json', orient='split')
print(model.predict(data))