Supervised Learning Flashcards

1
Q

What is supervised learning?

A

Supervised learning is a type of machine learning where the model is trained on a labeled dataset.

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

True or False: Supervised learning requires labeled data.

A

True

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

What are the two main types of supervised learning?

A

Classification and regression

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

In supervised learning, what is the input data called?

A

Features

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

What is the output of a supervised learning model?

A

Predictions or labels

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

What is the goal of regression in supervised learning?

A

To predict continuous values

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

What is the goal of classification in supervised learning?

A

To predict discrete labels

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

What is the difference between classification and regression in supervised learning?

A

Classification predicts discrete labels, while regression predicts continuous values.

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

What is a hyperparameter in supervised learning?

A

A parameter whose value is set before the learning process begins.

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

What is overfitting in supervised learning?

A

When a model learns the noise in the training data rather than the underlying pattern.

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

What is underfitting in supervised learning?

A

When a model is too simple to capture the underlying structure of the data.

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

What is the loss function used in supervised learning?

A

A function that measures how well a model’s predictions match the actual labels.

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

What is cross-validation in supervised learning?

A

A technique used to evaluate the performance of a model by splitting the data into multiple subsets.

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

What is the bias-variance tradeoff in supervised learning?

A

The tradeoff between a model’s ability to capture complex patterns and its sensitivity to noise.

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

What is the purpose of a validation set in supervised learning?

A

To tune hyperparameters and evaluate the model’s performance.

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

What is the difference between training and testing data in supervised learning?

A

Training data is used to train the model, while testing data is used to evaluate its performance.

17
Q

What is the curse of dimensionality in supervised learning?

A

The increase in sample space as the number of features grows, leading to sparsity of data.

18
Q

What is the ROC curve used for in supervised learning?

A

To visualize the tradeoff between true positive rate and false positive rate.

19
Q

What is precision in supervised learning?

A

The ratio of correctly predicted positive observations to the total predicted positive observations.

20
Q

What is recall in supervised learning?

A

The ratio of correctly predicted positive observations to the all observations in actual class.

21
Q

What is F1 score in supervised learning?

A

The harmonic mean of precision and recall.

22
Q

What is the confusion matrix in supervised learning?

A

A table used to describe the performance of a classification model.

23
Q

What is the difference between a training set and a test set in supervised learning?

A

Training set is used to train the model, while test set is used to evaluate its performance.

24
Q

What is the purpose of a validation set in supervised learning?

A

To tune hyperparameters and avoid overfitting.