Supervised Learning Flashcards

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?

A
20
Q

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

A
21
Q

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

A
22
Q

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

A
23
Q

What are the different tasks involved in feature engineering?

A
24
Q

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

A
25
Q

What is polynomial regression, and how does it relate to feature engineering?

A
26
Q

Provide an example of how you have used feature engineering in your project.

A
27
Q

What is classification, and how does it differ from other types of machine learning techniques?

A
28
Q

Explain the logistic regression model and how it is used for binary classification models?

A
29
Q

What is the sigmoid function, and how is it used in logistic regression?

A
30
Q

What is a decision boundary, and how is it used in logistic regression?

A
31
Q

What is a decision boundary, and how is it determined in binary classification problems?

A
32
Q

Why is the squared error cost function not suitable for logistic regression?

A
33
Q

What is the cost function in logistic regression and how is it calculated?

A
34
Q

Explain the difference between loss and cost function in machine learning.

A
35
Q

How does gradient descent work in logistic regression?

A
36
Q

What are some advantages of logistic regression over other classification algorithms.

A
37
Q

How do you evaluate the performance of a logistic regression model?

A
38
Q

What is overfitting, and how does it occur in machine learning?

A
39
Q

Explain the differences between overfitting and underfitting.

A
40
Q

How is overfitting addressed?

A
41
Q

What is regularization, and how does it address overfitting?

A
42
Q

What is the role of the regularization parameter in controlling the trade off between model fit and the model complexity?

A
43
Q

What is the difference between the cost functions of regularized and unregularized linear regression?

A
44
Q

What is the difference between the cost functions of regularized and unregularized logistic regression?

A
45
Q

What is the gradient calculation for regularized linear and logistic regression, and how does it differ from the gradient calculation for unregularized regression?

A