Survey banner
The Dataiku Community is moving to a new home! Some short term disruption starting next week: LEARN MORE

Get the size (bytes) of a Model

Level 2
Get the size (bytes) of a Model


I'm training a model and i'm wondering what is its total size (on disk in bytes).
Where can i find the information please ?
I'm asking this because i work on a remote instance of DSS, so i don't have access to the local files.

Also is there a way to export just a version of  a model trained instead of the whole project ?

Thank you

0 Kudos
1 Reply

Hi @benarl ,

The most accurate way to get the size of a trained model is to get the size of the saved model version file ("clf.pkl") on disk in the DSS data directory (i.e. "./saved_models/PROJECT_KEY/MODEL_ID/versions/VERSION_ID"). You could export a scoring jar/pmml of the trained model, provided that you have the license to do so, as described in the below documentation article.

0 Kudos