Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q1. (a) Explain the different approaches used in defining artificial intelligence? [1 marks) (b) Describe briefly the Turing Test for artificial intelligence systems. (4 marks]

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

Q1. (a) Explain the different approaches used in defining artificial intelligence? [1 marks) (b) Describe briefly the Turing Test for artificial intelligence systems. (4 marks] (c) If The Turing Test is passed does this show that computers exhibit intelligence? State your reasons. [4 marks) (d) What advances do you think need to be made in order for The Turing Test to be passed? [4 marks] (e) What is Machine Learning? Give five (5) application areas. [7 marks] (f) What is difference between supervised and unsupervised learning algorithms? Give an example each of both supervised and unsupervised learning algorithms. (6 marks Q2. (a) Consider the 8-puzzle problem described in the textbook and homework assignments. We would like to search for a solution using A - search. Describe the following aspects of the problem formulation: a) states, b) successor function, c) goal test, d) step cost, and e) path cost. [8 marks) (b) For A*-search the evaluation function, f(n), consists of the path cost, g(n), plus the heuristic function, h(n). We will use the Manhattan distance between the current state and the goal state to be the heuristic function. Explain when a heuristic function is admissible and prove this fact for the Manhattan distance heuristic. (5 marks] (c) Describe when a heuristic is consistent and proof this for the Manhattan distance [6 marks) heuristic. Page 1 of 4 (d) For each of the following activities, give a PEAS description of the task environment and characterize it in terms of observability, number of agents, randomness, dynamism and continuity. i. Playing soccer. [5 marks] ii. Taxi driving agent (5 marks] Q3. Suppose you have the following search space: State Next Cost B 4 A 1 B D 3 B E 8 D 2. F 6 D 2 D 4 E G 2 G 8 (a) Draw the state space of this problem. [2 marks] (b) Assume that the initial state is A and the goal state is G. Show how each of the following senrch strategies would create a search tree to find a path from the initial state to the goal state: i. Uniform cost search (4 marks ii. Iterative deepening search (4 marks) At each step of the search algorithm, show which node is being expanded, and the content of fringe. Find the eventual solution found by each algorithm, and the solution cost. (C) Sudoku is a logic-based number placement puzzle. The objective is to fill a 9x9 grid so that each column, each row, and each of the nine 3 x 3 boxes contains the digits from 1 to 9. Each digit can only appear once per column, row, and 3 x 3 box. A sample Sudoku puzzle to use for this question is given in the figure below. The squares are labelled Su (upper-left corner) to S9, (lower-right corner). For example, the 5 in the upper-right side of the grid is $39. Assume you have access to a function Y = Boz(X) which takes in a square X on the grid and returns Ythe list of eight squares that belong to the same 3 x 3 box. For example, Box(S22) = (SL,1,S1,2, S1,3,S2,1, S2,3, S1,1,S12, S3,2). i. Define the properties of the environment for Sudoku. [2 marks ii. Write Sudoku as a well-defined problem. (5 marks] iii. Write Sudoku as a constraint satisfaction problem (CSP). (5 marks! iv. Propose a good heuristic to search the CSP tree. [3 marks Page 2 of (e) Sudoku is a logic-based number placement puzzle. The objective is to fill a 9x9 grid so that each column, each row, and each of the nine 3 x 3 boxes contains the digits from 1 to 9. Each digit can only appear once per column, row, and 3 x 3 box. A sample Sudoku puzzle to use for this question is given in the figure below. The squares are labelled $1,1 (upper-left corner) to Sy, (lower-right corner). For example, the 5 in the upper-right side of the grid is $39. Assume you have access to a function Y = Boz(X) which takes in a square X on the grid and returns Y, the list of eight squares that belong to the same 3 x 3 box. For example, Box(S2,2)=(S..,S1,2,S1,3,S2,1, $23, S3,1,S3,2, S3,2). i. Define the properties of the environment for Sudoku. [2 marks ii. Write Sudoku as a well-defined problem. (5 marks iii. Write Sudoku as a constraint satisfaction problem (CSP). (5 marks! iv. Propose a good heuristic to search the CSP tree. [3 marks Page 2 of 6 1 1 793 5 9 2 358 132 7 4 4 526 1 8 Figure 1: Sudoku problem formulation Q4. (a) Name three (3) strengths and three (3) weaknesses of fuzzy expert systems. [6. marks) (b) Consider the following real variables from everyday life: i. Income measured in GHC. ii. Speed measured in meters per second. iii. A TV show measured in how much you are interested in watching it. iv. A meal measured in how much you like to eat it. V. A traffic light measured in what colour is on In each case, suggest a fuzzy variable corresponding to these real variables. For which of these five (5) variables the use of a fuzzy variable is not really necessary and why? [7 marks) (c) Methane biofilters can be used to oxidize methane using biological activities. It has become necessary to compare performance of two test columns, A and B. The methane outflow level at the surface, in nondimensional units of X = 50, 100, 150, 200, was detected and is tabulated below against the respective methane inflow into each test column. The following fuzzy sets represent the test 0.15 0.25 0.5 0.7 0.2 0.3 0.65 and B = columns: A = 50 100 150 200 50 '100' 150 200 Page 3 of 4 Calculate the following: i. union (AUB) for the test columns, ii. intersection (ANB) of the test columns, and the iii. difference (An-B) for the test columns (6 marks) (d) List the different parts of a fuzzy controller. Describe the roles and purposes of the different parts based on Mamdani and Sugeno Control theory. [10 marks) (e) Assume that the control of the heating and cooling device takes a 12-bit value where 0 represents the coolest setting and 4096 represents the warmest. The value is transmitted from the remote to the heating and cooling device using the infrared transmitter. Design a fuzzy logic controller that attempts to find the correct setting for the heating and cooling device which matches the desired temperature. Be creative in your controller design. Show your diagrams. (5 marks i. What are your control inputs and outputs? [2 marks] ii. What crisp inputs will you use and why? [2 marks iii. What fuzzy membership sets will you use for the input ? [2 marks iv. What fuzzy membership sets will you use for the output ? [2 marks] v. Give four(4) examples of the fuzzy rules. [2 marks] Q5. (a) Design a two-input neural network with McCulloch-Pitts neurons to perform the logical operations (a) AA -B, and (b) AB, where A and B are Boolean variables. Draw the network and show the weights. (8 marks) A B A1-B AB 11 0 0 10 1 1 01 0 1 00 0 0 (b) By definition, a learning system (like a neural network) can learn and adapt to its environment. It is therefore essential that such systems have a feedback mechanism. Clearly and briefly explain this concept in the context of neural networks. [4 marks) (c) State the requirements for a neural network for it to be a universal approximator. [3 marks] (d) Consider a fully connected 3-layer feedforward network with 10 input nodes, 8 compute nodes each in the hidden layers, and 4 compute nodes in the output layer. Each compute node has a bias associated with it. [8 marks) i. Draw and label the neural network architectural diagram for the above description. ii. What is the number of free parameters in the network? (e) What is a training set and how is it used to train neural networks? [2 marks] (f) Suppose that a credit card company decided to deploy a new system for assessing the credit-worthiness of its customers. The new system is using a feed-forward neural network with a supervised learning algorithm. Write detailed explanatory notes of what the bank should have before the system can be developed and deployed for use? Discuss problems associated with this requirement. [8 marks)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

C++ Database Development

Authors: Al Stevens

1st Edition

1558283579, 978-1558283572

Students also viewed these Databases questions