This commit is contained in:
Dominik Strzako 2021-05-23 22:07:14 +02:00
parent a85763c7cc
commit ca2841a2e4

View File

@ -1,7 +1,9 @@
import mlflow
import pandas as pd
import sys
import json
model = mlflow.keras.load_model("movies_on_streaming_platforms_model")
data = pd.read_json('movies_on_streaming_platforms_model/input_example.json', orient='index')
with open('movies_on_streaming_platforms_model/input_example.json') as json_file:
data = json.load(json_file)
print(data)
print(model.predict(data))