How to save Prophet models in Dataiku and use them across projects

vaishnavi
Level 3
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 ?

0 Kudos
3 Replies
JordanB
Dataiker

Hi @vaishnavi,

You can convert the recipe to a plugin, which turns code recipes into reusable visual recipes. 

Screen Shot 2022-09-26 at 2.48.05 PM.png

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

 

0 Kudos
JordanB
Dataiker

@vaishnavi,

Apologies, I failed to mention that you can also add your model to a visual analysis:

Screen Shot 2022-09-26 at 3.07.58 PM.png

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

0 Kudos
vaishnavi
Level 3
Author

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.

 

Dataiku_QTSM.JPG

0 Kudos