elapid icon indicating copy to clipboard operation
elapid copied to clipboard

`nan` / `-inf` from computing hinge features across uniform covariate values

Open earth-chris opened this issue 2 years ago • 0 comments

covariates with all zeros lead to divide-by-zero errors during hinge feature calculations. These should either be handled by dropping those covariates or by using something like np.divide(this, that, where=that > 0)

earth-chris avatar Nov 15 '22 21:11 earth-chris