I have a score of some feature, $F_1$ and $F_2$ where this score is the logarithm of probability.
This score is very low and very sparse, for example i have:
$F_1$ with score $-800$
$F_2$ with score $-3000$
I need to get the probability with the exponential function and make the sum of probability like this:
$e^{-800} + e^{-3000}$
But if I make the exponential of this number i get 0 for the underflow problem. With log-sum-exp trick i can do:
$\log(e^{-800}+e^{-3000})$
$= \log(e^{-800+800}+e^{-3000+800})-800$
$= \log(e^{0}+e^{-2200})-800$
But now i have $e^{-2200}$ that is too small.
What's wrong? how I can make my $e^{-800} + e^{-3000}$ sum ?