Display predictions after callking a model on new data.

Options
saraa1
saraa1 Registered Posts: 13 ✭✭✭

Hello Dataikuers,

I'm trying to call a model that was deployed on my flow,

to do so, I created a notebook where I generated new data and made a call to the model a follows :

#df: is a dataframe that i created, which I would like to test the model in,m = dataiku.Model("My_model_ID") # Provide model namemy_predictor = m.get_predictor()xi = my_predictor.preprocess(df)[0]pd.DataFrame(xi).describe()

But, I do not know, with the little knowledge I have on dataiku.model calling, how to run this model on the new data (df) that I created and see the result of the prediction,

May someone provide with some help, please?

Thank you very much !

Answers

Setup Info
    Tags
      Help me…