B07 Logistic Regression Flashcards

Exam Prep

1
Q

Regression

Machine learning technique where the goal is to model
the ____ and ____ of numeric relationships in order
to predict a target variable based on the values of
previously observed explanatory variables.

A

Size and Strength

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

Popular regression techniques include:

A

Linear Regression
Logistic Regression
Poisson Regression (log-linear)

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

Linear Regression:

The goal is to estimate the values for ___ and __ in order
to minimize _____________________________
between the actual and predicted values.

A

B0 and B1 (Beta)

The sum of squared errors

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

Limits of Linear Regression

A
  • requires a normal distribution of the response variable

- decision boundary

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

In logistic regression, the coefficients are estimated

using a technique called __________________

A

Maximum Likelihood

Estimation (MLE)

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

Unlike the _________________ method
used by linear regression, finding a closed form for
the coefficients using MLE is not possible. Instead, the
process is iterative.

A

Ordinary Least Squares (OLS)

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

The ___________________________is an extension of
linear regression that allows for linear predictors to be
related to a response variable that is not normally
distributed by using a transformation or link function

A

Generalized Linear Model (GLM)

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

The link function used for binomial logistic regression is called the _________

A

logit function

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

In Logistic Regression

For every unit increase in
tumor size, the odds of it
being malignant changes
by a multiple of ___

A

e^Beta

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
If B<0 , the odds
that the tumor is
malignant \_\_\_\_\_\_\_ as
tumor size increases.
If  B>0, the odds
that the tumor is
malignant \_\_\_\_\_\_\_\_ as
tumor size increases.
A

decreases

increases

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

An estimate of the relative information lost by a given
model: the less information a model loses, the higher
the quality of the model

A

Akaike Information Criterion (AIC)

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

Strengths of Logistic Regression?

A
-Outputs have a nice probabilistic
interpretation.
-Can be regularized to avoid
overfitting.
-Easy to implement and use.
-Very efficient to train.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Weaknesses of Logistic Regression?

A
-Makes strong assumptions
about the data.
-Does not do well with missing
data.
-Tends to underperform when
there are multiple or non-linear
decision boundaries.
-Does not naturally capture
complex relationships.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly