geepee icon indicating copy to clipboard operation
geepee copied to clipboard

save/load models

Open thangbui opened this issue 8 years ago • 1 comments

Is saving/loading just the hyperparameters/parameters by calling get_hypers()/update_hypers() enough?

also create an example for doing so

thangbui avatar Mar 26 '17 21:03 thangbui

Hi,

I tried the save/load function. On loading my model is showing very high variance in the DGP predictions. I used aep.SDGPR function to train my model and saved it in pickle format.

On loading the model in a different file, I am using the following commands

model = aep.SDGPR(X, y_train_normalized, M,hidden_size, lik='Gaussian') model.load_model(fname = 'GeePeeModel/GBE-DGPModelHS1.pickle')

The above command results in a model with high GP variance.

Gurjot

g7dhaliwal avatar Dec 15 '17 18:12 g7dhaliwal