Coming soon: We’re working on a brand new, revamped Community experience. Want to receive updates? Sign up now!

0 votes
I trained an sklearn model outside of Dataiku and now want to use the model to make predictions in Dataiku. How would I upload my model.joblib or model.pkl file to Dataiku? I don't know if I should try to upload it as a dataset (this didn't really work for me) or if there is a way to upload a model object.


I would want to simply do something like the following within a python recipe in Dataiku:

##import model.joblib - how to get this into Dataiku?




1 Answer

0 votes


So the proper way to do it is to create a Folder in your flow, and then upload your pickle file inside it. You can then, with the dataiku api, access the content of such folder and do joblib.load()

You can find in this link an example of such workflow: 

Concretely, what you should look closely is this python recipe that does exactly what you are looking for:


Du Phan

1,339 questions
1,365 answers
11,916 users

©Dataiku 2012-2018 - Privacy Policy