ml Flashcards

1
Q

How do neural networks work?

A

Input layer

1+ hidden layers

Output layer

all neurons in each layer connected to all neurons in the next layer “fully connected”

Each neuron adds up the inputs, puts the sum through an activation function

Each connection has a weight which multiplies the value by a certain amount

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

What are the 5 categories of neuron in CNNS?

A

Input - usually in 2d grid for image input

CONV -Layer that performs a convolution

RELU - activation function

POOL - sample down or average the inputs

Fully connected - usually at output stage

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

How does K-means work?

A

Assign feature vector to class based on the current means of each class (feature vector takes the closest class as it’s class)

Update the location of each class mean after all feature vectors have been assigned

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

Benefits/drawbacks k-means

A

Global optimum not guaranteed

Stochastic

but very fast to run

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

What is wisard?

A

Basic pattern recognition

Uses blocks of memory

Binary images

Choose random pixel patterns and set to 1 and 0 based on the pixel values

Testing: take the input and test over many different locations, gives a score

Highest score of all trained recognisers wins :P

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

What are SVMs?

A

Linear classifiers

Can be made to do non-linear using kernel tricks

finds the hyperplane that best separates the two classes

Deterministic

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