lee-group-cmu / RFCDE

Random Forests for Conditional Density Estimation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Saving an RFCDE model in Python

kpelechrinis opened this issue · comments

I have tried to save a trained model using pickle or joblib but I am getting an error:

File "stringsource", line 2, in rfcde.ForestWrapper.ForestWrapper.reduce_cython
TypeError: no default reduce due to non-trivial cinit

Any idea/suggestions how I can save a pre-trained model so I do not have to train it every time?

I have the save issue here. I am willing to suggestions or ideas too. Thank you!