Week 3: How AI Works Flashcards

1
Q

Input layer

A

How the network receives information from the outside world

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

Output layer

A

How you get answers from your network and how the solution can be represented

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

Explain how you’d build a neural network from an image.

A
  1. Begin with pixels
  2. Use a number to represent the color
  3. Pixel values are flattened
  4. Design a neuron corresponding to one of the pixels.
  5. One neuron acts as the input
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the number of neurons in an image?

A

the total number of pixels in an image

(length x width)

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

How is the output layer classified?

A

binary classification (i.e. yes/no response)

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

End-to-end AI model

A

a model that handles the entire process, from raw data to final output, without any additional components

*this is the type of model for image processing

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

What is AI based on?

A

probabilities

The probabilities of all possible outcomes must sum to 1

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

What would the output be for an image?

A

The output should represent the probability that the input image contains a target image

You can decide the threshold of yes (e.g. 0.5 probability)

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

ŷ

A

probability of yes

same for no

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

What are the inputs and outputs for a Zillow “Zestimate”?

A

-inputs: location, number of levels, number of bedrooms, urban proximity, etc. (each input acts as a neuron)
-output: prediction of the price

For inputs that don’t have a numerical value (e.g. style of construction), you can assign an arbitrary number. As long as this stays consistent, the model can still make predictions

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

What do we want with hidden layers?

A

For each hidden layer, you want it to gradually move into one output

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

*Class verification system

A

-Each neuron corresponding to one student
-Output number is the number of students in class, with each corresponding to one neuron
-Which neuron is activated the most (i.e. strong activation, i.e. high probability) for a particular student

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

Emotion recognition

A

-Image as input
-Output for every possible expression
-Build a neuron with every possible expression
-Highest activated neurons corresponds to emotion

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

How do video games demonstrate that not every AI problem is a classification problem?

A

-this is a control problem

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

What are the inputs and outputs for a video game?

A

-input: the pixels contained in an image of the current game board
-ouput: the action you take
-Each moment, you have one neuron corresponding to one of the actions that you can take at that moment. If one neuron output has really high activation, it takes that action

As the game advances, the model is taking a new input image/frame rapidly

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