Lecture 5: Artificial Neural Networks Flashcards

1
Q

What is the behaviour of a neuron?

A
  • A neuron receives inputs from its neighbors
  • If enough inputs are received at the same time
    —the neuron is activated
    —and fires an output to its neighbors.
  • Repeated firings across a synapse increases its sensitibity and the future likelihood of its firing.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a perceptron?

A

A SINGLE coputational neuron

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the inputs of a perceptron?

A

Input signals Xi, weights Wi for each feature xi (strenght of connection)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the output of the perceptron?

A

Output:
 if sum of input weights >= some threshold, neuron fires (output=1)
 otherwise output = 0
 If (w1 x1 + … + wn xn) >= threshold
 Then output = 1
 Else output = 0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How is a perceptron trained?

A
  1. Step 1: Set weights to random values
  2. Step 2: Feed perceptron with a set of inputs
  3. Step 3: Compute the network outputs
  4. Step 4: Adjust the weights
  5. if output correct → weights stay the same
  6. if output = 0 but it should be 1 →
  7. increase weights on active connections (i.e. input xi=1)
  8. if output = 1 but should be 0 →
  9. decrease weights on active connections (i.e. input xi=1)
  10. Step 5: Repeat steps 2 to 4 a large number of times until the network
    converges to the right results for the given training examples
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a bias?

A
  • Useful to avoid figuring out the threshold by using a “bias”
  • A bias is equivalent to a weight on an extra input feature that has always the value of 1.
  • Is added at the end of weighted calculation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Limit of perceptrons early on

A

Only linearly separable functions
can be represented by a
perceptron

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are Multilayer Neural networks?

A
  1. to learn more complex
    functions (more complex
    decision boundaries), have
    hidden nodes
  2. and for non-binary decisions,
    have multiple output nodes
  3. use a non-linear activation
    function
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is “feed forward”

A

Feed-forward:
 Input from the features is fed forward in the network
from input layer towards the output layer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is backpropagation?

A

Error rate flows backwards from the output layer to the input layer (to adjust the weights in order to minimize output error)

  • Essentailly, this is for computing the errors in hidden layers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly