Machine Learning Logistic Regression
This quiz is designed to assess your understanding of Logistic Regression, a widely used algorithm in Machine Learning for binary classification tasks.
Questions
Logistic Regression is a type of:
- Linear Regression
- Polynomial Regression
- Classification Algorithm
- Clustering Algorithm
The output of Logistic Regression is:
- A continuous value between 0 and 1
- A binary value (0 or 1)
- A probability value between 0 and 1
- A vector of coefficients
The sigmoid function used in Logistic Regression is given by:
- $$f(x) = x^2$$
- $$f(x) = e^x$$
- $$f(x) = 1 / (1 + e^{-x})$$
- $$f(x) = x$$
The cost function used in Logistic Regression is:
- Mean Squared Error (MSE)
- Root Mean Squared Error (RMSE)
- Cross-Entropy Loss
- L1 Regularization
Which regularization technique is commonly used in Logistic Regression to prevent overfitting?
- L1 Regularization
- L2 Regularization
- Dropout
- Early Stopping
Logistic Regression is particularly useful when:
- The data is linearly separable
- The data has a normal distribution
- The data is highly imbalanced
- The data is categorical
Which of the following is NOT a hyperparameter in Logistic Regression?
- Learning Rate
- Regularization Parameter
- Number of Epochs
- Activation Function
How can you improve the performance of Logistic Regression when the data is imbalanced?
- Use a different classification algorithm
- Resample the data
- Use a cost-sensitive learning algorithm
- Increase the regularization parameter
What is the main advantage of Logistic Regression over other classification algorithms?
- It is more interpretable
- It is more accurate
- It is faster to train
- It requires less data
Which of the following is NOT a common evaluation metric for Logistic Regression?
- Accuracy
- Precision
- Recall
- F1 Score
Logistic Regression can be extended to handle multi-class classification problems using:
- One-vs-All
- One-vs-One
- Error-Correcting Output Codes
- Softmax Regression
Which of the following is NOT a common application of Logistic Regression?
- Predicting customer churn
- Detecting fraudulent transactions
- Image classification
- Natural language processing
Logistic Regression is particularly sensitive to:
- Outliers
- Missing values
- Feature scaling
- Data imbalance
To improve the stability and robustness of Logistic Regression, one can:
- Use a larger dataset
- Regularize the model
- Use a different classification algorithm
- Increase the number of features
Which of the following is NOT a disadvantage of Logistic Regression?
- It can suffer from overfitting
- It is sensitive to outliers
- It is computationally expensive
- It requires a large amount of data