SlideShare a Scribd company logo
1 of 15
Download to read offline
UNIT-1ST
INTRODUCTION AND SOLVING PROBLEMS
What is Artificial Intelligence?
The study of computer systems that attempts to model and apply the intelligence of the human mind.
A branch of computer science dealing with the simulation of intelligent behavior in computers.
OR
Artificial Intelligence is the intelligence of machines and branch of computers science that aims to create
it.
Applications of Artificial Intelligent
Robotics
Robots are able to perform the tasks given by a human. They have sensors to detect physical data from the
real world such as light, heat, temperature, movement, sound, bump, and pressure.
Expert System
There are some applications which integrate machine, software, and special information to impart
reasoning and advising. They provide explanation and advice to the users.
Characteristics of Expert Systems
• High performance
• Understandable
• Reliable
• Highly responsive
Speech Recognition
Some intelligent systems are capable of hearing and comprehending the language in terms of sentences
and their meanings while a human talk to it.
Games
AI plays crucial role in strategic games such as chess, poker, tic-tac-toe, etc., where machine can think of
large number of possible positions based on heuristic knowledge.
Handwriting Recognition
The handwriting recognition software reads the text written on paper by a pen or on screen by a stylus. It
can recognize the shapes of the letters and convert it into editable text.
Goals of AI
• To Create Expert Systems − The systems which exhibit intelligent behavior, learn,
demonstrate, explain, and advice its users.
• To Implement Human Intelligence in Machines − Creating systems that understand, think,
learn, and behave like humans.
Advantages of Artificial Intelligence
Disadvantages of Artificial Intelligence
Types of Artificial Intelligence
1. Weak AI or Narrow AI: It is focused on one narrow task, the phenomenon that machines which
are not too intelligent to do their own work can be built in such a way that they seem smart. An
example would be a poker game where a machine beats human where in which all rules and
moves are fed into the machine. Here each and every possible scenario need to be entered beforehand
manually. Each and every weak AI will contribute to the building of strong AI.
2. Strong AI: The machines that can actually think and perform tasks on its own just like a human
being. There are no proper existing examples for this but some industry leaders are very keen on
getting close to build a strong AI which has resulted in rapid progress.
Difference Between the Human and Machine Intelligence
1. Machines do not have life, as they are mechanical. On the other hand, humans are made of flesh and
blood; life is not mechanical for humans.
2. Humans have feelings and emotions, and they can express these emotions. Machines have no feelings
and emotions. They just work as per the details fed into their mechanical brain.
3. Humans can do anything original, and machines cannot.
4. Humans have the capability to understand situations, and behave accordingly. On the contrary,
machines do not have this capability.
5. While humans behave as per their consciousness, machines just perform as they are taught.
6. Humans perform activities as per their own intelligence. On the contrary, machines only have an
artificial intelligence
Intelligent Agent
An agent is anything that can perceive its environment through sensors and acts upon that environment
through effectors.
The Structure of Intelligent Agents
Agent’s structure can be viewed as −
• Agent = Architecture + Agent Program
• Architecture = the machinery that an agent executes on.
• Agent Program = an implementation of an agent function.
Approaches of Artificial Intelligence
• System that think like Human/Thinking Humanly/Cognitive Modeling Approach
• System that act like Human/Acting Humanly/Turing Test Approach
• System that think Rationally/Thinking Rationally/Laws of Thought Approach
• System that act Rationally/Acting Rationally/The Rational Agent Approach
#Cognitive Approach
• We must have some ways that how humans think.
• There are two ways to do this:
1) Through Introspection(try to catch our own thoughts).
2) Through Psychological experiments.
# Turing Test Machine
• Proposed by Alan Turing in 1950.
• To check whether the computer is really intelligent or not.
• A computer passes the test if a human interrogator, after posing some written questions, cannot
tell whether the written responses come from a person or not.
• He proposed that “Turing test is used to determine whether or not computer(machine) can think
intelligently like human”?
Imagine a game of three players having two humans and one computer, an interrogator (as human) is
isolated from other two players. The interrogator job is to try and figure out which one is human and
which one is computer by asking questions from both of them. To make the things harder computer is
trying to make the interrogator guess wrongly. In other words, computer would try to
indistinguishable from human as much as possible. If interrogator wouldn’t be able to distinguish the
answers provided by both human and computer then the computer passes the test and
machine(computer) is considered as intelligent as human.
# Laws of Thought Approach
• The Greek Philosopher Aristotle first attempted to codify right thinking.
• Example:
• Socrates is a man; all men are mortal; therefore, Socrates is mortal.
• These laws of thought were supposed to govern the operation of the mind; their study initiated the
field called logic.
# The Rational Agent Approach
• A rational agent is one that acts so as to achieve the best outcome or when there is
uncertainty, the best expected outcome.
• All the skills needed for the Turing Test also allow an agent to act rationally.
• Knowledge representation and reasoning enable agents to reach good decisions.
The rational-agent approach has two advantages over the other approaches.
First, it is more general than the “laws of thought” approach because correct inference is just one
of several possible mechanisms for achieving rationality.
Second, it is more amenable to scientific development than are approaches based on human behavior
or human thought.
Problem Solving/Formulating Problems
According to psychology, “a problem-solving refers to a state where we wish to reach to a
definite goal from a present state or condition.”
Or
According to computer science, a problem-solving is a part of artificial intelligence which
encompasses a number of techniques such as algorithms, heuristics to solve a problem.
Steps performed by Problem-solving agent
Goal Formulation: It is the first and simplest step in problem-solving. It organizes the
steps/sequence required to formulate one goal out of multiple goals as well as actions to achieve that
goal.
Problem Formulation/Set of Operations/Set of Actions/Intermediate State: It is the most
important step of problem-solving which decides what actions should be taken to achieve the
formulated goal.
Initial State: It is the starting state or initial step of the agent towards its goal.
Path cost: It assigns a numeric cost to each path that follows the goal.(one per move/one per action).
# 8 puzzle problem
8 Puzzle Problem: Here, we have a 3×3 matrix with movable tiles numbered from 1 to 8 with a blank
space. The tile adjacent to the blank space can slide into that space. The objective is to reach a specified
goal state similar to the goal state, as shown in the below figure.
Initial State: We can start from any state as the initial state.
• Goal test: It identifies whether we have reached the correct goal-state.
• Path cost: The path cost is one per move.
• Problem Formulation/Set of Operations/Set of Actions/Intermediate State:
# water jug problem
A Water Jug Problem: You are given two jugs, a 4-gallon one and a 3-gallon one, a pump which has
unlimited water which you can use to _ll the jug, and the ground on which water may be poured. Neither
jug has any measuring markings on it. How can you get exactly 2 gallons of water in the 4-gallon jug?
Initial State: We have 4-gallon one and 3-gallon one and a pump which has unlimited water.
• Goal test: exactly 2 gallons of water in the 4-gallon jug
• Path cost: The path cost is one per action.
• Problem Formulation/Set of Operations/Set of Actions/Intermediate State:
# missionaries and cannibals’ problem
On one bank of a river are three missionaries and three cannibals. There is one boat available that
can hold up to two people and that they would like to use to cross the river. If the cannibals ever
outnumber the missionaries on either of the river’s banks, the missionaries will get eaten.
How can the boat be used to safely carry all the missionaries and cannibals across the river?
Initial State: On one bank of a river are three missionaries and three cannibals. There is one boat
available.
Goal test: we have to go another place.
• Path cost: The path cost is one per action or one per move.
• Problem Formulation/Set of Operations/Set of Actions/Intermediate State:
AI Introduction and Problem Solving

More Related Content

What's hot

AI: Introduction to artificial intelligence
AI: Introduction to artificial intelligenceAI: Introduction to artificial intelligence
AI: Introduction to artificial intelligenceDataminingTools Inc
 
Artificial intelligence introduction
Artificial intelligence introductionArtificial intelligence introduction
Artificial intelligence introductionRujalShrestha2
 
Artificial intelligence - Approach and Method
Artificial intelligence - Approach and MethodArtificial intelligence - Approach and Method
Artificial intelligence - Approach and MethodRuchi Jain
 
Introduction To Artificial Intelligence
Introduction To Artificial IntelligenceIntroduction To Artificial Intelligence
Introduction To Artificial IntelligenceNeHal VeRma
 
Simplified Introduction to AI
Simplified Introduction to AISimplified Introduction to AI
Simplified Introduction to AIDeepu S Nath
 
Types of artificial intelligence
Types of artificial intelligenceTypes of artificial intelligence
Types of artificial intelligenceHoneyChintal
 
Fundamental Questions - The Second Decade of AI: Towards Architectures for Hu...
Fundamental Questions - The Second Decade of AI: Towards Architectures for Hu...Fundamental Questions - The Second Decade of AI: Towards Architectures for Hu...
Fundamental Questions - The Second Decade of AI: Towards Architectures for Hu...Aaron Sloman
 
Lec1 introduction
Lec1 introductionLec1 introduction
Lec1 introductionSheheen83
 
Towards which Intelligence? Cognition as Design Key for building Artificial I...
Towards which Intelligence? Cognition as Design Key for building Artificial I...Towards which Intelligence? Cognition as Design Key for building Artificial I...
Towards which Intelligence? Cognition as Design Key for building Artificial I...Antonio Lieto
 
Understanding ai
Understanding aiUnderstanding ai
Understanding aiAMI AMITO
 
Human-Level AI & Phenomenology
Human-Level AI & PhenomenologyHuman-Level AI & Phenomenology
Human-Level AI & PhenomenologyNaoya Arakawa
 
Ai gentle intro
Ai gentle introAi gentle intro
Ai gentle introkrnathan
 

What's hot (20)

14 phil of A I
14 phil of A I14 phil of A I
14 phil of A I
 
AI: Introduction to artificial intelligence
AI: Introduction to artificial intelligenceAI: Introduction to artificial intelligence
AI: Introduction to artificial intelligence
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 
Artificial intelligence introduction
Artificial intelligence introductionArtificial intelligence introduction
Artificial intelligence introduction
 
Turing test
Turing testTuring test
Turing test
 
AI Introduction
AI Introduction AI Introduction
AI Introduction
 
Artificial intelligence - Approach and Method
Artificial intelligence - Approach and MethodArtificial intelligence - Approach and Method
Artificial intelligence - Approach and Method
 
Introduction To Artificial Intelligence
Introduction To Artificial IntelligenceIntroduction To Artificial Intelligence
Introduction To Artificial Intelligence
 
Introduction
IntroductionIntroduction
Introduction
 
Ai
AiAi
Ai
 
Simplified Introduction to AI
Simplified Introduction to AISimplified Introduction to AI
Simplified Introduction to AI
 
Types of artificial intelligence
Types of artificial intelligenceTypes of artificial intelligence
Types of artificial intelligence
 
Lect # 2
Lect # 2Lect # 2
Lect # 2
 
Fundamental Questions - The Second Decade of AI: Towards Architectures for Hu...
Fundamental Questions - The Second Decade of AI: Towards Architectures for Hu...Fundamental Questions - The Second Decade of AI: Towards Architectures for Hu...
Fundamental Questions - The Second Decade of AI: Towards Architectures for Hu...
 
Lec1 introduction
Lec1 introductionLec1 introduction
Lec1 introduction
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Towards which Intelligence? Cognition as Design Key for building Artificial I...
Towards which Intelligence? Cognition as Design Key for building Artificial I...Towards which Intelligence? Cognition as Design Key for building Artificial I...
Towards which Intelligence? Cognition as Design Key for building Artificial I...
 
Understanding ai
Understanding aiUnderstanding ai
Understanding ai
 
Human-Level AI & Phenomenology
Human-Level AI & PhenomenologyHuman-Level AI & Phenomenology
Human-Level AI & Phenomenology
 
Ai gentle intro
Ai gentle introAi gentle intro
Ai gentle intro
 

Similar to AI Introduction and Problem Solving

Similar to AI Introduction and Problem Solving (20)

AI.ppt
AI.pptAI.ppt
AI.ppt
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Artificial Intteligence-unit 1.pptx
Artificial Intteligence-unit 1.pptxArtificial Intteligence-unit 1.pptx
Artificial Intteligence-unit 1.pptx
 
Artificial_intelligence.pptx
Artificial_intelligence.pptxArtificial_intelligence.pptx
Artificial_intelligence.pptx
 
Unit 1 AI.pptx
Unit 1 AI.pptxUnit 1 AI.pptx
Unit 1 AI.pptx
 
Introduction to Artificial Intelligence.pptx
Introduction to Artificial Intelligence.pptxIntroduction to Artificial Intelligence.pptx
Introduction to Artificial Intelligence.pptx
 
LEC_2_AI_INTRODUCTION - Copy.pptx
LEC_2_AI_INTRODUCTION - Copy.pptxLEC_2_AI_INTRODUCTION - Copy.pptx
LEC_2_AI_INTRODUCTION - Copy.pptx
 
Artificial Intelligence Introduction
Artificial Intelligence Introduction Artificial Intelligence Introduction
Artificial Intelligence Introduction
 
Ch 1 Introduction to AI.pdf
Ch 1 Introduction to AI.pdfCh 1 Introduction to AI.pdf
Ch 1 Introduction to AI.pdf
 
AI Mod1@AzDOCUMENTS.in.pdf
AI Mod1@AzDOCUMENTS.in.pdfAI Mod1@AzDOCUMENTS.in.pdf
AI Mod1@AzDOCUMENTS.in.pdf
 
Unit 2 ai
Unit 2 aiUnit 2 ai
Unit 2 ai
 
Intro to artificial intelligence
Intro to artificial intelligenceIntro to artificial intelligence
Intro to artificial intelligence
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Unit1_AI&ML (2).pptx
Unit1_AI&ML (2).pptxUnit1_AI&ML (2).pptx
Unit1_AI&ML (2).pptx
 
Understanding ai
Understanding aiUnderstanding ai
Understanding ai
 
Lect 01, 02
Lect 01, 02Lect 01, 02
Lect 01, 02
 
AI ROUGH NOTES.pptx
AI ROUGH NOTES.pptxAI ROUGH NOTES.pptx
AI ROUGH NOTES.pptx
 
1 artificial intelligence
1  artificial intelligence1  artificial intelligence
1 artificial intelligence
 

More from ShrikantSharma86

More from ShrikantSharma86 (18)

Encryption techniques
Encryption techniques Encryption techniques
Encryption techniques
 
Various aspects of organizational behavior
Various aspects of organizational behaviorVarious aspects of organizational behavior
Various aspects of organizational behavior
 
Parsing
ParsingParsing
Parsing
 
Industrial pollution
Industrial  pollutionIndustrial  pollution
Industrial pollution
 
Ethics in Human Resource Management (HRM) of an Organisation
Ethics in Human Resource Management (HRM) of an OrganisationEthics in Human Resource Management (HRM) of an Organisation
Ethics in Human Resource Management (HRM) of an Organisation
 
Library Management System (LMS)
Library Management System (LMS)Library Management System (LMS)
Library Management System (LMS)
 
RAM (RANDOM ACCESS MEMORY)
RAM (RANDOM ACCESS MEMORY)RAM (RANDOM ACCESS MEMORY)
RAM (RANDOM ACCESS MEMORY)
 
Online Education
Online EducationOnline Education
Online Education
 
Electronic Ink Technology
Electronic Ink TechnologyElectronic Ink Technology
Electronic Ink Technology
 
Audio System Measurements
Audio System MeasurementsAudio System Measurements
Audio System Measurements
 
Personality
PersonalityPersonality
Personality
 
Perception
PerceptionPerception
Perception
 
Organizational culture
Organizational cultureOrganizational culture
Organizational culture
 
Motivation
MotivationMotivation
Motivation
 
Leadership
LeadershipLeadership
Leadership
 
14 principles of management of Henry fayol
14 principles of management of Henry fayol14 principles of management of Henry fayol
14 principles of management of Henry fayol
 
Report on employee satisfaction
Report on employee satisfactionReport on employee satisfaction
Report on employee satisfaction
 
Golden ratio and Fibonacci series
Golden ratio and Fibonacci seriesGolden ratio and Fibonacci series
Golden ratio and Fibonacci series
 

Recently uploaded

Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsAndrey Dotsenko
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 

Recently uploaded (20)

Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 

AI Introduction and Problem Solving

  • 1. UNIT-1ST INTRODUCTION AND SOLVING PROBLEMS What is Artificial Intelligence? The study of computer systems that attempts to model and apply the intelligence of the human mind. A branch of computer science dealing with the simulation of intelligent behavior in computers. OR Artificial Intelligence is the intelligence of machines and branch of computers science that aims to create it. Applications of Artificial Intelligent Robotics Robots are able to perform the tasks given by a human. They have sensors to detect physical data from the real world such as light, heat, temperature, movement, sound, bump, and pressure. Expert System There are some applications which integrate machine, software, and special information to impart reasoning and advising. They provide explanation and advice to the users.
  • 2. Characteristics of Expert Systems • High performance • Understandable • Reliable • Highly responsive Speech Recognition Some intelligent systems are capable of hearing and comprehending the language in terms of sentences and their meanings while a human talk to it. Games AI plays crucial role in strategic games such as chess, poker, tic-tac-toe, etc., where machine can think of large number of possible positions based on heuristic knowledge. Handwriting Recognition The handwriting recognition software reads the text written on paper by a pen or on screen by a stylus. It can recognize the shapes of the letters and convert it into editable text. Goals of AI • To Create Expert Systems − The systems which exhibit intelligent behavior, learn, demonstrate, explain, and advice its users. • To Implement Human Intelligence in Machines − Creating systems that understand, think, learn, and behave like humans.
  • 3.
  • 4. Advantages of Artificial Intelligence Disadvantages of Artificial Intelligence
  • 5. Types of Artificial Intelligence 1. Weak AI or Narrow AI: It is focused on one narrow task, the phenomenon that machines which are not too intelligent to do their own work can be built in such a way that they seem smart. An example would be a poker game where a machine beats human where in which all rules and moves are fed into the machine. Here each and every possible scenario need to be entered beforehand manually. Each and every weak AI will contribute to the building of strong AI.
  • 6. 2. Strong AI: The machines that can actually think and perform tasks on its own just like a human being. There are no proper existing examples for this but some industry leaders are very keen on getting close to build a strong AI which has resulted in rapid progress.
  • 7. Difference Between the Human and Machine Intelligence 1. Machines do not have life, as they are mechanical. On the other hand, humans are made of flesh and blood; life is not mechanical for humans. 2. Humans have feelings and emotions, and they can express these emotions. Machines have no feelings and emotions. They just work as per the details fed into their mechanical brain. 3. Humans can do anything original, and machines cannot. 4. Humans have the capability to understand situations, and behave accordingly. On the contrary, machines do not have this capability. 5. While humans behave as per their consciousness, machines just perform as they are taught. 6. Humans perform activities as per their own intelligence. On the contrary, machines only have an artificial intelligence Intelligent Agent An agent is anything that can perceive its environment through sensors and acts upon that environment through effectors.
  • 8. The Structure of Intelligent Agents Agent’s structure can be viewed as − • Agent = Architecture + Agent Program • Architecture = the machinery that an agent executes on. • Agent Program = an implementation of an agent function. Approaches of Artificial Intelligence • System that think like Human/Thinking Humanly/Cognitive Modeling Approach • System that act like Human/Acting Humanly/Turing Test Approach • System that think Rationally/Thinking Rationally/Laws of Thought Approach • System that act Rationally/Acting Rationally/The Rational Agent Approach
  • 9. #Cognitive Approach • We must have some ways that how humans think. • There are two ways to do this: 1) Through Introspection(try to catch our own thoughts). 2) Through Psychological experiments.
  • 10. # Turing Test Machine • Proposed by Alan Turing in 1950. • To check whether the computer is really intelligent or not. • A computer passes the test if a human interrogator, after posing some written questions, cannot tell whether the written responses come from a person or not. • He proposed that “Turing test is used to determine whether or not computer(machine) can think intelligently like human”?
  • 11. Imagine a game of three players having two humans and one computer, an interrogator (as human) is isolated from other two players. The interrogator job is to try and figure out which one is human and which one is computer by asking questions from both of them. To make the things harder computer is trying to make the interrogator guess wrongly. In other words, computer would try to indistinguishable from human as much as possible. If interrogator wouldn’t be able to distinguish the answers provided by both human and computer then the computer passes the test and machine(computer) is considered as intelligent as human. # Laws of Thought Approach • The Greek Philosopher Aristotle first attempted to codify right thinking. • Example: • Socrates is a man; all men are mortal; therefore, Socrates is mortal. • These laws of thought were supposed to govern the operation of the mind; their study initiated the field called logic. # The Rational Agent Approach • A rational agent is one that acts so as to achieve the best outcome or when there is uncertainty, the best expected outcome. • All the skills needed for the Turing Test also allow an agent to act rationally. • Knowledge representation and reasoning enable agents to reach good decisions. The rational-agent approach has two advantages over the other approaches. First, it is more general than the “laws of thought” approach because correct inference is just one of several possible mechanisms for achieving rationality. Second, it is more amenable to scientific development than are approaches based on human behavior or human thought. Problem Solving/Formulating Problems
  • 12. According to psychology, “a problem-solving refers to a state where we wish to reach to a definite goal from a present state or condition.” Or According to computer science, a problem-solving is a part of artificial intelligence which encompasses a number of techniques such as algorithms, heuristics to solve a problem. Steps performed by Problem-solving agent Goal Formulation: It is the first and simplest step in problem-solving. It organizes the steps/sequence required to formulate one goal out of multiple goals as well as actions to achieve that goal. Problem Formulation/Set of Operations/Set of Actions/Intermediate State: It is the most important step of problem-solving which decides what actions should be taken to achieve the formulated goal. Initial State: It is the starting state or initial step of the agent towards its goal. Path cost: It assigns a numeric cost to each path that follows the goal.(one per move/one per action). # 8 puzzle problem 8 Puzzle Problem: Here, we have a 3×3 matrix with movable tiles numbered from 1 to 8 with a blank space. The tile adjacent to the blank space can slide into that space. The objective is to reach a specified goal state similar to the goal state, as shown in the below figure. Initial State: We can start from any state as the initial state. • Goal test: It identifies whether we have reached the correct goal-state. • Path cost: The path cost is one per move. • Problem Formulation/Set of Operations/Set of Actions/Intermediate State:
  • 13. # water jug problem A Water Jug Problem: You are given two jugs, a 4-gallon one and a 3-gallon one, a pump which has unlimited water which you can use to _ll the jug, and the ground on which water may be poured. Neither jug has any measuring markings on it. How can you get exactly 2 gallons of water in the 4-gallon jug? Initial State: We have 4-gallon one and 3-gallon one and a pump which has unlimited water. • Goal test: exactly 2 gallons of water in the 4-gallon jug • Path cost: The path cost is one per action. • Problem Formulation/Set of Operations/Set of Actions/Intermediate State:
  • 14. # missionaries and cannibals’ problem On one bank of a river are three missionaries and three cannibals. There is one boat available that can hold up to two people and that they would like to use to cross the river. If the cannibals ever outnumber the missionaries on either of the river’s banks, the missionaries will get eaten. How can the boat be used to safely carry all the missionaries and cannibals across the river? Initial State: On one bank of a river are three missionaries and three cannibals. There is one boat available. Goal test: we have to go another place. • Path cost: The path cost is one per action or one per move. • Problem Formulation/Set of Operations/Set of Actions/Intermediate State: