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

8 lines
174 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='index')
print(model.predict(data))