LO 2: Apply AI to solve practical problems

ASSIGNMENT COVERSHEET

Title:

Assignment

Module:

Artificial Intelligence (AI)

 

 

Assessment:

This homework contributes 50% of the module.

Deadline:

Submission deadline: TBC Marked work return date: Feedback and grades will be provided within 15 working days after submission.

Submit: On-Line via Blackboard

Intended Learning Outcomes:

This assignment contributes to the following learning outcomes:

LO 2: Apply AI to solve practical problems

LO 3: Understand the agent-based environment view in AI

Feedback method:

Feedback will be via: Comments on Blackboard. Further feedback will be available on request.

You are reminded of the University rules on Academic Integrity as stated in the student handbook. Examples of conduct regarded as a breach of these regulations include:

  • Plagiarism: reproducing in any work submitted for assessment or review (for example, examination answers, essays, project reports, dissertations or theses) any material derived from work authored by another, without clearly acknowledging the source
  • Duplication of Material
    • Conspiring with others to reproduce the work of others without proper acknowledgement, including knowingly permitting work to be copied by another student
    • Falsification of data/evidence.

Marking Criteria

This assignment will be marked against a model solution. The marks awarded will be consistent with the scores indicated in the assignment sheet. In general, marks may be lost for work which does not show the full method, include the correct units, or is poorly structured and difficult to follow. If assumptions are required, you should state them and justify why they are appropriate. If the work asks you to comment on the final result you should make an appropriate conclusion.

Important Note: This assignment consists of five questions (Q1, Q2, Q3, Q4, and Q5). 

All students must answer Questions 1 and 2, 

which are mandatory. Students will then need to choose any two additional questions from Q3 to Q5 to complete the assignment.

Question 1 [25 Marks]

Select a cutting-edge AI technology that has garnered significant attention in recent media coverage, including news articles, television segments, or online platforms. Conduct a thorough analysis of the technology, its implications, and its trajectory within the realm of artificial intelligence. Prepare a PowerPoint presentation (up to three slides) and a video presentation (not exceeding 3 minutes) showcasing your findings. Turning on the camera is not mandatory, but it is encouraged.

Submission Requirements:

  1. Cover Slide:
  • Introduce yourself, including your full name, student ID, and your programme of study at the University of West London.
  • Provide a comprehensive overview of the chosen AI technology, including its purpose, key functionalities, and target applications, showcasing its capabilities and
  •  how it interacts with users or its environment.
  • Trace the evolution of this AI technology, highlighting significant milestones in its development. Analyze the broader implications of this technology on society. Explore the future trajectory of this AI technology, including anticipated advancements, potential challenges, and its role in shaping future AI landscapes.

2. Slide 1: Technology Overview and Demonstration:

3. Slide 2: Evolution and Impact of AI Technology:

Video Presentation Guidelines:

  • Introduction (~30 seconds):
    • Introduce yourself and provide context for the chosen technology.
    • Slide 1 Presentation (~1 minute):
      • Explain the technology in detail, emphasizing its significance and functionality. Include the demonstration you may have prepared.
      • Slide 2 Presentation (~1 minute):
        • Discuss the historical evolution, societal implications, and future prospects of the technology, providing a nuanced analysis that showcases critical thinking.
      • Conclusion (~30 seconds):
        • Summarize your findings and reflect on the importance of understanding AI technologies in today’s world.
      • Reference to Exemplars: Examples of previous presentations can be found on Blackboard. While you may use these as a guide, please ensure that your work is original and reflective of your understanding of the topic. Respect the rights of other students by not directly copying their work.

Evaluation Criteria:

  • Depth of analysis and critical thinking demonstrated in the presentation. (10 marks)
  • Clarity and coherence of the presentation slides and video. (5 marks)
  • Engagement and professionalism in video delivery. (5 marks)
  • Use of visuals and demonstrations to enhance understanding. (5 marks)

Question 2 [25 Marks]

Imagine you are designing a new smart home assistant, similar to popular systems like Google Home or Amazon’s Alexa. 

The assistant must respond to voice commands from the user, perform some particular tasks, and interact naturally with the users.

(a) Using the PEAS framework (Performance, Environment, Actuators, Sensors), develop your own detailed analysis of this smart home assistant. Instead of a general description,

provide examples of real-world scenarios to illustrate each component. Make sure to discuss how each element contributes to the assistant`s ability to function in a home environment.

  • Performance: How would you define "success" for your assistant? Provide at least two measurable performance criteria.
  • Environment: Identify key aspects of the home setting. What kinds of environments or conditions should the assistant be able to handle? Explain with examples.
  • Actuators: Describe specific actions your assistant would take and explain why these are the most relevant actions.
  • Sensors: Detail the types of input your assistant needs to function effectively, based on the home environment. What challenges might these sensors face?

(b)Evaluate the environment in which the smart assistant operates based on the following properties. For each, give specific examples from your personal experience or a hypothetical household

You must also provide a detailed explanation for why each characteristic applies to your assistant.

  • Fully versus partially observable: Explain why the assistant may not have complete knowledge of the environment in all cases, and how this impacts its performance.
  • Deterministic versus stochastic: Discuss whether the assistant’s environment is predictable or involves uncertainty, providing examples of unexpected situations the assistant might face.
  • Episodic versus sequential: Does the assistant’s behavior depend on previous interactions? Why?
  • Static versus dynamic: How does the environment change over time, and what challenges does that pose for the assistant?
  • Discrete versus continuous: Is the assistant`s interaction with the environment made up of distinct events or a flow of continuous information? Why?
  • Single versus multi-agent: Are there other systems or agents (human or AI) interacting with your assistant? Justify your answer with examples from a smart home setting.

(c) Based on your analysis of the environment and tasks, propose an agent design

for your smart home assistant. Choose from one of the following agent types:

  • Simple reflex agent
  • Model-based agent
  • Goal-based agent
  • Utility-based agent
  • Learning agent

Justify your answer with explanation.

Question 3 [25 Marks] 

A state space graph is shown in Figure 3.1.

Figure 3.1.

For each of the following AI search strategies, work out the order in which states are expanded, as well as the path returned by graph search.

S: Initial State G: Goal State

(a) Depth-First Search (DFS)

  • Describe the order in which states are expanded.
  • Identify the path returned from the initial state (S) to the goal state (G).
  • Describe the order in which states are expanded.
  • Identify the path returned from the initial state (S) to the goal state (G).
  • Describe the order in which states are expanded at each depth level.
  • Identify the path returned from the initial state (S) to the goal state (G).
  • Describe the order in which states are expanded based on cumulative costs.
  • Identify the path returned from the initial state (S) to the goal state (G).

(b) Breadth-First Search (BFS)

(c) Iterative Deepening Search (IDS)

(d) Uniform Cost Search (UCS)

Question 4 [25 Marks] 

Consider the following joint probability distribution of X and Y shown in Table 4.1.

Table 4.1.

Find:

(a) P(X=1, Y=2)

(b) P(X=0, 1≤Y<3)

(c) The marginal probability function for X and Y

(d) The conditional probability function for X given Y=1

(e) Are X and Y independent? Why?

4.2 What is the probability of any of the following events? Please provide details of your calculations, if required.

 Table 4.2.

  1. P(X=true | Y=true) ?
  2. P(X=false | Y=true) ?
  3. P(Y=false | X=true) ?
    1. Are X and Y independent? Why?

Question5 Programming Question [25 Marks]

Please include your name and student ID on the first line of your code.

A state space graph is shown in Figure 5.1. S is the start state, and J is the goal state. Your task is to write a program using Breadth-First Search (BFS) to find the shortest path from S to J.

Requirements:

  1. Implementation:
  • Write a BFS algorithm to solve the search problem.
  • Print the order of nodes as they are explored.
  • Print the shortest path from S to J.
  • Ensure your code is original and not copied from online sources.

2. Output:

3. Original Work:

Submission Instructions:

  • Submit your code with your name and student ID at the top, along with any explanations or reports.

ASSIGNMENT COVERSHEET

 

 

Title:

Assignment

Module:

Artificial Intelligence (AI)

Work Setter:

Dr Fateme Dinmohammadi

Assessment:

This homework contributes 50% of the module.

Deadline:

Submission deadline: TBC Marked work return date: Feedback and grades will be provided within 15 working days after submission.

Submit: On-Line via Blackboard

Intended Learning Outcomes:

This assignment contributes to the following learning outcomes:

LO 2: Apply AI to solve practical problems

LO 3: Understand the agent-based environment view in AI

Feedback method:

Feedback will be via: Comments on Blackboard. Further feedback will be available on request.

 

You are reminded of the University rules on Academic Integrity as stated in the student handbook. Examples of conduct regarded as a breach of these regulations include:

 

· Plagiarism: reproducing in any work submitted for assessment or review (for example, examination answers, essays, project reports, dissertations or theses) any material derived from work authored by another, without clearly acknowledging the source

· Duplication of Material

· Conspiring with others to reproduce the work of others without proper acknowledgement, including knowingly permitting work to be copied by another student

· Falsification of data/evidence.

 

 

Marking Criteria

This assignment will be marked against a model solution. The marks awarded will be consistent with the scores indicated in the assignment sheet. In general, marks may be lost for work which does not show the full method, include the correct units, or is poorly structured and difficult to follow. If assumptions are required, you should state them and justify why they are appropriate. If the work asks you to comment on the final result you should make an appropriate conclusion.

Important Note: This assignment consists of five questions (Q1, Q2, Q3, Q4, and Q5). All students must answer Questions 1 and 2, which are mandatory. Students will then need to choose any two additional questions from Q3 to Q5 to complete the assignment.


 

Question 1 [25 Marks]

 

Select a cutting-edge AI technology that has garnered significant attention in recent media coverage, including news articles, television segments, or online platforms. Conduct a thorough analysis of the technology, its implications, and its trajectory within the realm of artificial intelligence. Prepare a PowerPoint presentation (up to three slides) and a video presentation (not exceeding 3 minutes) showcasing your findings. Turning on the camera is not mandatory, but it is encouraged.

 

Submission Requirements:

 

1. Cover Slide:

Introduce yourself, including your full name, student ID, and your programme of study at the University of West London.

2. Slide 1: Technology Overview and Demonstration:

Provide a comprehensive overview of the chosen AI technology, including its purpose, key functionalities, and target applications, showcasing its capabilities and how it interacts with users or its environment.

3. Slide 2: Evolution and Impact of AI Technology:

Trace the evolution of this AI technology, highlighting significant milestones in its development. Analyze the broader implications of this technology on society. Explore the future trajectory of this AI technology, including anticipated advancements, potential challenges, and its role in shaping future AI landscapes.

 
 

 

Video Presentation Guidelines:

· Introduction (~30 seconds):

Introduce yourself and provide context for the chosen technology.

· Slide 1 Presentation (~1 minute):

Explain the technology in detail, emphasizing its significance and functionality. Include the demonstration you may have prepared.

· Slide 2 Presentation (~1 minute):

Discuss the historical evolution, societal implications, and future prospects of the technology, providing a nuanced analysis that showcases critical thinking.

· Conclusion (~30 seconds):

Summarize your findings and reflect on the importance of understanding AI technologies in today’s world.


· Reference to Exemplars: Examples of previous presentations can be found on Blackboard. While you may use these as a guide, please ensure that your work is original and reflective of your understanding of the topic. Respect the rights of other students by not directly copying their work.

 

Evaluation Criteria:

· Depth of analysis and critical thinking demonstrated in the presentation. (10 marks)

· Clarity and coherence of the presentation slides and video. (5 marks)

· Engagement and professionalism in video delivery. (5 marks)

· Use of visuals and demonstrations to enhance understanding. (5 marks)

 

 

Question 2 [25 Marks]

 

Imagine you are designing a new smart home assistant, similar to popular systems like Google Home or Amazon’s Alexa. The assistant must respond to voice commands from the user, perform some particular tasks, and interact naturally with the users.

 

(a) Using the PEAS framework (Performance, Environment, Actuators, Sensors), develop your own detailed analysis of this smart home assistant. Instead of a general description, provide examples of real-world scenarios to illustrate each component. Make sure to discuss how each element contributes to the assistant`s ability to function in a home environment.

· Performance: How would you define "success" for your assistant? Provide at least two measurable performance criteria.

· Environment: Identify key aspects of the home setting. What kinds of environments or conditions should the assistant be able to handle? Explain with examples.

· Actuators: Describe specific actions your assistant would take and explain why these are the most relevant actions.

· Sensors: Detail the types of input your assistant needs to function effectively, based on the home environment. What challenges might these sensors face?

 

(b) Evaluate the environment in which the smart assistant operates based on the following properties. For each, give specific examples from your personal experience or a hypothetical household. You must also provide a detailed explanation for why each characteristic applies to your assistant.

· Fully versus partially observable: Explain why the assistant may not have complete knowledge of the environment in all cases, and how this impacts its performance.


· Deterministic versus stochastic: Discuss whether the assistant’s environment is predictable or involves uncertainty, providing examples of unexpected situations the assistant might face.

· Episodic versus sequential: Does the assistant’s behavior depend on previous interactions? Why?

· Static versus dynamic: How does the environment change over time, and what challenges does that pose for the assistant?

· Discrete versus continuous: Is the assistant`s interaction with the environment made up of distinct events or a flow of continuous information? Why?

· Single versus multi-agent: Are there other systems or agents (human or AI) interacting with your assistant? Justify your answer with examples from a smart home setting.

 

(c) Based on your analysis of the environment and tasks, propose an agent design

for your smart home assistant. Choose from one of the following agent types:

 

· Simple reflex agent

· Model-based agent

· Goal-based agent

· Utility-based agent

· Learning agent

 

Justify your answer with explanation.

 

Question 3 [25 Marks]

 

A state space graph is shown in Figure 3.1.

 
 

 

Figure 3.1.


For each of the following AI search strategies, work out the order in which states are expanded, as well as the path returned by graph search.

S: Initial State G: Goal State

 

(a) Depth-First Search (DFS)

· Describe the order in which states are expanded.

· Identify the path returned from the initial state (S) to the goal state (G).

(b) Breadth-First Search (BFS)

· Describe the order in which states are expanded.

· Identify the path returned from the initial state (S) to the goal state (G).

(c) Iterative Deepening Search (IDS)

· Describe the order in which states are expanded at each depth level.

· Identify the path returned from the initial state (S) to the goal state (G).

(d) Uniform Cost Search (UCS)

· Describe the order in which states are expanded based on cumulative costs.

· Identify the path returned from the initial state (S) to the goal state (G).

 

Question 4 [25 Marks]

 

Consider the following joint probability distribution of X and Y shown in Table 4.1.

Table 4.1.

 
 

 

Find:

(a) P(X=1, Y=2)

(b) P(X=0, 1Y<3)

(c) The marginal probability function for X and Y

(d) The conditional probability function for X given Y=1


(e) Are X and Y independent? Why?

 

4.2 What is the probability of any of the following events? Please provide details of your calculations, if required.

 

 
 

Table 4.2.

 

A. P(X=true | Y=true) ?

B. P(X=false | Y=true) ?

C. P(Y=false | X=true) ?

D. Are X and Y independent? Why?

 

 

 

 
 

 

Question5 Programming Question [25 Marks]

 

Please include your name and student ID on the first line of your code.

 

A state space graph is shown in Figure 5.1. S is the start state, and J is the goal state. Your task is to write a program using Breadth-First Search (BFS) to find the shortest path from S to J.

 

Requirements:

 

1. Implementation:

Write a BFS algorithm to solve the search problem.

2. Output:

Print the order of nodes as they are explored.

Print the shortest path from S to J.

3. Original Work:

Ensure your code is original and not copied from online sources.

 

Submission Instructions:


· Submit your code with your name and student ID at the top, along with any explanations or reports.

 

 

 
 

 

Figure 5.1

100% Plagiarism Free & Custom Written, Tailored to your instructions