SlideShare a Scribd company logo
Lecture 1:
Introduction
Sarun Dahal
sarun.dahal@islingtoncollege.edu.np
9 May 2024 CU6051NI Artificial Intelligence 1
Agenda
• Introduction and overview of the module
• Introduction to Artificial Intelligence
• Applications of Artificial Intelligence
• Data structures recap
9 May 2024 CU6051NI Artificial Intelligence 2
What is Artificial Intelligence?
“Intelligence: The ability to learn and solve problems” - Webster’s
Dictionary.
“Artificial intelligence (AI) is the intelligence exhibited by machines or
software” - Wikipedia.
“The science and engineering of making intelligent machines” – John
McCarthy.
“The study and design of intelligent agents, where an intelligent agent is a
system that perceives its environment and takes actions that maximize its
chances of success.” - Russel and Norvig AI book.
9 May 2024 CU6051NI Artificial Intelligence 3
Why AI?
“Just as the Industrial Revolution freed up a lot of humanity from
physical drudgery, I think AI has the potential to free up humanity
from a lot of the mental drudgery.” - Andrew Ng.
“Artificial Intelligence is the New Electricity.” - Andrew Ng.
9 May 2024 CU6051NI Artificial Intelligence 4
Overview of the module
• Semester Long Module
• Fully assessed by coursework
• 2 courseworks
 CW1 (20%) – Research work on a chosen AI topic
 CW2 (80%) – Development of an AI system based on topic chosen in
CW1
• Students will be required to present their work in form of a
VIVA/Presentation
9 May 2024 CU6051NI Artificial Intelligence 5
Applications of AI
Speech Recognition
• Virtual assistants: Siri (Apple), Echo (Amazon),
Google Assistant, Cortana (Microsoft)
• “They” help get things done: send an email,
make an appointment, find a restaurant, tell
you the weather and more
• Leverage deep neural networks to handle
speech recognition and natural language
understanding
9 May 2024 CU6051NI Artificial Intelligence 6
Applications of AI
Handwriting recognition (check, zipcode)
9 May 2024 CU6051NI Artificial Intelligence 7
Applications of AI
Machine Translation
100+ languages
9 May 2024 CU6051NI Artificial Intelligence 8
Applications of AI
Robotics: Awesome robots today!
9 May 2024 CU6051NI Artificial Intelligence 9
Applications of AI
Recommendation Systems
9 May 2024 CU6051NI Artificial Intelligence 10
Applications of AI
Recommendation Systems
9 May 2024 CU6051NI Artificial Intelligence 11
Applications of AI
Search Engines
9 May 2024 CU6051NI Artificial Intelligence 12
Applications of AI
Email (spam detection)
9 May 2024 CU6051NI Artificial Intelligence 13
Applications of AI
Chess (1997): Kasparov vs IBM Deep Blue
Powerful search algorithms !!
9 May 2024 CU6051NI Artificial Intelligence 14
Applications of AI
Jeopardy! (2011): Humans vs. IBM Watson
Natural Language Understanding and information extraction!
9 May 2024 CU6051NI Artificial Intelligence 15
Applications of AI
Go (2016): Lee Sedol versus Google AlphaGo
Deep Learning, reinforcement learning, and search algorithms!
9 May 2024 CU6051NI Artificial Intelligence 16
Applications of AI
Autonomous Driving
9 May 2024 CU6051NI Artificial Intelligence 17
State-of-the-art Applications
• Speech recognition
• Autonomous planning and
• Scheduling
• Financial forecasting
• Game playing, video games
• Spam fighting
• Logistics planning
• Robotics (household, surgery,
navigation)
• Machine translation
• Information extraction
• Automatic assembly
• Sentiment analysis
• Fraud detection
• Recommendation systems
• Web search engines
• Autonomous cars
• Energy optimization
• Question answering systems
• Social network analysis
• Medical diagnosis, imaging
• Route finding
• Traveling salesperson
• Document summarization
• Transportation/scheduling
• Computer animation
Many more !!
9 May 2024 CU6051NI Artificial Intelligence 18
Applications of AI
What will AI allow us to automate?
We'll be able to automate everything that we can describe. The
problem is: it's not clear what we can describe. - Stephen Wolfram,
MIT
9 May 2024 CU6051NI Artificial Intelligence 19
Foundation of AI
9 May 2024 CU6051NI Artificial Intelligence 20
Foundation of AI
• Philosophy
– Logic, methods of reasoning.
– Mind as physical system that operates as a set of rules.
– Foundations of learning, language, rationality.
• Mathematics
– Logic: Formal representation and proof.
– Computation, algorithms.
– Probability.
9 May 2024 CU6051NI Artificial Intelligence 21
Foundation of AI
• Economics
– Formal theory of rational decisions.
– Combined decision theory and probability theory for decision making under
uncertainty.
• Neuroscience
– Study of brain functioning.
– How brains and computers are (dis)similar.
9 May 2024 CU6051NI Artificial Intelligence 22
Foundation of AI
• Psychology
– How do we think and act?
– Cognitive psychology perceives the brain as an information processing machine.
– Led to the development of the field cognitive science: how could computer
models be used to study language, memory, and thinking from a psychological
perspective.
• Computer engineering
– Cares about how to build powerful machines to make AI possible.
– E.g., Self-driving cars are possible today thanks to advances in computer
engineering.
9 May 2024 CU6051NI Artificial Intelligence 23
Foundation of AI
• Control theory and cybernetics
– Design simple optimal agents receiving feedback from the environment.
– Modern control theory design systems that maximize an objective function over
time.
• Linguistics
– How are language and thinking related.
– Modern linguistics + AI = Computational linguistics (Natural language
processing).
9 May 2024 CU6051NI Artificial Intelligence 24
History of AI
• 1940-1950: Gestation of AI
– McCulloch & Pitts: Boolean circuit to model of brain
– Turing’s Computing Machinery and Intelligence
http://www.turingarchive.org/browse.php/B/9
• 1950-1970: Early enthusiasm, great expectations
– Early AI programs, Samuel’s checkers program
– Birth of AI @ Dartmouth meeting 1956.
– Check out the MIT video “The thinking Machine” on youtube
https://www.youtube.com/watch?v=aygSMgK3BEM
9 May 2024 CU6051NI Artificial Intelligence 25
History of AI
• 1970-1990: Knowledge-based AI
– Expert systems, AI becomes an industry
– AI winter
• 1990-present: Scientific approaches
– Neural Networks: le retour (the return)
– The emergence of intelligent agents
– AI becomes “scientific”, use of probability to model uncertainty
– AI Spring!
– The availability of very large datasets.
*Big Data will drive future discoveries and alleviate the complexity in AI.
9 May 2024 CU6051NI Artificial Intelligence 26
What we will be learning
• Introduction to artificial intelligence, history of Artificial
Intelligence.
• Building intelligent agents (search, games).
• Machine Learning algorithms.
• Applications of AI (Natural Language Processing, Vision).
• Solving interesting real AI problems through programming Python.
9 May 2024 CU6051NI Artificial Intelligence 27
Rational Intelligent Agents
• We will be learning about designing intelligent agents.
• An agent perceives the environment and acts upon that
environment to achieve some task.
• We care specifically about rational agents.
• Rational agents act based on or in accordance with reason or logic.
• Rationality is relative to how to act to maximize a performance
measure.
• AI aims to design the best agents (programs) that achieve the best
performance given the computational limitations.
9 May 2024 CU6051NI Artificial Intelligence 28
Search agents
• Agents that work towards a goal.
• Agents consider the impact of actions on future states.
• Agent’s job is to identify the action or series of actions that lead to
the goal.
• Two kinds of search:
 Uninformed Search (use no domain knowledge)
 Informed Search (use domain knowledge reach the goal faster)
9 May 2024 CU6051NI Artificial Intelligence 29
Search Agents
9 May 2024 CU6051NI Artificial Intelligence 30
The 8-queen problem: on a chess board, place 8 queens so that no queen is
attacking any other horizontally, vertically or diagonally.
Search Agents
9 May 2024 CU6051NI Artificial Intelligence 31
Find the shortest route.
Start: Las Vegas
Goal: Calgary
Prerequisites for the course:
• Python will be the programming language for this course, so
familiarize yourself with python
• We will be using the Anaconda python distribution
https://www.anaconda.com/
• Familiarize yourself with jupyter notebooks
• Data structures
9 May 2024 CU6051NI Artificial Intelligence 32
Data structures
Stack
Stack is a linear data structure which follows a particular order in which
the operations are performed. The order is LIFO(Last In First Out).
image credit: https://www.geeksforgeeks.org/stack-data-structure/
9 May 2024 CU6051NI Artificial Intelligence 33
Data structures
Queue
A Queue is a linear structure which follows a particular order in which the
operations are performed. The order is First In First Out (FIFO).
The difference between stacks and queues is in removing. In a stack we
remove the item the most recently added; in a queue, we remove the item the
least recently added.
9 May 2024 CU6051NI Artificial Intelligence 34
image credit:
https://www.geeksforgeeks.org/queue-data-structure/
Data structures
Priority Queue
Priority Queue is an extension of queue with following properties.
1) Every item has a priority associated with it.
2) An element with high priority is dequeued before an element with low
priority.
3) If two elements have the same priority, they are served according to
their order in the queue.
9 May 2024 CU6051NI Artificial Intelligence 35
go and implement these data structures in python
Summary
• AI is a hard (computational complexity, language, vision, etc), and a
broad field with high impact on humanity and society.
• What can AI do for us is already amazing!
• AI systems do not have to model human/nature but can act like or be
inspired by human/nature.
• Rational (do the right thing) agents are central to our approach of AI.
• Note that rationality is not always possible in complicated environment
but we will still aim to build rational agents.
• AI is a flourishing and exciting field: everyone can contribute.
9 May 2024 CU6051NI Artificial Intelligence 36
Suggested readings
• Artificial Intelligence: A modern Approach; Stuart Russel & Peter
Norvig
• Programming Collective Intelligence; Toby Segaran
• Python Machine Learning; Sebastian Raschka
9 May 2024 CU6051NI Artificial Intelligence 37
9 May 2024 CU6051NI Artificial Intelligence 38
End of Lecture 1
9 May 2024 CU6051NI Artificial Intelligence 39
Thank you !
Any questions ?

More Related Content

Similar to lecture1_4e283bf4-a910-4fee-b708-f302b3fea6e2_93479_.pptx

Künstlich intelligent?
Künstlich intelligent?Künstlich intelligent?
Künstlich intelligent?inovex GmbH
 
DISUMMIT Keynote presentation from Kirk Borne - From Sensors to Sense-Making
DISUMMIT Keynote presentation from Kirk Borne - From Sensors to Sense-Making DISUMMIT Keynote presentation from Kirk Borne - From Sensors to Sense-Making
DISUMMIT Keynote presentation from Kirk Borne - From Sensors to Sense-Making DigitYser
 
AI and Healthcare: An Overview (January 2024)
AI and Healthcare: An Overview (January 2024)AI and Healthcare: An Overview (January 2024)
AI and Healthcare: An Overview (January 2024)KR_Barker
 
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
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligencesaloni sharma
 
Artificial intelligence introduction
Artificial intelligence introductionArtificial intelligence introduction
Artificial intelligence introductionBHAGYAPRASADBUGGE
 
Artificial Intelligence_Himani Patpatia.pptx
Artificial Intelligence_Himani Patpatia.pptxArtificial Intelligence_Himani Patpatia.pptx
Artificial Intelligence_Himani Patpatia.pptxHimaniPatpatia
 
AI (E Group)-1.pptx
AI (E Group)-1.pptxAI (E Group)-1.pptx
AI (E Group)-1.pptxLelinSk1
 
AI in Manufacturing: Opportunities & Challenges
AI in Manufacturing: Opportunities & ChallengesAI in Manufacturing: Opportunities & Challenges
AI in Manufacturing: Opportunities & ChallengesTathagat Varma
 
Webinar on AI in IoT applications KCG Connect Alumni Digital Series by Rajkumar
Webinar on AI in IoT applications KCG Connect Alumni Digital Series by RajkumarWebinar on AI in IoT applications KCG Connect Alumni Digital Series by Rajkumar
Webinar on AI in IoT applications KCG Connect Alumni Digital Series by RajkumarRajkumar R
 
Overview of Machine Learning and its Applications
Overview of Machine Learning and its ApplicationsOverview of Machine Learning and its Applications
Overview of Machine Learning and its ApplicationsDeepak Chawla
 
Svenska AI-sällskapet på Vinnova
Svenska AI-sällskapet på VinnovaSvenska AI-sällskapet på Vinnova
Svenska AI-sällskapet på VinnovaErik Borälv
 
Introduction to the Artificial Intelligence and Computer Vision revolution
Introduction to the Artificial Intelligence and Computer Vision revolutionIntroduction to the Artificial Intelligence and Computer Vision revolution
Introduction to the Artificial Intelligence and Computer Vision revolutionDarian Frajberg
 
Taking on a New Leadership Challenge: Student-Focused Learning in Artificial ...
Taking on a New Leadership Challenge: Student-Focused Learning in Artificial ...Taking on a New Leadership Challenge: Student-Focused Learning in Artificial ...
Taking on a New Leadership Challenge: Student-Focused Learning in Artificial ...Bohyun Kim
 

Similar to lecture1_4e283bf4-a910-4fee-b708-f302b3fea6e2_93479_.pptx (20)

Künstlich intelligent?
Künstlich intelligent?Künstlich intelligent?
Künstlich intelligent?
 
lec1_1.pdf
lec1_1.pdflec1_1.pdf
lec1_1.pdf
 
DISUMMIT Keynote presentation from Kirk Borne - From Sensors to Sense-Making
DISUMMIT Keynote presentation from Kirk Borne - From Sensors to Sense-Making DISUMMIT Keynote presentation from Kirk Borne - From Sensors to Sense-Making
DISUMMIT Keynote presentation from Kirk Borne - From Sensors to Sense-Making
 
AI and Healthcare: An Overview (January 2024)
AI and Healthcare: An Overview (January 2024)AI and Healthcare: An Overview (January 2024)
AI and Healthcare: An Overview (January 2024)
 
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
 
uploadscribd.pptx
uploadscribd.pptxuploadscribd.pptx
uploadscribd.pptx
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Introduction to AI
Introduction to AIIntroduction to AI
Introduction to AI
 
Artificial intelligence introduction
Artificial intelligence introductionArtificial intelligence introduction
Artificial intelligence introduction
 
Artificial Intelligence_Himani Patpatia.pptx
Artificial Intelligence_Himani Patpatia.pptxArtificial Intelligence_Himani Patpatia.pptx
Artificial Intelligence_Himani Patpatia.pptx
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
AI (E Group)-1.pptx
AI (E Group)-1.pptxAI (E Group)-1.pptx
AI (E Group)-1.pptx
 
AI in Manufacturing: Opportunities & Challenges
AI in Manufacturing: Opportunities & ChallengesAI in Manufacturing: Opportunities & Challenges
AI in Manufacturing: Opportunities & Challenges
 
Webinar on AI in IoT applications KCG Connect Alumni Digital Series by Rajkumar
Webinar on AI in IoT applications KCG Connect Alumni Digital Series by RajkumarWebinar on AI in IoT applications KCG Connect Alumni Digital Series by Rajkumar
Webinar on AI in IoT applications KCG Connect Alumni Digital Series by Rajkumar
 
Overview of Machine Learning and its Applications
Overview of Machine Learning and its ApplicationsOverview of Machine Learning and its Applications
Overview of Machine Learning and its Applications
 
Svenska AI-sällskapet på Vinnova
Svenska AI-sällskapet på VinnovaSvenska AI-sällskapet på Vinnova
Svenska AI-sällskapet på Vinnova
 
Ch~3.pdf
Ch~3.pdfCh~3.pdf
Ch~3.pdf
 
Introduction to the Artificial Intelligence and Computer Vision revolution
Introduction to the Artificial Intelligence and Computer Vision revolutionIntroduction to the Artificial Intelligence and Computer Vision revolution
Introduction to the Artificial Intelligence and Computer Vision revolution
 
Taking on a New Leadership Challenge: Student-Focused Learning in Artificial ...
Taking on a New Leadership Challenge: Student-Focused Learning in Artificial ...Taking on a New Leadership Challenge: Student-Focused Learning in Artificial ...
Taking on a New Leadership Challenge: Student-Focused Learning in Artificial ...
 
Ai titech-virach-20191026
Ai titech-virach-20191026Ai titech-virach-20191026
Ai titech-virach-20191026
 

Recently uploaded

Designing for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web ServicesDesigning for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web ServicesKrzysztofKkol1
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfOrtus Solutions, Corp
 
A Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data MigrationA Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data MigrationHelp Desk Migration
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2
 
Benefits of Employee Monitoring Software
Benefits of  Employee Monitoring SoftwareBenefits of  Employee Monitoring Software
Benefits of Employee Monitoring SoftwareMera Monitor
 
AI/ML Infra Meetup | ML explainability in Michelangelo
AI/ML Infra Meetup | ML explainability in MichelangeloAI/ML Infra Meetup | ML explainability in Michelangelo
AI/ML Infra Meetup | ML explainability in MichelangeloAlluxio, Inc.
 
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...Abortion Clinic
 
GraphAware - Transforming policing with graph-based intelligence analysis
GraphAware - Transforming policing with graph-based intelligence analysisGraphAware - Transforming policing with graph-based intelligence analysis
GraphAware - Transforming policing with graph-based intelligence analysisNeo4j
 
Advanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should KnowAdvanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should KnowPeter Caitens
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessWSO2
 
Mastering Windows 7 A Comprehensive Guide for Power Users .pdf
Mastering Windows 7 A Comprehensive Guide for Power Users .pdfMastering Windows 7 A Comprehensive Guide for Power Users .pdf
Mastering Windows 7 A Comprehensive Guide for Power Users .pdfmbmh111980
 
A Guideline to Gorgias to to Re:amaze Data Migration
A Guideline to Gorgias to to Re:amaze Data MigrationA Guideline to Gorgias to to Re:amaze Data Migration
A Guideline to Gorgias to to Re:amaze Data MigrationHelp Desk Migration
 
Secure Software Ecosystem Teqnation 2024
Secure Software Ecosystem Teqnation 2024Secure Software Ecosystem Teqnation 2024
Secure Software Ecosystem Teqnation 2024Soroosh Khodami
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTier1 app
 
Agnieszka Andrzejewska - BIM School Course in Kraków
Agnieszka Andrzejewska - BIM School Course in KrakówAgnieszka Andrzejewska - BIM School Course in Kraków
Agnieszka Andrzejewska - BIM School Course in Krakówbim.edu.pl
 
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdfA Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdfkalichargn70th171
 
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...Alluxio, Inc.
 
De mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FMEDe mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FMEJelle | Nordend
 
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?XfilesPro
 

Recently uploaded (20)

Designing for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web ServicesDesigning for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web Services
 
Corporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMSCorporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMS
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
 
A Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data MigrationA Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data Migration
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
Benefits of Employee Monitoring Software
Benefits of  Employee Monitoring SoftwareBenefits of  Employee Monitoring Software
Benefits of Employee Monitoring Software
 
AI/ML Infra Meetup | ML explainability in Michelangelo
AI/ML Infra Meetup | ML explainability in MichelangeloAI/ML Infra Meetup | ML explainability in Michelangelo
AI/ML Infra Meetup | ML explainability in Michelangelo
 
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
 
GraphAware - Transforming policing with graph-based intelligence analysis
GraphAware - Transforming policing with graph-based intelligence analysisGraphAware - Transforming policing with graph-based intelligence analysis
GraphAware - Transforming policing with graph-based intelligence analysis
 
Advanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should KnowAdvanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should Know
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
 
Mastering Windows 7 A Comprehensive Guide for Power Users .pdf
Mastering Windows 7 A Comprehensive Guide for Power Users .pdfMastering Windows 7 A Comprehensive Guide for Power Users .pdf
Mastering Windows 7 A Comprehensive Guide for Power Users .pdf
 
A Guideline to Gorgias to to Re:amaze Data Migration
A Guideline to Gorgias to to Re:amaze Data MigrationA Guideline to Gorgias to to Re:amaze Data Migration
A Guideline to Gorgias to to Re:amaze Data Migration
 
Secure Software Ecosystem Teqnation 2024
Secure Software Ecosystem Teqnation 2024Secure Software Ecosystem Teqnation 2024
Secure Software Ecosystem Teqnation 2024
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
 
Agnieszka Andrzejewska - BIM School Course in Kraków
Agnieszka Andrzejewska - BIM School Course in KrakówAgnieszka Andrzejewska - BIM School Course in Kraków
Agnieszka Andrzejewska - BIM School Course in Kraków
 
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdfA Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
 
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
 
De mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FMEDe mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FME
 
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
 

lecture1_4e283bf4-a910-4fee-b708-f302b3fea6e2_93479_.pptx

  • 2. Agenda • Introduction and overview of the module • Introduction to Artificial Intelligence • Applications of Artificial Intelligence • Data structures recap 9 May 2024 CU6051NI Artificial Intelligence 2
  • 3. What is Artificial Intelligence? “Intelligence: The ability to learn and solve problems” - Webster’s Dictionary. “Artificial intelligence (AI) is the intelligence exhibited by machines or software” - Wikipedia. “The science and engineering of making intelligent machines” – John McCarthy. “The study and design of intelligent agents, where an intelligent agent is a system that perceives its environment and takes actions that maximize its chances of success.” - Russel and Norvig AI book. 9 May 2024 CU6051NI Artificial Intelligence 3
  • 4. Why AI? “Just as the Industrial Revolution freed up a lot of humanity from physical drudgery, I think AI has the potential to free up humanity from a lot of the mental drudgery.” - Andrew Ng. “Artificial Intelligence is the New Electricity.” - Andrew Ng. 9 May 2024 CU6051NI Artificial Intelligence 4
  • 5. Overview of the module • Semester Long Module • Fully assessed by coursework • 2 courseworks  CW1 (20%) – Research work on a chosen AI topic  CW2 (80%) – Development of an AI system based on topic chosen in CW1 • Students will be required to present their work in form of a VIVA/Presentation 9 May 2024 CU6051NI Artificial Intelligence 5
  • 6. Applications of AI Speech Recognition • Virtual assistants: Siri (Apple), Echo (Amazon), Google Assistant, Cortana (Microsoft) • “They” help get things done: send an email, make an appointment, find a restaurant, tell you the weather and more • Leverage deep neural networks to handle speech recognition and natural language understanding 9 May 2024 CU6051NI Artificial Intelligence 6
  • 7. Applications of AI Handwriting recognition (check, zipcode) 9 May 2024 CU6051NI Artificial Intelligence 7
  • 8. Applications of AI Machine Translation 100+ languages 9 May 2024 CU6051NI Artificial Intelligence 8
  • 9. Applications of AI Robotics: Awesome robots today! 9 May 2024 CU6051NI Artificial Intelligence 9
  • 10. Applications of AI Recommendation Systems 9 May 2024 CU6051NI Artificial Intelligence 10
  • 11. Applications of AI Recommendation Systems 9 May 2024 CU6051NI Artificial Intelligence 11
  • 12. Applications of AI Search Engines 9 May 2024 CU6051NI Artificial Intelligence 12
  • 13. Applications of AI Email (spam detection) 9 May 2024 CU6051NI Artificial Intelligence 13
  • 14. Applications of AI Chess (1997): Kasparov vs IBM Deep Blue Powerful search algorithms !! 9 May 2024 CU6051NI Artificial Intelligence 14
  • 15. Applications of AI Jeopardy! (2011): Humans vs. IBM Watson Natural Language Understanding and information extraction! 9 May 2024 CU6051NI Artificial Intelligence 15
  • 16. Applications of AI Go (2016): Lee Sedol versus Google AlphaGo Deep Learning, reinforcement learning, and search algorithms! 9 May 2024 CU6051NI Artificial Intelligence 16
  • 17. Applications of AI Autonomous Driving 9 May 2024 CU6051NI Artificial Intelligence 17
  • 18. State-of-the-art Applications • Speech recognition • Autonomous planning and • Scheduling • Financial forecasting • Game playing, video games • Spam fighting • Logistics planning • Robotics (household, surgery, navigation) • Machine translation • Information extraction • Automatic assembly • Sentiment analysis • Fraud detection • Recommendation systems • Web search engines • Autonomous cars • Energy optimization • Question answering systems • Social network analysis • Medical diagnosis, imaging • Route finding • Traveling salesperson • Document summarization • Transportation/scheduling • Computer animation Many more !! 9 May 2024 CU6051NI Artificial Intelligence 18
  • 19. Applications of AI What will AI allow us to automate? We'll be able to automate everything that we can describe. The problem is: it's not clear what we can describe. - Stephen Wolfram, MIT 9 May 2024 CU6051NI Artificial Intelligence 19
  • 20. Foundation of AI 9 May 2024 CU6051NI Artificial Intelligence 20
  • 21. Foundation of AI • Philosophy – Logic, methods of reasoning. – Mind as physical system that operates as a set of rules. – Foundations of learning, language, rationality. • Mathematics – Logic: Formal representation and proof. – Computation, algorithms. – Probability. 9 May 2024 CU6051NI Artificial Intelligence 21
  • 22. Foundation of AI • Economics – Formal theory of rational decisions. – Combined decision theory and probability theory for decision making under uncertainty. • Neuroscience – Study of brain functioning. – How brains and computers are (dis)similar. 9 May 2024 CU6051NI Artificial Intelligence 22
  • 23. Foundation of AI • Psychology – How do we think and act? – Cognitive psychology perceives the brain as an information processing machine. – Led to the development of the field cognitive science: how could computer models be used to study language, memory, and thinking from a psychological perspective. • Computer engineering – Cares about how to build powerful machines to make AI possible. – E.g., Self-driving cars are possible today thanks to advances in computer engineering. 9 May 2024 CU6051NI Artificial Intelligence 23
  • 24. Foundation of AI • Control theory and cybernetics – Design simple optimal agents receiving feedback from the environment. – Modern control theory design systems that maximize an objective function over time. • Linguistics – How are language and thinking related. – Modern linguistics + AI = Computational linguistics (Natural language processing). 9 May 2024 CU6051NI Artificial Intelligence 24
  • 25. History of AI • 1940-1950: Gestation of AI – McCulloch & Pitts: Boolean circuit to model of brain – Turing’s Computing Machinery and Intelligence http://www.turingarchive.org/browse.php/B/9 • 1950-1970: Early enthusiasm, great expectations – Early AI programs, Samuel’s checkers program – Birth of AI @ Dartmouth meeting 1956. – Check out the MIT video “The thinking Machine” on youtube https://www.youtube.com/watch?v=aygSMgK3BEM 9 May 2024 CU6051NI Artificial Intelligence 25
  • 26. History of AI • 1970-1990: Knowledge-based AI – Expert systems, AI becomes an industry – AI winter • 1990-present: Scientific approaches – Neural Networks: le retour (the return) – The emergence of intelligent agents – AI becomes “scientific”, use of probability to model uncertainty – AI Spring! – The availability of very large datasets. *Big Data will drive future discoveries and alleviate the complexity in AI. 9 May 2024 CU6051NI Artificial Intelligence 26
  • 27. What we will be learning • Introduction to artificial intelligence, history of Artificial Intelligence. • Building intelligent agents (search, games). • Machine Learning algorithms. • Applications of AI (Natural Language Processing, Vision). • Solving interesting real AI problems through programming Python. 9 May 2024 CU6051NI Artificial Intelligence 27
  • 28. Rational Intelligent Agents • We will be learning about designing intelligent agents. • An agent perceives the environment and acts upon that environment to achieve some task. • We care specifically about rational agents. • Rational agents act based on or in accordance with reason or logic. • Rationality is relative to how to act to maximize a performance measure. • AI aims to design the best agents (programs) that achieve the best performance given the computational limitations. 9 May 2024 CU6051NI Artificial Intelligence 28
  • 29. Search agents • Agents that work towards a goal. • Agents consider the impact of actions on future states. • Agent’s job is to identify the action or series of actions that lead to the goal. • Two kinds of search:  Uninformed Search (use no domain knowledge)  Informed Search (use domain knowledge reach the goal faster) 9 May 2024 CU6051NI Artificial Intelligence 29
  • 30. Search Agents 9 May 2024 CU6051NI Artificial Intelligence 30 The 8-queen problem: on a chess board, place 8 queens so that no queen is attacking any other horizontally, vertically or diagonally.
  • 31. Search Agents 9 May 2024 CU6051NI Artificial Intelligence 31 Find the shortest route. Start: Las Vegas Goal: Calgary
  • 32. Prerequisites for the course: • Python will be the programming language for this course, so familiarize yourself with python • We will be using the Anaconda python distribution https://www.anaconda.com/ • Familiarize yourself with jupyter notebooks • Data structures 9 May 2024 CU6051NI Artificial Intelligence 32
  • 33. Data structures Stack Stack is a linear data structure which follows a particular order in which the operations are performed. The order is LIFO(Last In First Out). image credit: https://www.geeksforgeeks.org/stack-data-structure/ 9 May 2024 CU6051NI Artificial Intelligence 33
  • 34. Data structures Queue A Queue is a linear structure which follows a particular order in which the operations are performed. The order is First In First Out (FIFO). The difference between stacks and queues is in removing. In a stack we remove the item the most recently added; in a queue, we remove the item the least recently added. 9 May 2024 CU6051NI Artificial Intelligence 34 image credit: https://www.geeksforgeeks.org/queue-data-structure/
  • 35. Data structures Priority Queue Priority Queue is an extension of queue with following properties. 1) Every item has a priority associated with it. 2) An element with high priority is dequeued before an element with low priority. 3) If two elements have the same priority, they are served according to their order in the queue. 9 May 2024 CU6051NI Artificial Intelligence 35 go and implement these data structures in python
  • 36. Summary • AI is a hard (computational complexity, language, vision, etc), and a broad field with high impact on humanity and society. • What can AI do for us is already amazing! • AI systems do not have to model human/nature but can act like or be inspired by human/nature. • Rational (do the right thing) agents are central to our approach of AI. • Note that rationality is not always possible in complicated environment but we will still aim to build rational agents. • AI is a flourishing and exciting field: everyone can contribute. 9 May 2024 CU6051NI Artificial Intelligence 36
  • 37. Suggested readings • Artificial Intelligence: A modern Approach; Stuart Russel & Peter Norvig • Programming Collective Intelligence; Toby Segaran • Python Machine Learning; Sebastian Raschka 9 May 2024 CU6051NI Artificial Intelligence 37
  • 38. 9 May 2024 CU6051NI Artificial Intelligence 38 End of Lecture 1
  • 39. 9 May 2024 CU6051NI Artificial Intelligence 39 Thank you ! Any questions ?