Week 6: Intro to Machine Learning Flashcards

1
Q

What is machine learning (ML)?

A

A process where systems improve performance on a task through experience.

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

Give Tom Mitchell’s formal definition of learning.

A

A computer program learns from experience E with respect to task T and performance measure P if its performance on T, as measured by P, improves with experience E.

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

Why is ML important in modern AI?

A

Because many tasks are too complex to program by hand and environments can change over time.

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

List the four main types of ML.

A

Supervised learning, unsupervised learning, reinforcement learning, semi-supervised learning.

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

What is supervised learning?

A

Learning from labeled input-output pairs to infer a function mapping inputs to outputs.

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

What is unsupervised learning?

A

Learning patterns or structure from input data without labeled outputs (e.g., clustering).

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

What is reinforcement learning?

A

Learning by receiving feedback in the form of rewards or penalties after actions are taken.

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

What is semi-supervised learning?

A

Learning from a small number of labeled examples combined with many unlabeled examples.

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

What is inductive learning?

A

Learning a general function from specific examples (input-output pairs).

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

What is a hypothesis in ML?

A

A proposed function that maps inputs to outputs, approximating the true function.

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

What is overfitting?

A

When a model fits the training data too well but fails to generalize to new data.

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

What is the hypothesis space?

A

The set of all possible functions or models that can be chosen during learning.

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

What is generalization in ML?

A

A model’s ability to perform well on new, unseen examples.

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

What is a decision tree?

A

A tree-structured model that makes decisions by testing attributes and assigning outputs.

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

What is entropy in decision tree learning?

A

A measure of uncertainty or impurity in a set of examples.

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

What is information gain?

A

The reduction in entropy achieved by splitting on a particular attribute.

17
Q

What is the purpose of pruning in decision trees?

A

To reduce overfitting by removing nodes that add little predictive power.

18
Q

What is a consistent hypothesis?

A

A hypothesis that correctly predicts the output for all training examples.

19
Q

What is the goal of supervised learning?

A

To learn a function h(x) that closely approximates the true function f(x).

20
Q

What is regression in ML?

A

A type of supervised learning where the output is a continuous value.

21
Q

What is classification in ML?

A

A type of supervised learning where the output is a category or class label.

22
Q

What is linear regression?

A

A model that predicts a continuous output as a linear function of input features.

23
Q

What is the cost function in linear regression?

A

A function (e.g., Mean Squared Error) used to measure prediction error and guide learning.

24
Q

What is gradient descent?

A

An optimization algorithm used to minimize the cost function by updating parameters iteratively.

25
What is Ockham’s Razor in ML?
The principle that simpler hypotheses are preferred if they fit the data well.
26
What is a learning curve?
A graph showing the model’s performance on a test set as the training set size increases.