CCD 7104 Machine Learning 2
CCD 7104 Machine Learning 2
Assume we have a set of data from patients who have visited Meru Level 5 hospital since the
year 2010. A set of features (e.g., temperature, height) have been also extracted for each
patient. Our goal is to decide whether a new visiting patient has any of diabetes, heart disease,
or Cancer (a patient can have one or more of these diseases).
a) Supposedly we have decided to use a neural network to solve this problem and we
have two choices:- either to train a separate neural network for each of the diseases or
to train a single neural network with one output neuron for each disease, but with a
shared hidden layer. You are consulted to provide your feedback on this dilemma.
Which method would you advise for adoption and why? (Provide a detailed
comparison in addition to your stance) (10 Marks)
b) Some patient features are expensive to collect (e.g., brain scans) whereas others are
not (e.g., temperature). Therefore, we have decided to first ask our classification
algorithm to predict whether a patient has a disease, and if the classifier is 80%
confident that the patient has a disease, then we will do additional examinations to
collect additional patient features In this case. The team you lead has the option of
using either of the following classifiers:- neural networks, decision tree, or naive
a) Compare and contrast between each of the following pairs of machine learning models;
a. Generativevs discriminative (4 Marks)
b. Parametric vs Non-parametric (4 Marks)
a) Suppose that we want to solve the problem of finding out what a good car is by using
genetic algorithms. Suppose further that the solution to the problem can be
represented by a decision tree as follows:
i. Illustrate what would be the appropriate chromosome design for the given
problem (4 Marks)
ii. Describe the Genetic Algorithm parameters that need to be defined to solve
the problem (6 Marks)
iii. Solve the problem applying a single round of the prototypical Genetic
Algorithm (5 Marks)
iv. Explain your answer in (iii) above by providing the pseudo code of the
algorithm (5 Marks)
a) The following diagram provides the necessary steps for solving a machine learning
problem. Study it and answer the questions that follow;