L5 Flashcards

(31 cards)

1
Q

What is a linear classifier?

A

A model that classifies inputs based on linear combinations of features

  • Many decisions involve non-linear functions of the input
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a neural network?

A

A model made up of ‘artificial neurons’ connected in layers

  • Each neuron receives inputs, applies weights, sums them up, and passes the result through an activation function (like sigmoid, tanh, or ReLU).
  • The network can learn complex, non-linear relationships.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What do neurons in a neural network do?

A

Receive inputs, apply weights, sum them up, and pass the result through an activation function

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

What is the purpose of the input layer in a neural network?

A

Receives the raw data/features (independent variable)

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

What do hidden layers in a neural network do?

A

Perform complex transformations and learn more abstract features

Do the “thinking” — each layer learns a more complex transformation.

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

What does the output layer of a neural network provide?

A

Gives the final answer (dependent variable) (e.g., probability, class)

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

What is a single-layer perceptron?

A

A neural network with one layer of weights, equivalent to logistic regression

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

What is a multi-layer perceptron (MLP)?

A

A neural network with two or more layers

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

What is the representational power of a neural network with a single hidden layer?

A

Can approximate any function with enough units

More layers and units = more powerful but also harder to train

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

What are weights (W) and biases (b) in a neural network?

A

Parameters that the model learns

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

What is the role of activation functions in a neural network?

A

Make the network non-linear

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

What is the output range of the sigmoid activation function?

A

Between 0 and 1

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

What does the tanh activation function output?

A

Between -1 and 1

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

What is the ReLU activation function?

A

Outputs 0 if input is negative, otherwise outputs the input itself

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

What are the two main steps in training a neural network?

A
  • Feedforward
  • Backpropagation
  • repeated over and over (each round is called an “epoch”)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What occurs during the feedforward step of training?

A

Pass the input through the network to get the prediction

17
Q

What occurs during the backpropagation step of training?

A

Compare prediction to actual label, compute error, and adjust weights and biases to reduce the error (using gradients) / performs learning

18
Q

What is the key idea behind backpropagation?

A

Use calculus (the chain rule) to compute weight adjustments so the prediction gets better

  • For appropriate amnt to adjust → Compute the derivative of the loss function with respect to weights and biases → derivative of func = slope of func
19
Q

What defines a deep neural network?

A

Having many hidden layers

  • Learn hierarchical features (each layer learns more abstract concepts).
  • Power deep learning in speech, image, and text recognition.
20
Q

What do convolutional neural networks (CNNs) specialize in?

A

Used mostly for images

21
Q

What is the function of convolutional layers in CNNs?

A

Detect patterns like edges and shapes

  • Connect each hidden unit to a small input patch and share the weight across space
22
Q

What is the purpose of pooling layers in CNNs?

A

Downsample and keep only the most important information

23
Q

What does a max pooling layer do?

A

Finds the maximum locally, indicating the maximum response from the previous layer

24
Q

What is the role of fully connected layers in a CNN?

A

Do the final decision-making

25
What is segmentation in the context of medical applications of neural networks?
Finding where objects (e.g., tumors) are in images
26
What is classification in the context of neural networks?
Deciding what an image is (e.g., healthy or sick)
27
What is detection in the context of neural networks?
Finding and locating specific features (e.g., microbleeds, pneumonia)
28
What does logistic regression do?
Predict class with probability using sigmoid
29
What is a deep network (DNN)?
A network with many hidden layers, learns abstract features
30
What is a convolutional network?
A special network for images that finds patterns using filters
31
What is backpropagation?
An algorithm to efficiently update all weights based on error