SlideShare a Scribd company logo
1 of 17
Artificial Intelligence
Introduction
   Alison Cawsey
   room: G36
   email: alison@macs.hw.ac.uk

   Ruth Aylett
   Room: 1.37
   Email: ruth@macs.hw.ac.uk
What is AI?
Various definitions:
  Building intelligent entities.
  Getting computers to do tasks which require
  human intelligence.
But what is “intelligence”?
Simple things turn out to be the hardest to
automate:
  Recognising a face.
  Navigating a busy street.
  Understanding what someone says.
All tasks require reasoning on knowledge.
Why do AI?
 Two main goals of AI:
   To understand human intelligence better. We
   test theories of human intelligence by writing
   programs which emulate it.
   To create useful “smart” programs able to do
   tasks that would normally require a human
   expert.
Who does AI?
  Many disciplines contribute to goal of
  creating/modelling intelligent entities:
    Computer Science
    Psychology (human reasoning)
    Philosophy (nature of belief, rationality, etc)
    Linguistics (structure and meaning of
    language)
    Human Biology (how brain works)
  Subject draws on ideas from each discipline.
Typical AI Problems
Intelligent entities (or “agents”) need to be able to do
both “mundane” and “expert” tasks:
Mundane tasks - consider going shopping:
  Planning a route, and sequence of shops to visit!
  Recognising (through vision) buses, people.
  Communicating (through natural language).
  Navigating round obstacles on the street, and
  manipulating objects for purchase.
Expert tasks are things like:
  medical diagnosis.
  equipment repair.
Often “mundane” tasks are the hardest.
Philosophical Issues
  What is intelligence?
  Can a machine be truly “intelligent”? Is there more to
  human intelligence than rules, data and calculations?
Tests:
  Turing Test: Can someone tell which is the machine,
  when communicating to human and to a machine in
  another room? If not, can we call the machine
  intelligent?
  Chinese room: Searle says no. Describes a thought
  experiment where talk in Chinese by looking up what
  to say from huge rule book.
  Loebner contest: Contest for most human-like
  conversation system.
Example conversation with system
winning Loebner prize
  P: No worries! Hey! I didn’t come here to be subjected to
  bad language! How rude!
  J: Sorry, sorry. Didn’t mean to offend. So, how old are
  you?
  P: That’s OK. Just don’t do it again. Well, should my age
  really matter. Just for the record I’m 24. How old are you
  then.
But.. System was based on fairly simple methods, with pre-
  stored amusing replies. These simple methods first used
  in “Eliza” - a program to emulate psychotherapist.
   Try esc-x doctor while in emacs for a version of Eliza.
  Human-like performance doesn’t guarantee intelligence.
About this Module
Covers following AI topics
    AI Programming, using Prolog.
    Knowledge representation:
       How do we represent knowledge about the world in
       a formal manner that can be manipulated in a sound
       and efficient manner?
    Search:
       How can an AI system go through all the possibilities
       in a systematic manner when looking for solutions to
        complex problems.
About this Module
   Natural Language:
     How can a system communicate in a natural
     language such as English.
   Machine learning and neural networks:
     How can a system learn from experience, or
     from past case data.
   Agents:
     How can we develop and use practical
     “intelligent agents”.
   Knowledge Engineering:
     How do we elicit the human expertise required
     to build intelligent applications.
Labs and Coursework
  Weekly lab, starting Wed 16th April!
  Labs give you experience of two AI programming
  languages: Prolog and NetLogo.
  Weeks 1-4: Exercises on AI Programming in
  Prolog.
    Some of these must be “ticked off” by Lab
    demonstrators and will contribute to your coursework
    mark.
  Weeks 5-8: NetLogo with assessed exercise.
Books etc.
 “Essence of Artificial Intelligence” by Alison
 Cawsey, Prentice Hall.
   Review: “I missed most of the lectures but thanks to this short
   and sweet book I passed my first year introduction to AI course.
   If you are a slack student taking an AI course - buy this book. “
 Artificial Intelligence: A Modern Approach (second
 edition), Russell & Norvig, Prentice Hall. 2003
 Artificial Intelligence: Structures and Strategies for
 Complex Problem Solving, Luger, Benjamin Cummings.
 Slides, lab exercises etc for weeks 1-4 on
 www.macs.hw.ac.uk/~alison/ai3/
Module prerequisites/assumptions
   Programming (software engineering).
   CS students will benefit from:
     Logic and Proof
   IT students will benefit from
     Cognitive Science.
   Relevant material from logic and proof will be
   reviewed again for benefit of IT students.
Getting Started with Prolog
Prolog is a language based on first order
predicate logic. (Will revise/introduce this later).
We can assert some facts and some rules, then
ask questions to find out what is true.
Facts: likes(john, mary).
        tall(john).
        tall(sue).
        short(fred).
        teaches(alison, artificialIntelligence).

Note: lower case letters, full stop at end.
Prolog
 Rules:
    likes(fred, X) :- tall(X).
    examines(Person, Course) :- teaches(Person, Course).


   John likes someone if that someone is tall.
   A person examines a course if they teach that
   course.
   NOTE: “:-” used to mean IF. Meant to look a bit
   like a backwards arrow
   NOTE: Use of capitals (or words starting with
   capitals) for variables.
Prolog
 Your “program” consists of a file containing
 facts and rules.
 You “run” your program by asking “questions”
 at the prolog prompt.

       |?- likes(fred, X).

 John likes who?
 Answers are then displayed. Type “;” to get
 more answers: (Note: darker font for system output)
       X = john ? ;
       X = sue ? ;
       no
Prolog and Search
 Prolog can return more than one answer to a
 question.
 It has a built in search method for going
 through all the possible rules and facts to
 obtain all possible answers.
 Search method “depth first search” with
 “backtracking”.
Summary
 AI about creating intelligent entities, with a
 range of abilities such as language, vision,
 manipulation/navigation..
 Intelligence involves knowledge - this must be
 represented with and reasoned with.
 Solving problems involves search.
 Prolog is a language geared to representing
 knowledge and searching for solutions.
 Prolog programs based on facts and rules, and
 run by asking questions.

More Related Content

What's hot

Introduction to Artificial Intelligence
Introduction to Artificial IntelligenceIntroduction to Artificial Intelligence
Introduction to Artificial Intelligenceananth
 
Intelligence and artificial intelligence
Intelligence and artificial intelligenceIntelligence and artificial intelligence
Intelligence and artificial intelligenceDr. Uday Saikia
 
Python AI tutorial
Python AI tutorialPython AI tutorial
Python AI tutorialgrinu
 
Extending and integrating a hybrid knowledge representation system into the c...
Extending and integrating a hybrid knowledge representation system into the c...Extending and integrating a hybrid knowledge representation system into the c...
Extending and integrating a hybrid knowledge representation system into the c...Valentina Rho
 
ARTIFICIAL INTELLIGENT ( ITS / TASK 6 ) done by Wael Saad Hameedi / P71062
ARTIFICIAL INTELLIGENT ( ITS / TASK 6 ) done by Wael Saad Hameedi / P71062ARTIFICIAL INTELLIGENT ( ITS / TASK 6 ) done by Wael Saad Hameedi / P71062
ARTIFICIAL INTELLIGENT ( ITS / TASK 6 ) done by Wael Saad Hameedi / P71062Wael Alawsey
 
Deep Learning: Towards General Artificial Intelligence
Deep Learning: Towards General Artificial IntelligenceDeep Learning: Towards General Artificial Intelligence
Deep Learning: Towards General Artificial IntelligenceRukshan Batuwita
 
Crash course in chat bots
Crash course in chat botsCrash course in chat bots
Crash course in chat botsDylan Thorne
 
AI_ 3 & 4 Knowledge Representation issues
AI_ 3 & 4 Knowledge Representation issuesAI_ 3 & 4 Knowledge Representation issues
AI_ 3 & 4 Knowledge Representation issuesKhushali Kathiriya
 

What's hot (20)

Introduction to Artificial Intelligence
Introduction to Artificial IntelligenceIntroduction to Artificial Intelligence
Introduction to Artificial Intelligence
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 
Introduction to AI
Introduction to AIIntroduction to AI
Introduction to AI
 
Intelligence and artificial intelligence
Intelligence and artificial intelligenceIntelligence and artificial intelligence
Intelligence and artificial intelligence
 
Python AI tutorial
Python AI tutorialPython AI tutorial
Python AI tutorial
 
Unit 2 ai
Unit 2 aiUnit 2 ai
Unit 2 ai
 
Extending and integrating a hybrid knowledge representation system into the c...
Extending and integrating a hybrid knowledge representation system into the c...Extending and integrating a hybrid knowledge representation system into the c...
Extending and integrating a hybrid knowledge representation system into the c...
 
ARTIFICIAL INTELLIGENT ( ITS / TASK 6 ) done by Wael Saad Hameedi / P71062
ARTIFICIAL INTELLIGENT ( ITS / TASK 6 ) done by Wael Saad Hameedi / P71062ARTIFICIAL INTELLIGENT ( ITS / TASK 6 ) done by Wael Saad Hameedi / P71062
ARTIFICIAL INTELLIGENT ( ITS / TASK 6 ) done by Wael Saad Hameedi / P71062
 
Artificial intelligance
Artificial intelliganceArtificial intelligance
Artificial intelligance
 
Unit 1
Unit 1Unit 1
Unit 1
 
901470 chap1
901470 chap1901470 chap1
901470 chap1
 
AI_1 Introduction of AI
AI_1 Introduction of AIAI_1 Introduction of AI
AI_1 Introduction of AI
 
Deep Learning: Towards General Artificial Intelligence
Deep Learning: Towards General Artificial IntelligenceDeep Learning: Towards General Artificial Intelligence
Deep Learning: Towards General Artificial Intelligence
 
1.introduction to ai
1.introduction to ai1.introduction to ai
1.introduction to ai
 
Crash course in chat bots
Crash course in chat botsCrash course in chat bots
Crash course in chat bots
 
Ai lecture 1
Ai  lecture 1Ai  lecture 1
Ai lecture 1
 
Cosc 208 lecture note-1
Cosc 208 lecture note-1Cosc 208 lecture note-1
Cosc 208 lecture note-1
 
AI_ 3 & 4 Knowledge Representation issues
AI_ 3 & 4 Knowledge Representation issuesAI_ 3 & 4 Knowledge Representation issues
AI_ 3 & 4 Knowledge Representation issues
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 

Viewers also liked

Artificial intelligence Show
Artificial intelligence ShowArtificial intelligence Show
Artificial intelligence ShowMasood Ibraheem
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial IntelligenceNiket Singh
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial IntelligenceAIT
 

Viewers also liked (6)

Turing ai rosie
Turing ai rosieTuring ai rosie
Turing ai rosie
 
Artificial intelligence Show
Artificial intelligence ShowArtificial intelligence Show
Artificial intelligence Show
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
Artificial inteligence
Artificial inteligenceArtificial inteligence
Artificial inteligence
 

Similar to Artificial intelligency full_ppt_persentation_way2project_in

Artificial intelligence introduction
Artificial intelligence introductionArtificial intelligence introduction
Artificial intelligence introductionPrafulla Tekriwal
 
chapter 1 AI.pptx
chapter 1 AI.pptxchapter 1 AI.pptx
chapter 1 AI.pptxqwtadhsaber
 
901470_Chap1.ppt
901470_Chap1.ppt901470_Chap1.ppt
901470_Chap1.pptEithuThutun
 
901470_Chap1.ppt about to Artificial Intellgence
901470_Chap1.ppt about to Artificial Intellgence901470_Chap1.ppt about to Artificial Intellgence
901470_Chap1.ppt about to Artificial Intellgencechougulesup79
 
artificial intelligence basis-introduction
artificial intelligence basis-introductionartificial intelligence basis-introduction
artificial intelligence basis-introductionSaranya Subakaran
 
Artificial Intelligence for Business.ppt
Artificial Intelligence for Business.pptArtificial Intelligence for Business.ppt
Artificial Intelligence for Business.pptFarhanaMariyam1
 
901470_Chap1.ppt.artificial intelligence
901470_Chap1.ppt.artificial intelligence901470_Chap1.ppt.artificial intelligence
901470_Chap1.ppt.artificial intelligencefloraaluoch3
 
Artificial Intelligence PPT.ppt
Artificial Intelligence PPT.pptArtificial Intelligence PPT.ppt
Artificial Intelligence PPT.pptDarshRawat2
 
Introduction to Artificial Intelligence.doc
Introduction to Artificial Intelligence.docIntroduction to Artificial Intelligence.doc
Introduction to Artificial Intelligence.docbutest
 
CS 561a: Introduction to Artificial Intelligence
CS 561a: Introduction to Artificial IntelligenceCS 561a: Introduction to Artificial Intelligence
CS 561a: Introduction to Artificial Intelligencebutest
 

Similar to Artificial intelligency full_ppt_persentation_way2project_in (20)

Artificial intelligence introduction
Artificial intelligence introductionArtificial intelligence introduction
Artificial intelligence introduction
 
Chapter 1 (final)
Chapter 1 (final)Chapter 1 (final)
Chapter 1 (final)
 
chapter 1 AI.pptx
chapter 1 AI.pptxchapter 1 AI.pptx
chapter 1 AI.pptx
 
901470_Chap1.ppt
901470_Chap1.ppt901470_Chap1.ppt
901470_Chap1.ppt
 
901470_Chap1.ppt
901470_Chap1.ppt901470_Chap1.ppt
901470_Chap1.ppt
 
901470_Chap1.ppt
901470_Chap1.ppt901470_Chap1.ppt
901470_Chap1.ppt
 
AI_Intro1.ppt
AI_Intro1.pptAI_Intro1.ppt
AI_Intro1.ppt
 
Chap1.ppt
Chap1.pptChap1.ppt
Chap1.ppt
 
901470_Chap1.ppt about to Artificial Intellgence
901470_Chap1.ppt about to Artificial Intellgence901470_Chap1.ppt about to Artificial Intellgence
901470_Chap1.ppt about to Artificial Intellgence
 
artificial intelligence basis-introduction
artificial intelligence basis-introductionartificial intelligence basis-introduction
artificial intelligence basis-introduction
 
901470_Chap1 (1).ppt
901470_Chap1 (1).ppt901470_Chap1 (1).ppt
901470_Chap1 (1).ppt
 
Artificial Intelligence for Business.ppt
Artificial Intelligence for Business.pptArtificial Intelligence for Business.ppt
Artificial Intelligence for Business.ppt
 
901470_Chap1.ppt
901470_Chap1.ppt901470_Chap1.ppt
901470_Chap1.ppt
 
901470_Chap1.ppt
901470_Chap1.ppt901470_Chap1.ppt
901470_Chap1.ppt
 
901470_Chap1.ppt
901470_Chap1.ppt901470_Chap1.ppt
901470_Chap1.ppt
 
(Ch#1) artificial intelligence
(Ch#1) artificial intelligence(Ch#1) artificial intelligence
(Ch#1) artificial intelligence
 
901470_Chap1.ppt.artificial intelligence
901470_Chap1.ppt.artificial intelligence901470_Chap1.ppt.artificial intelligence
901470_Chap1.ppt.artificial intelligence
 
Artificial Intelligence PPT.ppt
Artificial Intelligence PPT.pptArtificial Intelligence PPT.ppt
Artificial Intelligence PPT.ppt
 
Introduction to Artificial Intelligence.doc
Introduction to Artificial Intelligence.docIntroduction to Artificial Intelligence.doc
Introduction to Artificial Intelligence.doc
 
CS 561a: Introduction to Artificial Intelligence
CS 561a: Introduction to Artificial IntelligenceCS 561a: Introduction to Artificial Intelligence
CS 561a: Introduction to Artificial Intelligence
 

Recently uploaded

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 

Recently uploaded (20)

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 

Artificial intelligency full_ppt_persentation_way2project_in

  • 1. Artificial Intelligence Introduction Alison Cawsey room: G36 email: alison@macs.hw.ac.uk Ruth Aylett Room: 1.37 Email: ruth@macs.hw.ac.uk
  • 2. What is AI? Various definitions: Building intelligent entities. Getting computers to do tasks which require human intelligence. But what is “intelligence”? Simple things turn out to be the hardest to automate: Recognising a face. Navigating a busy street. Understanding what someone says. All tasks require reasoning on knowledge.
  • 3. Why do AI? Two main goals of AI: To understand human intelligence better. We test theories of human intelligence by writing programs which emulate it. To create useful “smart” programs able to do tasks that would normally require a human expert.
  • 4. Who does AI? Many disciplines contribute to goal of creating/modelling intelligent entities: Computer Science Psychology (human reasoning) Philosophy (nature of belief, rationality, etc) Linguistics (structure and meaning of language) Human Biology (how brain works) Subject draws on ideas from each discipline.
  • 5. Typical AI Problems Intelligent entities (or “agents”) need to be able to do both “mundane” and “expert” tasks: Mundane tasks - consider going shopping: Planning a route, and sequence of shops to visit! Recognising (through vision) buses, people. Communicating (through natural language). Navigating round obstacles on the street, and manipulating objects for purchase. Expert tasks are things like: medical diagnosis. equipment repair. Often “mundane” tasks are the hardest.
  • 6. Philosophical Issues What is intelligence? Can a machine be truly “intelligent”? Is there more to human intelligence than rules, data and calculations? Tests: Turing Test: Can someone tell which is the machine, when communicating to human and to a machine in another room? If not, can we call the machine intelligent? Chinese room: Searle says no. Describes a thought experiment where talk in Chinese by looking up what to say from huge rule book. Loebner contest: Contest for most human-like conversation system.
  • 7. Example conversation with system winning Loebner prize P: No worries! Hey! I didn’t come here to be subjected to bad language! How rude! J: Sorry, sorry. Didn’t mean to offend. So, how old are you? P: That’s OK. Just don’t do it again. Well, should my age really matter. Just for the record I’m 24. How old are you then. But.. System was based on fairly simple methods, with pre- stored amusing replies. These simple methods first used in “Eliza” - a program to emulate psychotherapist. Try esc-x doctor while in emacs for a version of Eliza. Human-like performance doesn’t guarantee intelligence.
  • 8. About this Module Covers following AI topics AI Programming, using Prolog. Knowledge representation: How do we represent knowledge about the world in a formal manner that can be manipulated in a sound and efficient manner? Search: How can an AI system go through all the possibilities in a systematic manner when looking for solutions to complex problems.
  • 9. About this Module Natural Language: How can a system communicate in a natural language such as English. Machine learning and neural networks: How can a system learn from experience, or from past case data. Agents: How can we develop and use practical “intelligent agents”. Knowledge Engineering: How do we elicit the human expertise required to build intelligent applications.
  • 10. Labs and Coursework Weekly lab, starting Wed 16th April! Labs give you experience of two AI programming languages: Prolog and NetLogo. Weeks 1-4: Exercises on AI Programming in Prolog. Some of these must be “ticked off” by Lab demonstrators and will contribute to your coursework mark. Weeks 5-8: NetLogo with assessed exercise.
  • 11. Books etc. “Essence of Artificial Intelligence” by Alison Cawsey, Prentice Hall. Review: “I missed most of the lectures but thanks to this short and sweet book I passed my first year introduction to AI course. If you are a slack student taking an AI course - buy this book. “ Artificial Intelligence: A Modern Approach (second edition), Russell & Norvig, Prentice Hall. 2003 Artificial Intelligence: Structures and Strategies for Complex Problem Solving, Luger, Benjamin Cummings. Slides, lab exercises etc for weeks 1-4 on www.macs.hw.ac.uk/~alison/ai3/
  • 12. Module prerequisites/assumptions Programming (software engineering). CS students will benefit from: Logic and Proof IT students will benefit from Cognitive Science. Relevant material from logic and proof will be reviewed again for benefit of IT students.
  • 13. Getting Started with Prolog Prolog is a language based on first order predicate logic. (Will revise/introduce this later). We can assert some facts and some rules, then ask questions to find out what is true. Facts: likes(john, mary). tall(john). tall(sue). short(fred). teaches(alison, artificialIntelligence). Note: lower case letters, full stop at end.
  • 14. Prolog Rules: likes(fred, X) :- tall(X). examines(Person, Course) :- teaches(Person, Course). John likes someone if that someone is tall. A person examines a course if they teach that course. NOTE: “:-” used to mean IF. Meant to look a bit like a backwards arrow NOTE: Use of capitals (or words starting with capitals) for variables.
  • 15. Prolog Your “program” consists of a file containing facts and rules. You “run” your program by asking “questions” at the prolog prompt. |?- likes(fred, X). John likes who? Answers are then displayed. Type “;” to get more answers: (Note: darker font for system output) X = john ? ; X = sue ? ; no
  • 16. Prolog and Search Prolog can return more than one answer to a question. It has a built in search method for going through all the possible rules and facts to obtain all possible answers. Search method “depth first search” with “backtracking”.
  • 17. Summary AI about creating intelligent entities, with a range of abilities such as language, vision, manipulation/navigation.. Intelligence involves knowledge - this must be represented with and reasoned with. Solving problems involves search. Prolog is a language geared to representing knowledge and searching for solutions. Prolog programs based on facts and rules, and run by asking questions.