Add model prediction
Some checks failed
s434704-predict-s426206/pipeline/head There was a failure building this commit
Some checks failed
s434704-predict-s426206/pipeline/head There was a failure building this commit
This commit is contained in:
parent
b42e4c773c
commit
fa55fe7670
@ -15,4 +15,4 @@ with open(f'my_model/{input}', 'r') as file:
|
||||
json_data = json.load(file)['inputs']
|
||||
|
||||
data_into_dict = {idx:x for idx, x in enumerate(json_data)}
|
||||
print(model.predict(pd.DataFrame([data_into_dict])))
|
||||
print(model(pd.DataFrame([data_into_dict])))
|
Loading…
Reference in New Issue
Block a user