Get the size (bytes) of a Model
benarl
Dataiku DSS Core Designer, Registered Posts: 5 ✭✭✭
Hello,
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
Answers
-
dgraham Dataiker, Dataiku DSS Core Designer, Dataiku DSS Adv Designer, Registered Posts: 16 Dataiker
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.