Consume a deployed model within a webapp
Hi, everyone
Is it possible to send, for example, to a classification model (a model already created in Dataiku, not customized) a row to predict it within a Dataiku webapp? Imagine that I have I frontend where the user can see the fields to write variables values and he can send it to the model to predict a class.
And in the another hand, if I want to use a customized model, do I have to serialized it into a Dataiku folder first?
Thank you very much!!
Operating system used: Centos
Answers
-
Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,226 Dataiker
Hi @rafael_rosado97
,
One approach here would be to deploy your model to Prediction endpoint and use that prediction endpoint within your webapp via REST API instead of trying to use the model directly.
https://knowledge.dataiku.com/latest/mlops-o16n/real-time-apis/tutorial-create-api-endpoint-test-queries.html
Hope that helps!