Gamma Regressor - Some value(s) of y are out of the valid range of the loss 'HalfGammaLoss' I am trying to use GammaRegressor to predict the customer revenue in the next 3 months, 6 months etc.
So, I tried using the GammaRegressor based on suggestions from the posts here.
My Y variable ranges from 0 to 6172000.9368
However, when I passed in my data, I got the below error

GammaRegressor model failed to execute Some value(s) of y are out of
the valid range of the loss 'HalfGammaLoss'.

When I researched online, I came across this github link here which has code snippet in line 227, 228 about value error.
So, not sure what is causing this issue?

Zero is not a valid value for a gamma distribution. The PDF has the gamma function in the denominator of a fraction. However:
$$
\underset{x\rightarrow 0^+}{\lim}\Gamma(x)=\infty
$$
This error message is alerting you to the fact that you have a value that cannot occur according to the assumed distribution.
