β Quiz M4.05#
Question
By default, a LogisticRegression
in scikit-learn applies:
a) no penalty
b) a penalty that shrinks the magnitude of the weights towards zero (also called βl2 penaltyβ)
c) a penalty that sets some weights exactly to zero (also called βl1 penaltyβ)
Select a single answer
Question
The decision boundaries of a logistic regression:
a) uses only one of the input features
b) uses a combination of the input features
c) separates a single class
Select a single answer
Question
The parameter C
in a logistic regression is:
a) similar to the parameter
alpha
in a ridge regressorb) similar to
1 / alpha
wherealpha
is the parameter of a ridge regressorc) not controlling the regularization
Select a single answer