fabsig / GPBoost

Combining tree-boosting with Gaussian process and mixed effects models
Other
575 stars 46 forks source link

Error in predict() (python package v0.8.0) #80

Closed kkorvasova closed 1 year ago

kkorvasova commented 1 year ago

Hello!

Running the function predict

pred = gp_model.predict(Xpred= [np array]_ , group_datapred= [np array]_ , predict_response=True)

ends with the following error in 0.8.0 (in 0.7.7 it works)

gpboost/basic.py(221) c_str() 220 """Convert a Python string to C string.""" --> 221 return ctypes.c_char_p(string.encode('utf-8')) 222

Thanks for the very useful package and clear description! Best, Karolina

fabsig commented 1 year ago

Thanks a lot for using GPBoost and for reporting this bug!

I have released a new version (0.8.0.1) which fixes this bug.