Algorithms Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

algorithm for binary classification, multiple features, not enough data for a neural net

A

binary logistic regression

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

algorithm for predicting a ranking (number of stars given to a movie or something like that)

A

ordinal logistic regression

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

image classification algorithm?

A

CNN

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

time series forecasting algorithms?

A

bayesian structural time series models, LSTMs, RNNs, ARIMA, SARIMA, SARIMAX

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

5 assumptions of linear regression?

A

1) linear relation between features and target
2) little or no multicollinearity between features
3) homeoskedasticity
4) residuals (uncertainty) follow a normal distribution
5) Little or no autocorrelation in residuals (usually happens in time series where one step is dependent on the last).

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

If we have two correlated features, what do we do?

A

Combine them to make an independent feature or drop one

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

Dimensionality reduction?

A

PCA

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

What metric is best for linear regression and why?

A

R^2; for linear regression, it represents (explained variance)/(total variance)

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

How does a decision tree decide what split to make at each node?

A

For classification: minimize Gini impurity

For regression:

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