Skip to main content
Notice removed Authoritative reference needed by ABIM
Bounty Ended with nbro's answer chosen by ABIM
I clarified the post...!!!
Source Link
nbro
  • 41.4k
  • 12
  • 114
  • 205

Is the use of the Can neural networks with a sigmoid as the activation function of the lastoutput layer of a neural network theoretically justifiedapproximate continuous functions?

Neural networks are commonly used for classification tasks, in fact from this post it seems like that's where they shine brightest.

However, when we want to classify using neural networks, we often have the lastoutput layer to take values in $[0,1]$; typically, by taking the last layer to be the sigmoid function $x \mapsto \frac{e^x}{e^x +1}$. Is this theoretically justified

Can neural networks with a sigmoid as the activation function of the output layer approximate continuous functions? (i.e., isIs there an analogue to the universal approximation theorem for this case)? Why can the output of the neural network be in the range $[0,1]$ if it performs classification?

Is the use of the sigmoid as the activation of the last layer of a neural network theoretically justified?

Neural networks are commonly used for classification tasks, in fact from this post it seems like that's where they shine brightest.

However, when we want to classify using neural networks, we often have the last layer to take values in $[0,1]$; typically, by taking the last layer to be the sigmoid function $x \mapsto \frac{e^x}{e^x +1}$. Is this theoretically justified? (i.e., is there an analogue to the universal approximation theorem for this case)? Why can the output of the neural network be in the range $[0,1]$ if it performs classification?

Can neural networks with a sigmoid as the activation function of the output layer approximate continuous functions?

Neural networks are commonly used for classification tasks, in fact from this post it seems like that's where they shine brightest.

However, when we want to classify using neural networks, we often have the output layer to take values in $[0,1]$; typically, by taking the last layer to be the sigmoid function $x \mapsto \frac{e^x}{e^x +1}$.

Can neural networks with a sigmoid as the activation function of the output layer approximate continuous functions? Is there an analogue to the universal approximation theorem for this case?

Notice added Authoritative reference needed by ABIM
Bounty Started worth 200 reputation by ABIM
I tried to clarify what was potentially the original question
Source Link
nbro
  • 41.4k
  • 12
  • 114
  • 205

Neural networks are commonly used for classification tasks, in fact from this post it seems like that's where they shine brightest.

WhenHowever, when we want to classify using NNsneural networks, we just takeoften have the last layer to take values in $[0,1]$; typically, by taking the last layer to be the sigmoid function $x \mapsto \frac{e^x}{e^x +1}$. Is this theoretically justified? (i.e., is there an analogue to the universal approximation theorem for this case)? Why can the output of the neural network be in the range $[0,1]$ if it performs classification?

Neural networks are commonly used for classification tasks, in fact from this post it seems like that's where they shine brightest.

When we want to classify using NNs, we just take the last layer to take values in $[0,1]$; typically, by taking the last layer to be the sigmoid function $x \mapsto \frac{e^x}{e^x +1}$. Is this theoretically justified? (i.e., is there an analogue to the universal approximation theorem for this case)?

Neural networks are commonly used for classification tasks, in fact from this post it seems like that's where they shine brightest.

However, when we want to classify using neural networks, we often have the last layer to take values in $[0,1]$; typically, by taking the last layer to be the sigmoid function $x \mapsto \frac{e^x}{e^x +1}$. Is this theoretically justified? (i.e., is there an analogue to the universal approximation theorem for this case)? Why can the output of the neural network be in the range $[0,1]$ if it performs classification?

Became Hot Network Question
I removed the text from the last edit because it makes things unnecessarily confusing and noisy.
Source Link
nbro
  • 41.4k
  • 12
  • 114
  • 205

Neural networks are commonly used for classification tasks, in fact from this post it seems like that's where they shine brightest.

When we want to classify using NNs, we just take the lastlast layer to take values in [0,1];$[0,1]$; typically, by taking the last layer to be the sigmoid function $x \mapsto \frac{e^x}{e^x +1}$. Is this theoretically justified? (i.e., is there an analogue to the universal approximation theorem for this case)?

Ie.: Neural networks of the form $$ \operatorname{Sigmoid} \circ A \circ \sigma \circ B(x);\qquad x \in \mathbb{R}^n, $$ where $A,B$ are affine maps such that the composition $A\circ B$ is well-defined and such that $\sigma$ is an activation function and sigmoid function are applied component-wise on the vector $B(x)$.

Note: $\operatorname{Sigmoid}$ may be taken to be $\sigma$... as is commonly done.

Neural networks are commonly used for classification tasks, in fact from this post it seems like that's where they shine brightest.

When we want to classify using NNs, we just take the last layer to take values in [0,1]; typically by taking the last layer to be the sigmoid function $x \mapsto \frac{e^x}{e^x +1}$. Is this theoretically justified? (i.e., is there an analogue to the universal approximation theorem for this case)?

Ie.: Neural networks of the form $$ \operatorname{Sigmoid} \circ A \circ \sigma \circ B(x);\qquad x \in \mathbb{R}^n, $$ where $A,B$ are affine maps such that the composition $A\circ B$ is well-defined and such that $\sigma$ is an activation function and sigmoid function are applied component-wise on the vector $B(x)$.

Note: $\operatorname{Sigmoid}$ may be taken to be $\sigma$... as is commonly done.

Neural networks are commonly used for classification tasks, in fact from this post it seems like that's where they shine brightest.

When we want to classify using NNs, we just take the last layer to take values in $[0,1]$; typically, by taking the last layer to be the sigmoid function $x \mapsto \frac{e^x}{e^x +1}$. Is this theoretically justified? (i.e., is there an analogue to the universal approximation theorem for this case)?

added 299 characters in body
Source Link
ABIM
  • 564
  • 1
  • 6
  • 15
Loading
deleted 2 characters in body; edited title
Source Link
nbro
  • 41.4k
  • 12
  • 114
  • 205
Loading
edited title
Link
nbro
  • 41.4k
  • 12
  • 114
  • 205
Loading
added 104 characters in body
Source Link
ABIM
  • 564
  • 1
  • 6
  • 15
Loading
deleted 107 characters in body
Source Link
nbro
  • 41.4k
  • 12
  • 114
  • 205
Loading
added 2 characters in body; edited title
Source Link
nbro
  • 41.4k
  • 12
  • 114
  • 205
Loading
edited title
Link
ABIM
  • 564
  • 1
  • 6
  • 15
Loading
added 114 characters in body
Source Link
ABIM
  • 564
  • 1
  • 6
  • 15
Loading
deleted 18 characters in body
Source Link
ABIM
  • 564
  • 1
  • 6
  • 15
Loading
edited title
Link
ABIM
  • 564
  • 1
  • 6
  • 15
Loading
Source Link
ABIM
  • 564
  • 1
  • 6
  • 15
Loading