# Questions tagged [logsumexp]

The tag has no usage guidance.

7 questions
Filter by
Sorted by
Tagged with
33 views

### What are the "tricks" in machine learning? [closed]

I have come across a few different "tricks" in machine learning methodology, which I list below along with my rudimental understandings. The Kernel Trick: This is used in Support Vector ...
• 409
80 views

### How to do log subtract (just like logsumexp) with probabilities? [closed]

To subtract a small probability from another, this answer has constraint on log probabilities l1 > l2: Subtracting very small probabilities - How to compute? but I need a function that works for ...
• 201
129 views

### Dummy variables in regression with log-transformed continous variables

I have a question dealing with logarithmic variables, log-sum and dummy variables in a multiple regression. First of all I’ve never worked with log-sums before. I have a model with y that is log-...
• 31
185 views

### parallelizing log-sum-exp

I have some approximate likelihoods: $L_1, \ldots, L_n$. Each is quite expensive to calculate. They're approximate because they use random numbers. Each of them is being calculated on the same data ...
• 21.2k
1k views

### log(1 - softmax(X))? [closed]

Let $\vec X$ be a vector. The $\vec V = \mathrm{logsoftmax}(\vec{X})$ function is defined as: $$v_i = \ln\left(\frac{e^{x_i}}{\sum_i e^{x_i}}\right)$$ This is provided in machine learning numerical ...
• 4,450
1k views

### Vectorised computation of logsumexp

In this related post there is an explanation of how you can add together two very small probabilities using the logsumexp function, and how this can be programmed into base ...
• 129k