Open shawn-padstats opened 5 months ago
Hey. I got the same error. Have you solved it? Do you get this error even after scaling your data or you don't scale?
Hey. I got the same error. Have you solved it? Do you get this error even after scaling your data or you don't scale?
I have not been able to figure it out. I just skip the trial if I reach that error.
I am not scaling features so that could possibly be a reason, but I didn't think scaling was necessary for this model type.
I have the same error as well....
All features are scaled and I am tuning my model with BayesGridSearchCV. Distribution assumed to be Normal and score is set to CRPScore. Try to tune learning rate, n_estimators and max depth of the DecisionTrees but I get these warnings.
The only way that I don't get these errors is if I put validation set in fit method and put early_stopping_rounds but this is not supposed to be the solution right ?
I am optimizing hyperparameters using optuna and getting this error:
C:\Users\shawn\anaconda3\lib\site-packages\ngboost\distns\normal.py:70: RuntimeWarning: overflow encountered in exp self.scale = np.exp(params[1]) C:\Users\shawn\anaconda3\lib\site-packages\ngboost\distns\normal.py:71: RuntimeWarning: overflow encountered in square self.var = self.scale**2
Here is my hyperparameter objective function:
def _ngb_objective(self, trial):
NGBoost-specific parameters