# Use distribution probability as a feature in ML model

I built an LSMT model to predict sick cows. I also have risk factors like cow size and height (static risk factor) that I want to combine into the ML model. I found that size is geometrically distributed. My question is how I insert it as a feature to the model? I know that $$P(x=K)= p*q^(k-1)$$ but I don't know how to combine it as a feature. Thank you.

• Are you sure you want to insert a theoretical distribution instead of the measured value for each cow? – Dave Apr 20 at 11:43

• I just not understand how to calcalute it. for example if it is geometric so for cow at size 50 the formula is $P(x=K)= p*q^(k-1)$ , how I can get P? – Mor Apr 21 at 10:46