Looking for Machine Learning: Theory and Practice-Lecture,Section-1-Fall 2025 test answers and solutions? Browse our comprehensive collection of verified answers for Machine Learning: Theory and Practice-Lecture,Section-1-Fall 2025 at moodle.nu.edu.kz.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
The Iris dataset has 3 species and 4 features: sepal length, sepal width, petal length, and petal width. Analysis shows:
Based on this, which statements are correct?
A) Including both petal length and petal width may introduce redundancy and does not necessarily improve model performance.
B) For Linear Discriminant Analysis (LDA), highly correlated features can cause the within-class covariance matrix to become ill-conditioned, reducing model stability.
C) Moderate correlation between sepal length and petal length means these features are completely independent.
D) Strongly correlated features are always preferred for any machine learning model because they increase predictive power.
You are designing a K-NN classifier for a 2-class problem. Which of the following is the best practice for choosing k and initializing the classifier in Python?
Consider the standard perceptron training algorithm with training set learning rate α, and maximum epochs (T). The weight update rule is:
Why do we need Gradient Descent in machine learning?
You are training a house price prediction model with 5,000 training examples using Mini-Batch Gradient Descent (MBGD) of batch size = 32. Which of the following statements correctly describes how MBGD works and why it is widely used?
Given a feature x with values in the range [300,2000], different scaling methods are applied. Which of the following correctly represents Z-score Normalization?
| Day | Outlook | Temperature | Play Tennis |
|---|---|---|---|
| 1 | Sunny | Hot | No |
| 2 | Sunny | Mild | Yes |
| 3 | Overcast | Hot | Yes |
| 4 | Rainy | Mild | Yes |
| 5 | Sunny | Cool | No |
| 6 | Rainy | Cool | Yes |
If the Outlook is Sunny, what is the probability that the player will Play Tennis (Yes)?
Which of the following correctly lists the sequence of K-NN steps and the Python command to import and initialize the K-NN classifier?
Match each mathematical form with the correct Python implementation.
You have a classifier and predictions y_pred for your test set y_test. You want to compute and visualize the confusion matrix using Python. Which of the following options is correct?