#10 - Machine Learning Flashcards

(29 cards)

1
Q

What is Lift in model evaluation?

A

Lift measures the performance of a model compared to a random choice model. It shows how much better the model is at prediction.

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

What is model fitting?

A

Model fitting indicates how well a model fits the given observations.

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

What is sampling and its main advantage?

A

Sampling involves selecting a smaller, representative subset of a dataset to perform analysis. It saves time and resources while still providing meaningful insights, especially with large datasets.

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

What is probability sampling?

A

A method where each member of the population has a known, non-zero chance of being selected. Use when statistical accuracy is important. Avoid if you have limited access to the full population.

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

What is simple random sampling?

A

Each item has an equal chance of being selected, like drawing names from a hat. Use when the population is homogenous. Avoid with very large datasets due to complexity.

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

What is stratified sampling?

A

The population is divided into subgroups (strata) and samples are taken from each. Use when key groups must be represented. Avoid if strata are not well defined.

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

What is clustered sampling?

A

Population is divided into clusters, then a few clusters are randomly chosen. Use for geographically spread data or when a full list of individuals is hard to obtain. Avoid if clusters are not internally diverse.

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

What is non-probability sampling?

A

Not all members have a known or equal chance of being selected. Use in exploratory research. Avoid when statistical generalization is needed.

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

What is convenience sampling?

A

Samples are taken from an easily accessible group. Use for quick insights or pilot testing. Avoid if you want unbiased, generalizable results.

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

What is quota sampling?

A

Samples are selected to match specific proportions of characteristics. Use when you need a balanced sample but can’t do random selection. Avoid if sampling bias is a concern.

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

What is snowball sampling?

A

Subjects recruit future subjects, good for hidden or hard-to-reach populations. Use in social research or rare populations. Avoid if your study needs a representative, unbiased sample.

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

What is supervised learning?

A

A type of ML where the model learns from labeled data. Use when you have input-output pairs. Avoid when labels are not available.

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

What is unsupervised learning?

A

The model learns from unlabeled data to find patterns or structure. Use for clustering, dimensionality reduction. Avoid if task requires specific output predictions.

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

What is semi-supervised learning?

A

Combines a small amount of labeled data with a large amount of unlabeled data. Use when labeling data is expensive. Avoid if you have plenty of labeled data.

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

What is reinforcement learning?

A

The model learns by interacting with an environment and receiving rewards or penalties. Use in robotics, gaming, real-time decision making. Avoid for static datasets without feedback loops.

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

What is classification in ML?

A

A supervised learning task where the output is a category or label. Use for tasks like spam detection or image labeling. Avoid if output is numeric or continuous.

17
Q

What is regression in ML?

A

A supervised learning task where the output is a continuous value. Use for predicting prices or trends. Avoid if outputs are discrete classes.

18
Q

What is clustering in ML?

A

An unsupervised learning task to group similar items together. Use when exploring structure in data. Avoid if specific labels or targets are needed.

19
Q

What is dimensionality reduction?

A

Reduces the number of input features while preserving key information. Use to speed up models or for visualization. Avoid if interpretability of original features is critical.

20
Q

What is data cleaning?

A

Removing or correcting wrong, incomplete, or inconsistent data. Use before training. Avoid skipping, as dirty data leads to poor models.

21
Q

What is normalization?

A

Scaling values to a specific range, usually [0,1]. Use with distance-based algorithms. Avoid if algorithm is scale-invariant.

22
Q

What is standardization (Z-score scaling)?

A

Centers data around 0 with unit variance. Use for algorithms assuming Gaussian distribution. Avoid if interpretability is needed with original units.

23
Q

What is encoding categorical variables?

A

Converting categories into numeric form using label or one-hot encoding. Use for ML algorithms. Avoid one-hot on high-cardinality features.

24
Q

What is handling missing data?

A

Techniques include removing rows, filling with mean/median, or model-based imputation. Use with care depending on how much is missing. Avoid deleting data blindly.

25
What is feature engineering?
Creating new input features to improve model performance. Use when domain knowledge can add value. Avoid overfitting by adding too many features.
26
What is feature selection?
Choosing the most relevant features for the model. Use to improve accuracy and reduce overfitting. Avoid removing features blindly.
27
What is outlier detection and treatment?
Identifying values that are significantly different from others. Use to prevent skewed models. Avoid if outliers are meaningful.
28
What is overfitting in machine learning?
Overfitting occurs when a model performs well on training data but poorly on new, unseen data. It happens due to low bias and high variance. Example: decision trees are prone to overfitting.
29
What is underfitting in machine learning?
Underfitting happens when a model is too simple to capture the data patterns and performs poorly even on training data. It is caused by high bias and low variance. Example: linear regression is prone to underfitting.