Recent posts

The incremental log-sum-exp trick

less than 1 minute read

Often in machine learning it is necessary to compute the following quantity. We have a -dimensional vector —usually log-probabilities— and we want to calcula...