Overview: Deep Learning Flashcards

1
Q

What type of data (I.e. format) is used for the input neuron layer in a deep learning model?

A

Each input node (aka neuron) is going to have 1 independent value

These independent values are going to be from 1 row
I.e. a deep learning net processes 1 observation at a time

E.g. —> = current observation being processed

 Subject.   Height.   Weight.   Gender  —>.     1.          164.          56.          F
       2.          195.          89.          M
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How does a hidden neuron derive its value?

A

Each hidden neuron receives multiple signals (input values) from multiple neurons.

When a neuron receives all signals it:

  1. Adds up the weighted sum of all the inputs (weight + input)
  2. Then applies an activation function

E.g. o = input neuron. O = hidden neuron

o -1-> (pretend -> is tilted so it’s touching O)
o -0.5-> O (1.7 + activation function)
o -0.2->

Note: all input values have been standardised before starting

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

What’s the point of an activation function?

A

Transforms the weighted sum ‘back’ to a nr between 0-1, so that nee value can be passed on to the next neuron

E.g. o = input neuron. O = hidden neuron

o -1-> (pretend -> is tilted so it’s touching O)
o -0.5-> O (1.7 + activation function = 0.4)
o -0.2->

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

What are the types of activation functions?

A

Threshold:
Transforms the summed weighted value into 0 or 1 (Yes or No basically) e.g.
Thus, used for binary classification

Sigmoid:
Transforms the summed weighted value into a nr between 0-1
Used for probability… the probability that it’s a cat or dog. Can be used for the probability that it’s yes or no
Often applied to output layer neurons

Rectifier:
Most popular and often applied to hidden neuron layers

Tanh: ?

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