SlideShare uma empresa Scribd logo
1 de 15
Baixar para ler offline
Turing Test:
The Turing Test, proposed by Alan Turing TURING TEST (1950),
was designed to provide a satisfactory operational definition of
intelligence.
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 from a computer.
The computer would need to possess the following capabilities:
• natural language processing to enable it to communicate
successfully in English;
• knowledge representation to store what it knows or hears;
• automated reasoning to use the stored information to answer
questions and to draw
• machine learning to adapt to new circumstances and to detect
and extrapolate patterns.
• computer vision to perceive objects, and
• robotics to manipulate objects and move about.
Turing’s test deliberately avoided direct physical interaction
between the interrogator and the computer, because physical
simulation of a person is unnecessary for intelligence. However,
the so-called total Turing Test includes a video signal so that
the interrogator can test the subject’s perceptual abilities, as well
as the opportunity for the interrogator to pass physical objects
“through the hatch.”
Drawbacks of the Turing test
 Human vs. general intelligence (humans sometimes act
unintelligently, while intelligent behaviour does not
necessarily have to be human)
 Real vs. simulated intelligence (a philosophical argument for
Behaviourally oriented AI)
 Naivety of the question asker (proven in the case of ELIZA-
bot)
 Irrelevance of the test
Irrelevance of the test
Aeronautics textbooks don't define aeronautics as:
Building machines that y so similarly to pigeons that they can
fool other pigeons."
 TT is perhaps more significant for the philosophy than for
the development of AI
What is Artificial Intelligence?
According to the father of Artificial Intelligence, John McCarthy,
it is “The science and engineering of making intelligent machines,
especially intelligent computer programs”.
Artificial Intelligence is a way of making a computer, a
computer-controlled robot, or a software think intelligently,
in the similar manner the intelligent humans think.
AI is accomplished by studying how human brain thinks, and how
humans learn, decide, and work while trying to solve a problem,
and then using the outcomes of this study as a basis of developing
intelligent software and systems.
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.
What is AI Technique?
AI Technique is a manner to organize and use the knowledge
efficiently in such a way that −
 It should be perceivable by the people who provide it.
 It should be easily modifiable to correct errors.
 It should be useful in many situations though it is
incomplete or inaccurate.
Applications of AI
AI has been dominant in various fields such as −
 Gaming
 Natural Language Processing
 Expert Systems
 Vision Systems
 Speech Recognition
 Handwriting Recognition
 Intelligent Robots
Table 1
Thinking
Humanly
cognitive
modeling
approach
Thinking
Rationally
“laws of
thought”
approach
Acting
Humanly
Turing Test
approach
Acting
Rationally
rational agent
approach
D
Structure And Types of Intelligent Agents
An agent is anything that can perceive its environment
through sensors and acts upon that environment
through effectors. It is a device with sensors and actuators, for
example : a robotic car, a camera, a PC. Agent program is an
implementation of an agent function. An agent function is a map
from the percept sequence(history of all that an agent has
perceived till date) to an action.
Agent = Architecture + Agent Program
 perceiving its environment through sensors and
 acting upon that environment through actuators
 A human agent has sensory organs such as eyes, ears, nose,
tongue and skin parallel to the sensors, and other organs
such as hands, legs, mouth, for effectors.
 A robotic agent replaces cameras and infrared range finders
for the sensors, and various motors and actuators for
effectors.
 A software agent has encoded bit strings as its programs
and actions.
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.
Simple Reflex Agents
 They choose actions only based on the current percept.
 They are rational only if a correct decision is made only on
the basis of current precept.
 Their environment is completely observable.
Condition-Action Rule − It is a rule that maps a state (condition) to
an action.
Model Based Reflex Agents
They use a model of the world to choose their actions. They
maintain an internal state.
Model − The knowledge about “how the things happen in the
world”.
Internal State − It is a representation of unobserved aspects of
current state depending on percept history.
Updating the state requires the information about −
 How the world evolves.
 How the agent’s actions affect the world.
Goal Based Agents
They choose their actions in order to achieve goals. Goal-based
approach is more flexible than reflex agent since the knowledge
supporting a decision is explicitly modeled, thereby allowing for
modifications.
Goal − It is the description of desirable situations.
Utility Based Agents
They choose actions based on a preference (utility) for each state.
Goals are inadequate when −
 There are conflicting goals, out of which only few can be
achieved.
 Goals have some uncertainty of being achieved and you need
to weigh likelihood of success against the importance of a
goal.
What is NLP?
Natural Language Processing (NLP) refers to AI method of
communicating with an intelligent systems using a natural
language such as English.
Processing of Natural Language is required when you want an
intelligent system like robot to perform as per your instructions,
when you want to hear decision from a dialogue based clinical
expert system, etc.The field of NLP involves making computers to
perform useful tasks with the natural languages humans use.
The input and output of an NLP system can be −
 Speech
 Written Text
Components of NLP
There are two components of NLP as given −
Natural Language Understanding (NLU)
Understanding involves the following tasks −
 Mapping the given input in natural language into useful
representations.
 Analyzing different aspects of the language.
Natural Language Generation (NLG)
It is the process of producing meaningful phrases and sentences
in the form of natural language from some internal
representation.
It involves −
 Text planning − It includes retrieving the relevant content
from knowledge base.
 Sentence planning − It includes choosing required words,
forming meaningful phrases, setting tone of the sentence.
 Text Realization − It is mapping sentence plan into
sentence structure.
The NLU is harder than NLG.
Difficulties in NLU
NL has an extremely rich form and structure.
It is very ambiguous. There can be different levels of ambiguity −
 Lexical ambiguity − It is at very primitive level such as
word-level.
 For example, treating the word “board” as noun or verb?
 Syntax Level ambiguity − A sentence can be parsed in
different ways.
 For example, “He lifted the beetle with red cap.” − Did he use
cap to lift the beetle or he lifted a beetle that had red cap?
 Referential ambiguity − Referring to something using
pronouns. For example, Rima went to Gauri. She said, “I am
tired.” − Exactly who is tired?
 One input can mean different meanings.
 Many inputs can mean the same thing.
*For INFORMATION Only NLP Terminology
 Phonology − It is study of organizing sound systematically.
 Morphology − It is a study of construction of words from
primitive meaningful units.
 Morpheme − It is primitive unit of meaning in a language.
 Syntax − It refers to arranging words to make a sentence. It
also involves determining the structural role of words in the
sentence and in phrases.
 Semantics − It is concerned with the meaning of words and
how to combine words into meaningful phrases and
sentences.
 Pragmatics − It deals with using and understanding
sentences in different situations and how the interpretation
of the sentence is affected.
 Discourse − It deals with how the immediately preceding
sentence can affect the interpretation of the next sentence.
 World Knowledge − It includes the general knowledge about
the world.
Steps in NLP
There are general five steps −
 Lexical Analysis − It involves identifying and analyzing the
structure of words. Lexicon of a language means the
collection of words and phrases in a language. Lexical
analysis is dividing the whole chunk of txt into paragraphs,
sentences, and words.
 Syntactic Analysis (Parsing) − It involves analysis of words
in the sentence for grammar and arranging words in a
manner that shows the relationship among the words. The
sentence such as “The school goes to boy” is rejected by
English syntactic analyzer.
 Semantic Analysis − It draws the exact meaning or the
dictionary meaning from the text. The text is checked for
meaningfulness. It is done by mapping syntactic structures
and objects in the task domain. The semantic analyzer
disregards sentence such as “hot ice-cream”.
 Discourse Integration − The meaning of any sentence
depends upon the meaning of the sentence just before it. In
addition, it also brings about the meaning of immediately
succeeding sentence.
 Pragmatic Analysis − During this, what was said is re-
interpreted on what it actually meant. It involves deriving
those aspects of language which require real world
knowledge.
What is Reasoning And its types?
Reasoning − It is the set of processes that enables us to
provide basis for judgement, making decisions, and
prediction. There are broadly two types –
Table 2
Inductive Reasoning Deductive Reasoning
 It conducts specific
observations to makes
broad general
statements.
 Even if all of the
premises are true in a
statement, inductive
reasoning allows for the
conclusion to be false.
 Example − "Nita is a
teacher. Nita is
studious. Therefore, All
teachers are studious."
 It starts with a general
statement and examines
the possibilities to reach a
specific, logical conclusion.
 If something is true of a
class of things in general, it
is also true for all members
of that class.
 Example − "All women of
age above 60 years are
grandmothers. Shalini is
65 years. Therefore, Shalini
is a grandmother."
Hill Climbing And Its limitations
 The hill-climbing search algorithm (steepest-ascent
version) .It is simply a loop that continually moves in the
direction of increasing value—that is, uphill. It terminates
when it reaches a “peak” where no neighbor has a higher
value.
 The algorithm does not maintain a search tree, so the data
structure for the current node need only record the state
and the value of the objective function.
 Hill climbing does not look ahead beyond the immediate
neighbors of the current state. This resembles trying to find
the top of Mount Everest in a thick fog while suffering from
amnesia.
 Hill-climbing algorithms typically choose randomly among
the set of best successors if there is more than one.
 Hill climbing is sometimes called greedy local search
because it grabs a good neighbour state without thinking
ahead about where to go next. Although greed is considered
one of the seven deadly sins, it turns out that greedy
algorithms often perform quite well.
 Hill climbing often makes rapid progress toward a solution
because it is usually quite easy to improve a bad state.
Limitations
Unfortunately, hill climbing often gets stuck for the following
reasons:
 Local maxima: a local maximum is a peak that is higher
than each of its neighboring states but lower than the global
maximum. Hill-climbing algorithms that reach the vicinity
of a local maximum will be drawn upward toward the peak
but will then be stuck with nowhere else to go.
 Ridges: Ridges result in a sequence of local maxima that is
very difficult for greedy algorithms to navigate.
 Plateaux: a plateau is a flat area of the state-space
landscape. It can be a flat local maximum, from which no
uphill exit exists, or a shoulder, from which progress is
possible. A hill-climbing search might get lost on the
plateau.
Prove Dfs and Bfs are special case for best for
search
Uniform Cost Search reduces to Breadth First Search when all
edges have the same cost.
best-first search reduces to Breadth-First Search when
f(n) = number of edges from start node to n,
to UCS when f(n) = g(n); it can be reduced to DFS by, for example,
setting f(n) = -g(n) (thus forcing deep nodes on the current branch
to be searched before shallow nodes on other branches).
A*Search reduces to UCS when the heuristic function is zero
everywhere, i.e. h(n) = 0 for all n;
this heuristic is clearly admissible since it always (grossly!)
underestimates the distance remaining to reach the goal.

Mais conteúdo relacionado

Mais procurados

Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
ravijain90
 
Artificial intelligence- Logic Agents
Artificial intelligence- Logic AgentsArtificial intelligence- Logic Agents
Artificial intelligence- Logic Agents
Nuruzzaman Milon
 

Mais procurados (20)

Ai notes
Ai notesAi notes
Ai notes
 
Artificial intelligence and knowledge representation
Artificial intelligence and knowledge representationArtificial intelligence and knowledge representation
Artificial intelligence and knowledge representation
 
Generating Natural-Language Text with Neural Networks
Generating Natural-Language Text with Neural NetworksGenerating Natural-Language Text with Neural Networks
Generating Natural-Language Text with Neural Networks
 
Artificial Intelligence Notes Unit 4
Artificial Intelligence Notes Unit 4Artificial Intelligence Notes Unit 4
Artificial Intelligence Notes Unit 4
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
NLP 101 + Chatbots
NLP 101 + ChatbotsNLP 101 + Chatbots
NLP 101 + Chatbots
 
5. phases of nlp
5. phases of nlp5. phases of nlp
5. phases of nlp
 
Knowledge representation
Knowledge representationKnowledge representation
Knowledge representation
 
Artificial Intelligence (AI) | Prepositional logic (PL)and first order predic...
Artificial Intelligence (AI) | Prepositional logic (PL)and first order predic...Artificial Intelligence (AI) | Prepositional logic (PL)and first order predic...
Artificial Intelligence (AI) | Prepositional logic (PL)and first order predic...
 
First order predicate logic (fopl)
First order predicate logic (fopl)First order predicate logic (fopl)
First order predicate logic (fopl)
 
Truth management system
Truth  management systemTruth  management system
Truth management system
 
Computational Intelligence and Applications
Computational Intelligence and ApplicationsComputational Intelligence and Applications
Computational Intelligence and Applications
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
NLP_KASHK:Finite-State Automata
NLP_KASHK:Finite-State AutomataNLP_KASHK:Finite-State Automata
NLP_KASHK:Finite-State Automata
 
AI Lecture 7 (uncertainty)
AI Lecture 7 (uncertainty)AI Lecture 7 (uncertainty)
AI Lecture 7 (uncertainty)
 
Artificial intelligence- Logic Agents
Artificial intelligence- Logic AgentsArtificial intelligence- Logic Agents
Artificial intelligence- Logic Agents
 
Introduction to AI
Introduction to AIIntroduction to AI
Introduction to AI
 
Unification and Lifting
Unification and LiftingUnification and Lifting
Unification and Lifting
 
Soft computing
Soft computingSoft computing
Soft computing
 
AI_ 3 & 4 Knowledge Representation issues
AI_ 3 & 4 Knowledge Representation issuesAI_ 3 & 4 Knowledge Representation issues
AI_ 3 & 4 Knowledge Representation issues
 

Semelhante a Ai assignment

Natural language understandihggjsjng. pptx
Natural language understandihggjsjng. pptxNatural language understandihggjsjng. pptx
Natural language understandihggjsjng. pptx
MAKSHAY6
 
Teachbot teaching robot_using_artificial
Teachbot teaching robot_using_artificialTeachbot teaching robot_using_artificial
Teachbot teaching robot_using_artificial
CamillaTonanzi
 
Natural Language Processing for development
Natural Language Processing for developmentNatural Language Processing for development
Natural Language Processing for development
Aravind Reddy
 
Natural Language Processing for development
Natural Language Processing for developmentNatural Language Processing for development
Natural Language Processing for development
Aravind Reddy
 
271_AI Lect Notes.pdf
271_AI Lect Notes.pdf271_AI Lect Notes.pdf
271_AI Lect Notes.pdf
kaxeca4096
 

Semelhante a Ai assignment (20)

DOC-20221019-WA0003..pdf
DOC-20221019-WA0003..pdfDOC-20221019-WA0003..pdf
DOC-20221019-WA0003..pdf
 
DOC-20221019-WA0003..pdf
DOC-20221019-WA0003..pdfDOC-20221019-WA0003..pdf
DOC-20221019-WA0003..pdf
 
AIML-M1 and M2-TIEpdf.pdf
AIML-M1 and M2-TIEpdf.pdfAIML-M1 and M2-TIEpdf.pdf
AIML-M1 and M2-TIEpdf.pdf
 
Natural language understandihggjsjng. pptx
Natural language understandihggjsjng. pptxNatural language understandihggjsjng. pptx
Natural language understandihggjsjng. pptx
 
Natural language understanding of chatbots
Natural language understanding of chatbotsNatural language understanding of chatbots
Natural language understanding of chatbots
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language Processing
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
AI Chapter VIIProblem Solving Using Searching .pptx
AI Chapter VIIProblem Solving Using Searching .pptxAI Chapter VIIProblem Solving Using Searching .pptx
AI Chapter VIIProblem Solving Using Searching .pptx
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Teachbot teaching robot_using_artificial
Teachbot teaching robot_using_artificialTeachbot teaching robot_using_artificial
Teachbot teaching robot_using_artificial
 
Artificial inteIegence & Machine learning - Key Concepts
Artificial inteIegence & Machine learning - Key ConceptsArtificial inteIegence & Machine learning - Key Concepts
Artificial inteIegence & Machine learning - Key Concepts
 
Artificial Intelligence PPT.ppt
Artificial Intelligence PPT.pptArtificial Intelligence PPT.ppt
Artificial Intelligence PPT.ppt
 
Advanced user agent v clean
Advanced user agent v cleanAdvanced user agent v clean
Advanced user agent v clean
 
Natural Language Processing for development
Natural Language Processing for developmentNatural Language Processing for development
Natural Language Processing for development
 
Natural Language Processing for development
Natural Language Processing for developmentNatural Language Processing for development
Natural Language Processing for development
 
271_AI Lect Notes.pdf
271_AI Lect Notes.pdf271_AI Lect Notes.pdf
271_AI Lect Notes.pdf
 
Artificial Intelligence (3).pdf
Artificial Intelligence (3).pdfArtificial Intelligence (3).pdf
Artificial Intelligence (3).pdf
 
Karl Mehta Masterclass on AI.pdf
Karl Mehta Masterclass on AI.pdfKarl Mehta Masterclass on AI.pdf
Karl Mehta Masterclass on AI.pdf
 
Natural Language Processing: A comprehensive overview
Natural Language Processing: A comprehensive overviewNatural Language Processing: A comprehensive overview
Natural Language Processing: A comprehensive overview
 
Natural language processing
Natural language processingNatural language processing
Natural language processing
 

Mais de Darshil Kapadiya (6)

Enomaly
EnomalyEnomaly
Enomaly
 
Imax synopsis
Imax synopsisImax synopsis
Imax synopsis
 
Imax.docx
Imax.docxImax.docx
Imax.docx
 
Electromagnetic train
Electromagnetic trainElectromagnetic train
Electromagnetic train
 
Gir forest report
Gir forest reportGir forest report
Gir forest report
 
Narmada Bachao Andolan
Narmada Bachao AndolanNarmada Bachao Andolan
Narmada Bachao Andolan
 

Último

Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
SanaAli374401
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
MateoGardella
 

Último (20)

Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 

Ai assignment

  • 1. Turing Test: The Turing Test, proposed by Alan Turing TURING TEST (1950), was designed to provide a satisfactory operational definition of intelligence. 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 from a computer. The computer would need to possess the following capabilities: • natural language processing to enable it to communicate successfully in English; • knowledge representation to store what it knows or hears; • automated reasoning to use the stored information to answer questions and to draw • machine learning to adapt to new circumstances and to detect and extrapolate patterns. • computer vision to perceive objects, and • robotics to manipulate objects and move about. Turing’s test deliberately avoided direct physical interaction between the interrogator and the computer, because physical simulation of a person is unnecessary for intelligence. However, the so-called total Turing Test includes a video signal so that the interrogator can test the subject’s perceptual abilities, as well as the opportunity for the interrogator to pass physical objects “through the hatch.” Drawbacks of the Turing test  Human vs. general intelligence (humans sometimes act unintelligently, while intelligent behaviour does not necessarily have to be human)  Real vs. simulated intelligence (a philosophical argument for Behaviourally oriented AI)  Naivety of the question asker (proven in the case of ELIZA- bot)  Irrelevance of the test Irrelevance of the test Aeronautics textbooks don't define aeronautics as: Building machines that y so similarly to pigeons that they can fool other pigeons."
  • 2.  TT is perhaps more significant for the philosophy than for the development of AI What is Artificial Intelligence? According to the father of Artificial Intelligence, John McCarthy, it is “The science and engineering of making intelligent machines, especially intelligent computer programs”. Artificial Intelligence is a way of making a computer, a computer-controlled robot, or a software think intelligently, in the similar manner the intelligent humans think. AI is accomplished by studying how human brain thinks, and how humans learn, decide, and work while trying to solve a problem, and then using the outcomes of this study as a basis of developing intelligent software and systems. 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. What is AI Technique? AI Technique is a manner to organize and use the knowledge efficiently in such a way that −  It should be perceivable by the people who provide it.  It should be easily modifiable to correct errors.  It should be useful in many situations though it is incomplete or inaccurate. Applications of AI AI has been dominant in various fields such as −
  • 3.  Gaming  Natural Language Processing  Expert Systems  Vision Systems  Speech Recognition  Handwriting Recognition  Intelligent Robots Table 1 Thinking Humanly cognitive modeling approach Thinking Rationally “laws of thought” approach Acting Humanly Turing Test approach Acting Rationally rational agent approach D Structure And Types of Intelligent Agents An agent is anything that can perceive its environment through sensors and acts upon that environment through effectors. It is a device with sensors and actuators, for example : a robotic car, a camera, a PC. Agent program is an implementation of an agent function. An agent function is a map from the percept sequence(history of all that an agent has perceived till date) to an action. Agent = Architecture + Agent Program  perceiving its environment through sensors and  acting upon that environment through actuators
  • 4.  A human agent has sensory organs such as eyes, ears, nose, tongue and skin parallel to the sensors, and other organs such as hands, legs, mouth, for effectors.  A robotic agent replaces cameras and infrared range finders for the sensors, and various motors and actuators for effectors.  A software agent has encoded bit strings as its programs and actions. 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. Simple Reflex Agents  They choose actions only based on the current percept.  They are rational only if a correct decision is made only on the basis of current precept.  Their environment is completely observable. Condition-Action Rule − It is a rule that maps a state (condition) to an action.
  • 5. Model Based Reflex Agents They use a model of the world to choose their actions. They maintain an internal state. Model − The knowledge about “how the things happen in the world”. Internal State − It is a representation of unobserved aspects of current state depending on percept history. Updating the state requires the information about −  How the world evolves.  How the agent’s actions affect the world.
  • 6. Goal Based Agents They choose their actions in order to achieve goals. Goal-based approach is more flexible than reflex agent since the knowledge supporting a decision is explicitly modeled, thereby allowing for modifications. Goal − It is the description of desirable situations. Utility Based Agents They choose actions based on a preference (utility) for each state. Goals are inadequate when −
  • 7.  There are conflicting goals, out of which only few can be achieved.  Goals have some uncertainty of being achieved and you need to weigh likelihood of success against the importance of a goal. What is NLP? Natural Language Processing (NLP) refers to AI method of communicating with an intelligent systems using a natural language such as English. Processing of Natural Language is required when you want an intelligent system like robot to perform as per your instructions, when you want to hear decision from a dialogue based clinical expert system, etc.The field of NLP involves making computers to perform useful tasks with the natural languages humans use. The input and output of an NLP system can be −  Speech  Written Text
  • 8. Components of NLP There are two components of NLP as given − Natural Language Understanding (NLU) Understanding involves the following tasks −  Mapping the given input in natural language into useful representations.  Analyzing different aspects of the language. Natural Language Generation (NLG) It is the process of producing meaningful phrases and sentences in the form of natural language from some internal representation. It involves −  Text planning − It includes retrieving the relevant content from knowledge base.  Sentence planning − It includes choosing required words, forming meaningful phrases, setting tone of the sentence.  Text Realization − It is mapping sentence plan into sentence structure. The NLU is harder than NLG. Difficulties in NLU NL has an extremely rich form and structure. It is very ambiguous. There can be different levels of ambiguity −  Lexical ambiguity − It is at very primitive level such as word-level.  For example, treating the word “board” as noun or verb?  Syntax Level ambiguity − A sentence can be parsed in different ways.  For example, “He lifted the beetle with red cap.” − Did he use cap to lift the beetle or he lifted a beetle that had red cap?
  • 9.  Referential ambiguity − Referring to something using pronouns. For example, Rima went to Gauri. She said, “I am tired.” − Exactly who is tired?  One input can mean different meanings.  Many inputs can mean the same thing. *For INFORMATION Only NLP Terminology  Phonology − It is study of organizing sound systematically.  Morphology − It is a study of construction of words from primitive meaningful units.  Morpheme − It is primitive unit of meaning in a language.  Syntax − It refers to arranging words to make a sentence. It also involves determining the structural role of words in the sentence and in phrases.  Semantics − It is concerned with the meaning of words and how to combine words into meaningful phrases and sentences.  Pragmatics − It deals with using and understanding sentences in different situations and how the interpretation of the sentence is affected.  Discourse − It deals with how the immediately preceding sentence can affect the interpretation of the next sentence.  World Knowledge − It includes the general knowledge about the world. Steps in NLP There are general five steps −  Lexical Analysis − It involves identifying and analyzing the structure of words. Lexicon of a language means the collection of words and phrases in a language. Lexical analysis is dividing the whole chunk of txt into paragraphs, sentences, and words.
  • 10.  Syntactic Analysis (Parsing) − It involves analysis of words in the sentence for grammar and arranging words in a manner that shows the relationship among the words. The sentence such as “The school goes to boy” is rejected by English syntactic analyzer.  Semantic Analysis − It draws the exact meaning or the dictionary meaning from the text. The text is checked for meaningfulness. It is done by mapping syntactic structures and objects in the task domain. The semantic analyzer disregards sentence such as “hot ice-cream”.  Discourse Integration − The meaning of any sentence depends upon the meaning of the sentence just before it. In addition, it also brings about the meaning of immediately succeeding sentence.  Pragmatic Analysis − During this, what was said is re- interpreted on what it actually meant. It involves deriving those aspects of language which require real world knowledge.
  • 11. What is Reasoning And its types? Reasoning − It is the set of processes that enables us to provide basis for judgement, making decisions, and prediction. There are broadly two types – Table 2 Inductive Reasoning Deductive Reasoning  It conducts specific observations to makes broad general statements.  Even if all of the premises are true in a statement, inductive reasoning allows for the conclusion to be false.  Example − "Nita is a teacher. Nita is studious. Therefore, All teachers are studious."  It starts with a general statement and examines the possibilities to reach a specific, logical conclusion.  If something is true of a class of things in general, it is also true for all members of that class.  Example − "All women of age above 60 years are grandmothers. Shalini is 65 years. Therefore, Shalini is a grandmother." Hill Climbing And Its limitations  The hill-climbing search algorithm (steepest-ascent version) .It is simply a loop that continually moves in the direction of increasing value—that is, uphill. It terminates when it reaches a “peak” where no neighbor has a higher value.  The algorithm does not maintain a search tree, so the data structure for the current node need only record the state and the value of the objective function.  Hill climbing does not look ahead beyond the immediate neighbors of the current state. This resembles trying to find the top of Mount Everest in a thick fog while suffering from amnesia.
  • 12.  Hill-climbing algorithms typically choose randomly among the set of best successors if there is more than one.  Hill climbing is sometimes called greedy local search because it grabs a good neighbour state without thinking ahead about where to go next. Although greed is considered one of the seven deadly sins, it turns out that greedy algorithms often perform quite well.  Hill climbing often makes rapid progress toward a solution because it is usually quite easy to improve a bad state. Limitations Unfortunately, hill climbing often gets stuck for the following reasons:  Local maxima: a local maximum is a peak that is higher than each of its neighboring states but lower than the global maximum. Hill-climbing algorithms that reach the vicinity of a local maximum will be drawn upward toward the peak but will then be stuck with nowhere else to go.  Ridges: Ridges result in a sequence of local maxima that is very difficult for greedy algorithms to navigate.  Plateaux: a plateau is a flat area of the state-space landscape. It can be a flat local maximum, from which no uphill exit exists, or a shoulder, from which progress is possible. A hill-climbing search might get lost on the plateau.
  • 13. Prove Dfs and Bfs are special case for best for search
  • 14. Uniform Cost Search reduces to Breadth First Search when all edges have the same cost.
  • 15. best-first search reduces to Breadth-First Search when f(n) = number of edges from start node to n, to UCS when f(n) = g(n); it can be reduced to DFS by, for example, setting f(n) = -g(n) (thus forcing deep nodes on the current branch to be searched before shallow nodes on other branches). A*Search reduces to UCS when the heuristic function is zero everywhere, i.e. h(n) = 0 for all n; this heuristic is clearly admissible since it always (grossly!) underestimates the distance remaining to reach the goal.