in Education by
I read about the neural network and understood the general principle of single layer neural network. Additional layer needs I understood but why do we use a nonlinear activation function? Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
The purpose of the activation function is to introduce non-linearity into the output of a neuron. A neural network is essentially just a linear regression model without an activation function. The activation function does the non-linear transformation to the input making it capable to learn and perform more complex tasks. Alternatively, it can be explained like: without a non-linear function doesn’t matter how many hidden layers we attach in the neutral net all will behave in the same way.Neuron cannot learn with just a linear function attached to it, it requires a non-linear activation function to learn as per the difference w.r.t error. Ex- >>> input_vector = NP.random.rand(10) >>> input_vector array([ 0.61, 0.82, 0.95, 0. , 0.79, 0.55, 0.35, 0.27, 0.49, 0.15]) >>> output_vector = NP.tanh(input_vector) >>> output_vector array([ 0.55, 0.64, 0.37, 0. , 0.95, 0.73, 0.42, 0.67, 0.33, 0.88]) Go through the insighful ai tutorial for more knowledge on this segment.

Related questions

0 votes
    According to some document the weight adjustment formula will be: new weight = old weight + learning rate * delta ... ) is enough? Select the correct answer from above options...
asked Jan 22, 2022 in Education by JackTerrance
0 votes
    It is a principal question, regarding the theory of neural networks: Why do we have to normalize the input for ... is not normalized? Select the correct answer from above options...
asked Jan 27, 2022 in Education by JackTerrance
0 votes
    I know the basics of feedforward neural networks, and how to train them using the backpropagation algorithm, but I'm ... , even better. Select the correct answer from above options...
asked Feb 8, 2022 in Education by JackTerrance
0 votes
    What is the difference between back-propagation and feed-forward neural networks? By googling and reading, I found ... feed-forward? Select the correct answer from above options...
asked Jan 31, 2022 in Education by JackTerrance
0 votes
    I'm making a basic feedforward neural network to solve the XOR gate problem. Standard settings: input layer + hidden layer + ... outputData_samples : Array = Array() for i in 0.....
asked Jan 31, 2022 in Education by JackTerrance
0 votes
    I read a few books and articles about Convolutional neural network, it seems I understand the concept but I don ... please help thanks. Select the correct answer from above options...
asked Jan 30, 2022 in Education by JackTerrance
0 votes
    Is there any method to find out the number of layers and the number of neurons per layer? As input I solely have ... I can't try this. Select the correct answer from above options...
asked Jan 22, 2022 in Education by JackTerrance
0 votes
    I saw a few examples of a neural network but they work for a fixed set of inputs. How can I deal with ... property of neural networks? Select the correct answer from above options...
asked Jan 22, 2022 in Education by JackTerrance
0 votes
    I'm learning the difference between the various machine learning algorithms. I understand that the implementations of ... for that? Select the correct answer from above options...
asked Jan 25, 2022 in Education by JackTerrance
0 votes
    I am working on the following code: model = Sequential() a = keras.layers.advanced_activations.PReLU(init='zero', ... solution to this? Select the correct answer from above options...
asked Jan 22, 2022 in Education by JackTerrance
0 votes
    How is the convolution operation carried out when multiple channels are present at the input layer? (e.g. RGB ... over several regions? Select the correct answer from above options...
asked Jan 29, 2022 in Education by JackTerrance
0 votes
    I was wondering if you creative minds out there could think of some situations or applications in the web environment ... AI in games. Select the correct answer from above options...
asked Jan 26, 2022 in Education by JackTerrance
0 votes
    I know there are many advantages that SVMs have over ANN since they cover two main disadvantages of ANN: ANN covers ... ANNs usable ? Select the correct answer from above options...
asked Jan 22, 2022 in Education by JackTerrance
0 votes
    I know about the Gradient Descent & Back-propagation Theorem. What I didn't get is: When and how to use ... gives the correct weights. Select the correct answer from above options...
asked Jan 22, 2022 in Education by JackTerrance
0 votes
    To solve any problem when we can use genetic algorithms as opposed to neural networks & vice versa. I saw some ... in some cases. Select the correct answer from above options...
asked Jan 22, 2022 in Education by JackTerrance
...