CDSP 5 Quiz

1. What is binary classification?





2. What is the purpose of logistic regression?





3. What is a decision boundary in logistic regression?





4. What is multi-label classification?





5. What function is used in multinomial logistic regression to determine class probabilities?





6. What is k-nearest neighbor (k-NN) used for in classification?





7. What happens when the value of k is increased in k-NN?





8. What is the purpose of support-vector machines (SVMs) in classification?





9. What is the key feature of soft-margin classification in SVMs?





10. What is the primary assumption of Naïve Bayes classifiers?





11. What does the Gini index measure in decision trees?





12. What is the purpose of pruning in decision trees?





13. What is the primary advantage of random forests over decision trees?





14. What is the goal of gradient boosting?





15. What is hyperparameter optimization in machine learning?





16. What does the F₁ score represent in model evaluation?





17. What does a confusion matrix display?





18. What is a key difference between k-NN and logistic regression?





19. What is the purpose of cross-validation in model training?





20. What is an ensemble learning method that trains multiple weak learners to form a strong learner?