# ✅ 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”)

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

The parameter C in a logistic regression is:
• a) similar to the parameter alpha in a ridge regressor
• b) similar to 1 / alpha where alpha is the parameter of a ridge regressor