Supervised learning Flashcards

1
Q

Q: What does supervised learning refer to?

A

A: Algorithms that learn input (x) to output (y) mappings by being given examples to learn from, including the correct labels (y) for given inputs (x).

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

Q: How does a supervised learning algorithm learn?

A

A: By seeing correct pairs of input (x) and desired output label (y), the algorithm learns to predict the output (y) given new input (x).

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

Q: Give an example of supervised learning in email filtering.

A

A: Input: Email, Output: Spam or Not Spam (Spam Filter).

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

Q: Provide an example of supervised learning in speech recognition.

A

A: Input: Audio Clip, Output: Text Transcript.

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

Q: How is supervised learning used in machine translation?

A

A: Input: Text in one language (e.g., English), Output: Text in another language (e.g., Spanish).

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

Q: Describe the use of supervised learning in online advertising.

A

A: Input: Information about an ad and user, Output: Prediction of whether the user will click on the ad or not, which drives revenue for ad platforms.

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

Q: What is the role of supervised learning in self-driving cars?

A

A: Input: Image and sensor data, Output: Position of other cars to navigate safely.

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

Q: Explain how supervised learning is used in manufacturing.

A

A: Input: Picture of a manufactured product, Output: Detection of defects like scratches or dents (Visual Inspection).

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

Q: How does the housing price prediction example illustrate supervised learning?

A

A: By providing the learning algorithm with data pairs of house sizes and prices to predict the price of a new house based on its size.

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

Q: What is regression in the context of supervised learning?

A

A: Predicting a continuous number, such as house prices, from infinitely many possible values.

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

Q: What is the difference between fitting a straight line and a curve in supervised learning?

A

A: Fitting a straight line is a simpler model, whereas fitting a curve can capture more complex relationships between input (x) and output (y).

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

Q: What is the other major type of supervised learning problem apart from regression?

A

A: Classification, which involves predicting discrete labels such as spam or not spam.

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

Q: Why is supervised learning called “supervised”?

A

A: Because the learning algorithm is provided with a dataset that includes the correct labels for the input data, guiding the learning process.

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

Q: What do supervised learning algorithms learn to predict?

A

A: Input to output mappings (X to Y).

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

Q: What is a regression algorithm in supervised learning?

A

A: A type of supervised learning algorithm that predicts numbers from infinitely many possible numbers.

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

Q: What is a classification algorithm in supervised learning?

A

A: A type of supervised learning algorithm that predicts categories, which are a limited set of possible outputs.

17
Q

Q: Give an example of a classification problem.

A

A: Breast cancer detection, where the goal is to classify a tumor as benign (0) or malignant (1).

18
Q

Q: How can classification be visualized when predicting tumor malignancy?

A

A: By plotting the size of the tumor on the horizontal axis and using 0 or 1 on the vertical axis to represent benign or malignant tumors.

19
Q

Q: What distinguishes classification from regression?

A

A: Classification predicts a small, finite set of possible categories, while regression predicts any number from an infinite set.

20
Q

Q: Can classification problems have more than two categories?

A

A: Yes, for example, a cancer diagnosis could predict multiple types of cancer, resulting in categories like 0, 1, or 2.

21
Q

Q: What terms are often used interchangeably in classification?

A

A: Output classes and output categories.

22
Q

Q: How does classification handle non-numeric categories?

A

A: It can predict categories such as whether a picture is of a cat or a dog.

23
Q

Q: How does the learning algorithm use multiple inputs for classification?

A

A: By finding a boundary that separates the different categories (e.g., benign vs. malignant tumors) based on multiple input features.

24
Q

Q: What is the significance of the boundary line found by the learning algorithm in classification?

A

A: It helps classify new inputs, aiding in diagnosis or prediction.