Skip to main content
added 326 characters in body
Source Link
Lerner Zhang
  • 6.9k
  • 2
  • 44
  • 81

I think we can see the logistic regression from the perspective of Boltzmann distribution in physics/Gibbs distribution(also refer to this thread) or the log linear model in statistics.

We can treat the matrix(just view it from the softmax perspective), as the potentials between each visible feature variable and each hidden variable(the y's, if it is logistic regression there are two y's).

enter image description here

The $\theta^{(i)}$ is just the sum of the ith y and its potentials between all features, and the $e$ makes it the product.

And we can see that it can date back to 1868:

The Boltzmann distribution is named after Ludwig Boltzmann who first formulated it in 1868 during his studies of the statistical mechanics of gases in thermal equilibrium.

I think we can see the logistic regression from the perspective of Boltzmann distribution/Gibbs distribution(also refer to this thread).

We can treat the matrix(just view it from the softmax perspective), as the potentials between each visible feature variable and each hidden variable(the y's, if it is logistic regression there are two y's).

enter image description here

The $\theta^{(i)}$ is just the sum of the ith y and its potentials between all features, and the $e$ makes it the product.

I think we can see the logistic regression from the perspective of Boltzmann distribution in physics/Gibbs distribution(also refer to this thread) or the log linear model in statistics.

We can treat the matrix(just view it from the softmax perspective), as the potentials between each visible feature variable and each hidden variable(the y's, if it is logistic regression there are two y's).

enter image description here

The $\theta^{(i)}$ is just the sum of the ith y and its potentials between all features, and the $e$ makes it the product.

And we can see that it can date back to 1868:

The Boltzmann distribution is named after Ludwig Boltzmann who first formulated it in 1868 during his studies of the statistical mechanics of gases in thermal equilibrium.

Source Link
Lerner Zhang
  • 6.9k
  • 2
  • 44
  • 81

I think we can see the logistic regression from the perspective of Boltzmann distribution/Gibbs distribution(also refer to this thread).

We can treat the matrix(just view it from the softmax perspective), as the potentials between each visible feature variable and each hidden variable(the y's, if it is logistic regression there are two y's).

enter image description here

The $\theta^{(i)}$ is just the sum of the ith y and its potentials between all features, and the $e$ makes it the product.