2
$\begingroup$

The first neural net I wrote was a classifier. After that, I learned that neural nets can be used for regression tasks, even quantile regression.

It has become clear to me that the usual games with extensions of OLS linear regression can be applied to neural networks.

What work has been done with Poisson-style regression via neural networks with log link functions (exponential activation function)?

$\endgroup$

1 Answer 1

0
$\begingroup$

A simple neural network (no hidden layer) with linear activation and MSE (mean squared error) as loss in the same as running a linear regression (OLS) and optimizing with gradient descent. So implementing a Poission style regression would be just changing the loss function from MSE to logit link i.e.

enter image description here

where y is the target and y hat is the prediction

$\endgroup$
2
  • $\begingroup$ Logit link isn’t the link function used for a Poisson GLM. It’s just a log link, since we need the mean of the Poisson distribution to be positive. $\endgroup$
    – David
    Oct 6 at 8:03
  • $\begingroup$ Welcome to the AI Stack! Yes, all of the theory works out: just use the Poisson loss and exponential activation (same as logarithmic link function). However, what work has been done with this? For instance, have there been any empirical success stories the way classification has found great success on the MNIST digits? Any catastrophes? $\endgroup$
    – Dave
    Oct 6 at 10:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .