ICS 3202 - Artificial Intelligence - December 2022
ICS 3202 - Artificial Intelligence - December 2022
ICS 3202 - Artificial Intelligence - December 2022
a. An ICS student is in the process of developing a machine learning solution for a Classification
task. As such they need to prepare their data and then use it for training alongside a relevant
algorithm.
i. During data preparation they have to handle missing values. Discuss any two ways for
handling missing values. (2 Marks)
ii. Assuming they opt to use kNN algorithm, what are some of the metrics to adhere to
when picking the value of k? (2 Marks)
iii. Apart from kNN, what other four classical algorithms would be applicable is the task
described above? (2 Marks)
b. Using a relevant diagram, describe a perceptron. (3 Marks)
c. List any four-activation functions that can be used in an artificial neural network e.g. the one
from question “d” above (2 Marks)
d. Suppose you are training a neural network model and notice it is overfitting on the training
data, what three ways can be used to reduce chances of overfitting. (3 Marks)
1
e. By providing relevant supporting examples, discuss each of the following three terms and
demonstrate how they differ from each other. (6 Marks)
i. Supervised Learning
ii. Reinforcement Learning
iii. Unsupervised Learning
g. Translate the sentences below into first order predicate logic. (6 Marks)
i. All students are smart.
ii. There exists a student.
iii. There exists a smart student.
iv. Every student likes some student.
v. Every student likes some other student.
vi. There is a student who is liked by every other student.
2
QUESTION TWO 15 Marks
a. What are the building blocks of Artificial Intelligence (2 Marks)
b. Using a relevant diagram, describe they key components of an AI agent. (4 Marks)
c. You’ve been appointed to assist in developing an AI used by a self-sailing public boat
sponsored by R4M Auto Inc. Given that a Task environment can be described using four main
areas, use relevant examples to describe the four areas for this task environment (4 Marks)
d. Two students working on an IS Project plan to create AI agents with a goal of predicting share
prices; these agents will later be set free in the same environment. Describe the two ways in
which these agents can be deployed/set up (2 Marks)
e. You are provided with the following confusion matrix for a Binary Classification task.
Positive Negative
Positive 130 17
Negative 10 125
Using the values in the confusion matrix, calculate the following performance metrics. Show
your working / formulas for each. (3 Marks)
i. Accuracy:
ii. Precision:
iii. Recall:
3
Review 2: This movie is not scary and is slow
Review 3: This movie is spooky and good
d. Referring to the examples in question ‘c’ above, what are the drawbacks of using a Bag-of-
Words (BoW) Model. (2 Marks)
4
i. By showing your expansion approaches from the source ‘S’ to the other nodes, write in
the final A-star scores for all nodes. (5 Marks)
Node Score
S
X
Z
U
V
W
Q
G1
G2
S
ii. State the pathways to the specified goals when using the following algorithms (3 Marks).
i. Greedy Search (To G2)
ii. A-Star Search (To G1)
iii. Iterative Deepening Depth First Search (Consider shortest path to any goal with
a Limit of 3)
a. There are many ways of defining what we might look for in a fair artificial intelligence system.
Describe any two criteria which can be used to describe fairness in AI models. (1 Mark)
b. In their research paper titled A Framework for Understanding Sources of Harm throughout the
Machine Learning Life Cycle, HARINI SURESH and JOHN GUTTAG discussed various
types of bias that may arise during development and deployment of AI systems. By
using/providing relevant examples, discuss any 5 types of bias in AI systems. (10 Marks).
c. What are some of the ethical concerns with the recent adoption of AI in business sectors such
as prediction of cryptocurrency prices (4 Marks)