lecture 1 Flashcards

1
Q

What is machine learning?

A

A field of AI that enables computers to learn patterns from data without being explicitly programmed.

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

What are the three main types of machine learning?

A

Supervised learning, unsupervised learning, and reinforcement learning.

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

What is supervised learning?

A

A type of learning where the model is trained on labeled data.

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

What is unsupervised learning?

A

A type of learning where the model finds patterns in unlabeled data.

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

What is reinforcement learning?

A

A type of learning where an agent interacts with an environment and receives rewards.

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

What is an example of supervised learning?

A

Predicting house prices based on features like size and location.

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

What is an example of unsupervised learning?

A

Grouping customers based on purchasing behavior (clustering).

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

What is an example of reinforcement learning?

A

Training an AI to play chess by rewarding good moves.

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

What is a training dataset?

A

A dataset used to teach a machine learning model.

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

What is a test dataset?

A

A dataset used to evaluate the performance of a trained model.

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

What is the difference between regression and classification?

A

Regression predicts continuous values, while classification predicts categories.

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

What is an example of a classification problem?

A

Determining whether an email is spam or not.

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

What is an example of a regression problem?

A

Predicting the temperature for tomorrow.

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

What is feature engineering?

A

The process of selecting and transforming input variables to improve model performance.

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

What is overfitting?

A

When a model learns noise in the training data instead of generalizing to new data.

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

What is underfitting?

A

When a model is too simple and fails to capture important patterns in the data.

17
Q

What is a loss function?

A

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

18
Q

What is optimization in machine learning?

A

The process of adjusting model parameters to minimize the loss function.

19
Q

What is gradient descent?

A

An algorithm used to find the optimal parameters by minimizing the loss function.

20
Q

What is the difference between batch and stochastic gradient descent?

A

Batch uses the entire dataset for updates, while stochastic updates after each data point.

21
Q

What is cross-validation?

A

A technique to assess model performance by splitting the data into multiple subsets.

22
Q

What is bias in machine learning?

A

A model’s tendency to make systematic errors.

23
Q

What is variance in machine learning?

A

How much a model’s predictions change based on different training sets.

24
Q

What is the bias-variance tradeoff?

A

The balance between underfitting (high bias) and overfitting (high variance).

25
Q

What is a confusion matrix?

A

A table used to evaluate classification model performance.

26
Q

What are precision and recall?

A

Precision measures accuracy among positive predictions; recall measures how many positives were identified correctly.

27
Q

What is F1-score?

A

The harmonic mean of precision and recall, balancing both metrics.

28
Q

What is the purpose of model evaluation?

A

To determine how well a trained model performs on unseen data.