nan
/ -inf
from computing hinge features across uniform covariate values
#79
Labels
bug
Something isn't working
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)
The text was updated successfully, but these errors were encountered: