Fundamentals Flashcards

(15 cards)

1
Q

What are parametric models?

A

Models with a fixed number of parameters

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

What are non-parametric models?

A

Models for which the number of parameters is not fixed, it can increase when more data arrives

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

What are examples of non-parametric models?

A

KNN, decision trees, random forests, kernel methods, Gaussian processes

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

What are the three components of a supervised learning model

A

Model type, cost function, optimizer

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

What is supervised learning?

A

A type of ML where the model is trained on labeled data to predict outcomes.

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

What is unsupervised learning?

A

ML where the model finds hidden patterns in unlabeled data.

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

Explain bias-variance trade-off.

A

Bias: error from overly simplistic model. Variance: error from sensitivity to training data. Trade-off is balancing both for best generalization.

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

What is L1 regularization?

A

Adds the sum of absolute values of weights to the loss function; encourages sparsity.

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

What is L2 regularization?

A

Adds the sum of squared weights to the loss function; discourages large weights.

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

What is cross-validation?

A

A technique for assessing model performance by training/testing on different subsets of the data.

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

When would you use precision over recall?

A

When false positives are more costly than false negatives.

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

When would you use recall over precision?

A

When false negatives are more costly than false positives.

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

What is ROC-AUC?

A

Area under the ROC curve; measures model’s ability to distinguish between classes.

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

What is overfitting?

A

When a model learns noise in training data and performs poorly on unseen data.

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

What is the sigmoid function?

A

s(z) = 1 / (1 + e^(-z)), e.g. s(0) = 1/(1+1) =0.5
- it maps a real valued number into the interval (0,1)
- useful for turning logits (raw prediction values) into probabilities in binary classification models

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