Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Hi,
Using the Dataiku API, you can retrieve the model and use it inside a python recipe.
Something like this will work:
import dataiku
m = dataiku.Model(my_model_id)
my_predictor = m.get_predictor()
The predictor is a DSS object that allows you to apply the same pipeline as the visual model (preprocessing + scoring). If you want to retrieve the scikit-learn model itself, just add one more line:
my_clf = my_predictor.clf
You can find more information here: https://doc.dataiku.com/dss/latest/api/python/saved_models.html
Cheers,
Du