Supervised Learning Flashcards

(45 cards)

1
Q

What is machine learning in simple terms?

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

What are the two main types of machine learning algorithms?

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

What is Supervised Learning, and what are some common tasks it is used for?

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

What is linear regression, and what is the goal of this algorithm?

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

What is the linear regression function definition?

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

What are other names for the variables w and b in linear regression?

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

What is the cost function formula for a simple linear function.

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

How is the cost function used to measure the difference between the predicted value and actual label for each training example?

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

How is the cost function used to aggregate the error across all examples in the training set?

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

What is the regularization term used in the cost function for linear regression, and why is it helpful for gradient computation?

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

What is the goal of gradient descent in machine learning, and how is the gradient used in this process?

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

How does the learning rate affect the efficiency of the gradient descent algorithm?

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

What is the consequence of using a learning rate that is too small in gradient descent?

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

What is the consequence of using a learning rate that is too large in gradient descent?

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

How is the gradient used to update the values of the parameters during optimization process in gradient descent.

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

How is the choice of learning rate related to the convergence rate of the gradient descent algorithm?

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

What is the equation for the model’s prediction with multiple variables give by the linear model?

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

What is vectorization, and why is it useful?

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

What is the vector notation equation for the linear model?

20
Q

What happens to the parameters w and b in multiple linear regression?

21
Q

What is the equation for the cost function with multiple variables?

22
Q

What is feature engineering and why is it important for machine learning

23
Q

What are the different tasks involved in feature engineering?

24
Q

Explain the process of feature scaling, and what it is important for machine learning.

25
What is polynomial regression, and how does it relate to feature engineering?
26
Provide an example of how you have used feature engineering in your project.
27
What is classification, and how does it differ from other types of machine learning techniques?
28
Explain the logistic regression model and how it is used for binary classification models?
29
What is the sigmoid function, and how is it used in logistic regression?
30
What is a decision boundary, and how is it used in logistic regression?
31
What is a decision boundary, and how is it determined in binary classification problems?
32
Why is the squared error cost function not suitable for logistic regression?
33
What is the cost function in logistic regression and how is it calculated?
34
Explain the difference between loss and cost function in machine learning.
35
How does gradient descent work in logistic regression?
36
What are some advantages of logistic regression over other classification algorithms.
37
How do you evaluate the performance of a logistic regression model?
38
What is overfitting, and how does it occur in machine learning?
39
Explain the differences between overfitting and underfitting.
40
How is overfitting addressed?
41
What is regularization, and how does it address overfitting?
42
What is the role of the regularization parameter in controlling the trade off between model fit and the model complexity?
43
What is the difference between the cost functions of regularized and unregularized linear regression?
44
What is the difference between the cost functions of regularized and unregularized logistic regression?
45
What is the gradient calculation for regularized linear and logistic regression, and how does it differ from the gradient calculation for unregularized regression?