Looking for Machine Learning-(BSCS-2, BSDS-2) test answers and solutions? Browse our comprehensive collection of verified answers for Machine Learning-(BSCS-2, BSDS-2) at moodle.ucu.ac.ug.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
In binary classification with KNN, why is it often recommended to choose an odd value of K?
A dataset has significant label noise (many mislabelled examples). Comparing KNN with K=1 and a fully grown Decision Tree (no pruning), which analysis is correct?
A Decision Tree trained on a 2D feature space produces decision boundaries that are:
A parent node has entropy 1.0 and is split into two children: Left (30 samples, entropy 0.0) and Right (70 samples, entropy 0.86). What is the Information Gain of this split?
You want to reduce the variance of a single Decision Tree without switching to a completely different algorithm family. Which strategy best addresses this using concepts you already know about Decision Trees?
Given the following 2D training points: A(1,1) -> Red, B(2,2) -> Red, C(3,3) -> Blue, D(4,4) -> Blue, E(2,3) -> Blue Using K=3 and Euclidean distance, how would a new point P(2.5, 2.5) be classified?
You need to deploy a KNN classifier for a real-time recommendation system serving millions of queries per second. The training set has 10 million records with 100 features. Which design choice best addresses the scalability challenge?
A hospital requires a classifier that doctors can easily explain to patients during consultations. Both KNN and a shallow Decision Tree achieve similar accuracy. Which should you recommend and why?
A node contains 60 samples of class A and 40 samples of class B. What is the Gini Impurity of this node?
You are classifying patients using features: Age (numeric), Blood Pressure (numeric), and Blood Type (categorical: A, B, AB, O). Standard Euclidean distance cannot handle this mixed data. Which approach is most appropriate for designing a KNN solution?