???
This commit is contained in:
parent
a85763c7cc
commit
ca2841a2e4
@ -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))
|
Loading…
Reference in New Issue
Block a user