Looking for COMP9417-COMP9417-Machine Learning & Data Mining - 2026 T2 test answers and solutions? Browse our comprehensive collection of verified answers for COMP9417-COMP9417-Machine Learning & Data Mining - 2026 T2 at moodle.telt.unsw.edu.au.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
Consider the following network and assume we are using ReLU activation (). What is the output of the fourth hidden unit when ?
A random variable follows an exponential distribution with parameter λ (λ > 0) if it has the following density:
This distribution is often used to model waiting times between events. Imagine you are given i.i.d. data X = (x1,...,xm) where each xi is modelled as being drawn from an exponential distribution with parameter λ
Question: what is the log-probability of X given λ? (log-probability = )
Consider the following network and assume we are using ReLU activation (). What is the output of the fourth hidden unit when we have inputs ?
Consider the following network and assume we are using ReLU activation (). What is the output of the fourth hidden unit when ?
A new COVID19 home-testing kit is developed and administered to 100 individuals who are known to have the virus. Out of 100, the test returns 72 positive results.
Assume we have two classes and , and we wish to classify a new document . We have the following training data:
| document | class | cosine distance to |
| 1 | A | 1 |
| 2 | B | 0.95 |
| 3 | B | 0.94 |
| 4 | A | 0.45 |
| 5 | A | 0.4 |
| 6 | B | 0.39 |
Where we are using the cosine distance as a measure of distance (the higher the value, the closer the two documents). What class would be assigned to using a -NN classifier where we take then .
Supposed that you have applied Decision Tree algorithm to your training set and validation set and you have got the following scenarios by choosing different depth for your algorithm. Which depth you will pick for your final model?
Depth | Training error | Validation error |
3 | 30% | 35% |
4 | 26% | 30% |
5 | 22% | 30% |
6 | 15% | 35% |
Suppose that you are given the below dataset of mushroom types with two features of “color” and whether the mushroom “is spotted” and the output variable of whether the mushroom “is poisonous”. Which of the following statements is/are correct assuming that features are conditionally independent?
x1 = Color | x2 = Is Spotted | y = Is Poisonous |
dark brown | yes | Yes |
white | yes | Yes |
dark brown | no | Yes |
white | no | No |
dark brown | no | No |
light brown | no | No |
white | yes | No |
Consider the following dataset with features X, Y and Z
| X | Y | Z |
| Jack | 0 | A |
| Jack | 1 | B |
| Amy | 0 | A |
| Amy | 1 | B |
| Sam | 0 | B |
| Sam | 1 | B |
Let denote the entropy function. Which of the following is true?
In logistic regression, we assume a...
(logit = logarithm of the odds)