How to save Prophet models in Dataiku and use them across projects
I want to use the Prophet model for timeseries forecasting in Dataiku. As we do not have Prophet model in the dataiku's list of models, If I use it in the python code recipe and create a model, how to access that model in other projects ?
Answers
-
JordanB Dataiker, Dataiku DSS Core Designer, Dataiku DSS Adv Designer, Registered Posts: 295 Dataiker
Hi @vaishnavi
,You can convert the recipe to a plugin, which turns code recipes into reusable visual recipes.
Alternatively, you can serialize the model to json, save it locally, and then load the model within another project. Please see the following link for code examples from Prophet docs: https://facebook.github.io/prophet/docs/additional_topics.html
If you have any questions, please let us know.
Thanks!
Jordan
-
JordanB Dataiker, Dataiku DSS Core Designer, Dataiku DSS Adv Designer, Registered Posts: 295 Dataiker
Apologies, I failed to mention that you can also add your model to a visual analysis:
I would also recommend looking into the Model Evaluation framework: https://doc.dataiku.com/dss/latest/mlops/model-evaluations/external-models.html
If you have any questions, please let us know!
Thanks : )
Jordan
-
Hi @JordanB
The second solution which you had mentioned might not work in case of time series models as we do not have the option of "Custom Python Model" there as shown in the below attached screenshot.