redmod-team / profit

Probabilistic Response mOdel Fitting with Interactive Tools
https://profit.readthedocs.io
MIT License
14 stars 10 forks source link

GPy fit with constants fails due to wrong shape #169

Closed Rykath closed 2 years ago

Rykath commented 2 years ago

When using the UI to display a fit with (excluded) constants the error: ValueError: Xpred should have shape (n, 3) but has shape (50, 1) is thrown.

It appears the GPy surrogate sets ndim incorrectly when loading the model from a file.