AI Module 1_merged
AI Module 1_merged
Sem est er 5
• Computer Science and Engineering (Dat
a Scie nce )• Computer Scie~ce and En~i!'l~er
Intelligence and Mac hine Leaming) • Artificial ing (Artificial
Intelligence and Data Science • Art1f1c1al Intell
and Machine Learning • Data Engineering igence
\.
Cour se Cod e
CSC503
Cour se Nam e
Artificial Intelligence
Credit --
~
03
Pre -req uisi te : C Pro gra mm ing
Cour se Obje ctive s : The cour se aims
l. To gain persp ectiv e of AI and its found ation
s.
2.. To study diffe rent agen t archi tectu res and prope
rties of the
envir onme nt.
3. To unde rstan d the basic princ iples of AI towa
rds prob lem solvi ng, infer ence, perce ption , know
and learn ing. ledge representation,
4. To inves tigat e prob abili stic reaso ning unde r
unce rtain and incom plete infor matio n.
5. To explo re the curre nt scop e, poten tial, limit
ation s, and impli catio ns of intell igent syste ms.
Cour se Outc ome s
.~-
Afte r successfnl comp letio n of the cour se
students will be able to
Ident ify the chara cteri stics of the envir onme
nt and diffe rentia te betw een vario us agen t archi
2. Appl y the most suita ble searc h strate gy to desig tectu res.
n probl em solvi ng agent s.
3. Repr esent a natur al langu age descr iptio n of statem
ents in logic and apply the infer ence rules to desig
Base d agen ts. n Know ledge
4. Appl y a prob abili stic mode l for reaso ning unde
r uncertainty.
5. Com prehe nd vario us learn ing techn iques .
6. Desc ribe the vario us build ing block s of an expe rt syste m for
a given real word probl em.
Det aile d Syl lab us
Mod ule Deta iled Cont ent
Hours
1 Intr odu ction to Arti ficia l Inte llige nce
3
1.1 Artif icial Intel ligen ce (Al), AI Persp ectiv es :
Actin g and Think ing huma nly, Actin g and
Thin king ration ally.
3.1 Definition, State space representation, Problem as a state space search, Problem formulation,
Well-defined problems.
3.3 Uninformed Search : Depth First Search, Breadth First Search, Depth Limited Search,
Iterative Deepening Search, Uniform Cost Search, Bidirectional Search
3.4 Informed Search : Heuristic Function, Admissible Heuristic, Informed Search Technique,
Greedy Best First Search, A* Search, Local Search : Hill Climbing Search, Simulated
Annealing Search, Optimization : Genetic Algorithm.
3.5 Game Playing, Adversarial Search Techniques, Mini-max Search, Alpha-Beta Pruning.
(Refer Chapter 3)
4.2 Propositional Logic (PL) : Syntax, Semantics, Formal logic-connectives, truth tables,
tautology, validity, well-formed-formula, Introduction to logic programming (PROLOG).
4.3 Predicate Logic : FOPL, Syntax, Semantics, Quantification, Inference rules in FOPL.
4.4 Forward Chaining, Backward Chaining and Resolution in FOPL. (Refer Chapter 4)
5.1 Handling Uncertain Knowledge, Random Variables, Prior and Posterior Probability,
Inference using Full Joint Distribution.
5.2 Bayes' Rule and its use, Bayesian Belief Networks, Reasoning in Belief Networks.
(Refer Chapter 5)
6.1 The planning problem, Partial order planning, total order planning.
6.3 Expert Systems, Components of Expert System : Knowledge base, Inference engine, user
interface, working memory, Development of Expert Systems. (Refer Chapter 6)
Total 39
q, Assessment
Internal Assessment
Assessment consists of two class tests of 20 marks euch. The first-clnss test is to be conducted when approx. 40% syllabus is completed
and second class test when additional 40% syllabus is completed. Duration of each test shall be one hour.
End Semester Theory Examination
I. Question paper will consist of 6 questions, each carrying 20 marks.
2· .
The students need to solve a total of 4 quesuons.
3. Question No. I will be compulsory and based on the entire syllabus.
4. Remaining question (Q.2 to Q.6) will be selected from all the modules.
~
I Artif icial Intel ligen ce Lab (CSL 502)
I
Lab Code Lab Name
Credit
CSL502 Artificia l Intelligen ce Lab
~
~ Prerequisite : C Programming Languag e
Lab Objectiv es
l To design suitable Agent Architect ure for a given real world AI problem.
---
2 To implemen t knowledg e representa tion and reasoning in AI language.
3 To design a Problem- Solving Agent.
4 To incorpora te reasoning under uncertain ty for an AI agent.
Lab Outcom es
At the end of the course, students will be able to -
l Identify suitable Agent Architect ure for a given real world AI problem.
2 Implemen t simple programs using Prolog.
3 Implemen t various search technique s for a Problem- Solving Agent.
4 Represent natural language descriptio n as statement s in Logic and apply inference rules
to it.
5 Construct a Bayesian Belief Network for a given problem and draw probabilis tic
inference s from it.
Suggeste d Experiments : Students are required to complete at least 10 experimen ts.
I
'½ ·;>;,<,/
~TM' 1W0
Sr-
-
%
Wt :Naqie of;fh; Jt~~ l:ill '11,iffi . • ft'
1 Provide the PEAS descriptio n and TASK Environm ent for a given AI problem.
2 Identify suitable Agent Architect ure for the problem.
-
oCJCl
Syllabus ...
University of Mumbai
Artificial Intelligence {Code : ELDLO7013)
Artificial
ELDW7013
Intelligence
03 - - 03 - - 03
Examination Scheme
Theory Marks
Artificial
ELDW7013 Intelligence 20 20 20 80 03 100
~ Course Objectives
I. To gain perspective of AI and its foundations.
2. To study different agent architectures and properties of the environment.
3. To understand the basic principles of Al towards problem solving, inference, perception, knowledge- representation. .ind
learning.
4. To investigate probabilistic reasoning under uncertain and incomplete information.
5. To explore the current scope, potential, limitations, and implications of intelligent systems.
1.1 Artifidal lntclligl'l\l'l' (Al), Al Pl•rspcclivl's Acl111g and Th111~mg hum,1nly. Acting and
l 5
Thinldng rnlil1t1111ly.
-- -
1.2 Histot) of Al. Applications of Al, Thl' prcSl'nt slate or Al. Ethics III AI. (Refer Chapter 1)
-
Intelligent Agents
2.1 Introduction of agents, Structure of Intelligent Agent. Characteristics of Intell igcnt Agents.
2 2.2 Types of Agents : Simple Reflex, Model Based. Goal Based. Utility Based Agents. 6
3.1 Definition, State space representation, Problem as a state space search, Problem formulation.
Well-defined problems.
3.2 Solving Problems by Searching, Performance evaluation of search strategies. Time Complexit).
Space Complexity, Completeness, Optimality.
I
I
3.3 Uninformed Search : Depth First Search, Breadth First Search, Depth Limited Search. Itemti,e
Deepening Search, Uniform Cost Search, Bidirectional Search. 8
3
3.4 Informed Search : Heuristic Function, Admissible Heuristic, Informed Search Technique,
Greedy Best First Search, A* Search, Local Search Hill Climbing Search. Simulated
Annealing Search, Optimization : Genetic Algorithm.
3.5 Game Playing, Adversarial Search Techniques, Mini-max Search, Alpha-Beta Pruning.
(Refer Chapter 3)
I
I
4.J Definition and importance of Knowledge, Issues in Knowledge Representation. Knowled~
Representation Systems, Properties of Knowledge Representation Systems.
4.2 Propo1>itio11al Logic (PL) : Syntax, Semantics, Formal logic-connectives, truth taMes, taut1.,lo~ .
validity, weJJ. /ormed lormula. s
~ -
4
4.3 Prcdical1• Logic l•OPL, Syntax, St."munt ics, Quantifil·mion. lnference rules in FOPL.
Ju1roduc: 11011 to Jog rt p1 op1 ,11111111ng (PROL OCi).
- -
__J
Reason ing Under Uncerta inty
Inference
5.1 Handling Uncertain Knowled ge, Random Variables , Ptior and Posterior Probability,
5
using Full Joint Distribut ion.
5
S.Z Bayes' Rule and its use, Bayesian Belief Networks , Reasonin g in Belief Networks .
(Refer Chapter 5)
6.1 The planning problem, Partial order planning, total order planning.
6
ed 7
6.Z Leaming in AI, Learning Agent, Concepts of Supervise d, Unsuperv ised, Semi -Supervis
Leaming , Reinforc ement Learning , Ensembl e Learning .
user
6.3 Expert Systems, Compon ents of Expert System : Knowled ge base, Inference engine,
Expert Systems. (Refer Chapter 6)
interface, working memory, Developm ent of
Total 39
I Module 1 f
I Module 2 I
• Chapter 2 : Intelligent Agents ......................................................................2-1 to 2-11
I Module 3 I
• Chapter 3 : Solving Problems by Searching ................................................ 3-1 to 3-54
'I Module 41
• Chapter 4 : Knowledge and Reasoning .......................................................4-1 to 4-48
f Modules I
• Chapter 5 : Reasoning Under Uncertainty .................................................. 5-1 to 5-22
~ I Module 6 I
_. Chapter 6: Planning and Learning ............................................................. 6-1 to 6-31
□□□
--
Module 1
CHAPTER
Introduction to
1 Artificial Intelligence
Syllabus
1.1 Artificial Intelligence (Al}, Al Perspectives: Acting and Thinking humanly, Acting and Thinking rationally.
1.2 History of Al, Applications of Al, The present state of Al, Ethics in Al.
'Then' arc tlm.-c- kinds of intc.:-lligc.:-m:c.:-: one kind undcrslnnd things for itsc~f, the o~er ~pprcciates Whatoth
rnn undc.:-n;tand, the- third undt·rstands 1withcr for itself nor through others. TlllS firS t kmd ts excellent, the seco:;
good. and tht' thini kind nsdcss ·.
Nicolo Mach·
tavelli
St," hat docs tht' WtWd 'intelligence' mean '? Let us define 'intelligence'•
1. According to the first definition
Somt.'1.,nc-· s intdligenc.:-e is his ability to understand and learn things.
2. From the second definition
lntdligence is the ability to think and understand instead of doing things by instinct or automatically. These
definitions lead us to define what 'Thinking' is :
'Thinking is the activity of using your brain to consider a problem or to create an idea'.
So. in order to think. someone or something has to have a brain or, in other words, an organ that enables one
or something to learn and understand things, to solve problems and to make decisions.
So. now we can define intelligence as 'the ability to learn and understand, to solve problems and to make
decisions·. Now the question arises whether computers can be intelligent, or whether machines can think and
m:ike decisions.
Here. we enter into the Domain of Artificial Intelligence. Artificial Intelligence (AI)' is intelligence
demonstrated by machines, as opposed to natural intelligence displayed by animals including humans.
It is defined as 'the field of study of intelligent agents'; any system that perceives its environment and takes
actions that maximise its chance of achieving its goals.
AI is also described as machines that perform functions that humans associate with human mind. such as
'learning· and ·problem solving'.
~ AJ. applications include
rc1 venture
(MS-126) ~ Tech-Neo Publications...A SACHIN SHAH
t 111, "
,c:::;s!;;;)==== ==== £ln~t r~0< ;l~t1~c~t1o~r~1~•o~A~rt~1fl~<'~I~•IInt 1ll11 1,11
r It, ( 1
,, o 'J)
~A~rt~if~ic~ia~I~ln;;.te;;l:a:lig~e==n=c=e={=M=U=•=A=l=&=O=S=/=F=le=c=tr=o=:n=
th 11 \• ,th ti~ rnNm nu pn1r11111I 111d pow ,, Al 111 ,y
Scienc e frrclion ,md fntnrc,h,gy h,n c ,1 1'-l' s11l'P<'~tcd
becom e an rxi~lcnli.11 rn,k fl' hum,11Ht,
(l) Huma nkind ha., gn en tfsdf thl' ,cwnt1 flc
homo '-11111t-u, 111111 1hr \\ 1 h ( Ill I llllf ffitlll ii 1 , , , f( 111
llllllll'
ol ,;rlf I h f,clcl til rtrllfJdul h1ttlll1 t• m c ,,1 Al
arc <;11 m1pl,rl,mt !(, 11 111 n er, tia, In l'"- nnd 0111 sc n<;c
to ~ludy 11 1 lo 1 ir11 m(,r ii ,n111 111,r , I,
attem pt, 11, nndcrst,HHi inkllig«'nt l'lltitlt•s I h\1',, Pn1 1c,1,n11
111,o cnnlc 111cd ,,,1111111cll1r, 111 1rt1t1, 1d ,nt 11,y n•c:
(2) But unhk1 ·11 h 1h,,npl n ,md Jll-)1'h Ph,g) , \\h1t'h 1111•
them J\noth rr re 1 <111 to 111dy ,rtrt, 1 ii rnlr lltJr
,lrin , So lmilrf intdll gl'nt t.·ntitks •'" "dl ,,._ 1111tkr<;t11111l
rnd 11wlt1' 111 1hc1r own r1gli1
,, thnt thC'-l' n,n~tr n1·t1'd mtdli gcnt 1•ntiltl''- ,\ll' tnl1.'rl''-ling
and Imprc, ,1vc p, od11c1 t:vcn nl th, ,rl y t,,r, ,n 11
(3l Art1fil 1111 111t1.-lhgl nc1· h,,, prodm·1.•d mam s1gnit ,cont
11 ,._ clc 11 1h ,, u1111p11tcr with h11m,1n I , I
de, cl0f'~) l'n1 \ltlwn !!,h no one can pnxhc t tht• future Ill dc1,11L our of
cH·ry day lives ,111d 1111 lh< lutur
mrcl':~•cn<'t' (<'I hcttrr ) \a.ould have a huge 11npact on our
CJ\ 1\1, :1t1,,T'I.
s. How 1s 11 posst hk lor ,1 .,low, 11ny huw1 f brain}
(4) Art1firrnl mtclhg .cncc addre sses one of the ultuna tc punlc
v.hclh cr b10log ical or electr onic, to perce ive, under stand
, predi ct, and manip ulate.- , 1 world for lar er and
g somet hing with 1hosc prope11,co;'/ TI1c'le .ire hard
more compl icated than itself? How do we go about makin
or an antigr avHy Jcv,cc , the rcsc:,1rchcr tn art1fic1al
quc,.ti on,, l'lut unlike the search for faster -than- light travel
mlclh gcncc has sohd evide nce that the quest is possib le.
It was forma lly initiat ed m 1956, when the name w
5 Arufic ial intcllt gence is one of the newes t discip lines.
for about five years. Along with mode rn gcneuc, 1t
coined , althou gh at that point work had been under way
by scient ists in other discip lines. A studen t m
1s regula r!) cited as the "field l would most like to be in"
alread y been taken by Galile o, Newto n. Einstem.
physic s might reason ably feel that all the good ideas have
one can contri bute new ideas. Artifi cial intdli gence ,
and the rc~t, and that it Lakes many years of study before
on the other hand, still has openi ngs for a full-ti me.
y but is still consta ntly and active ly growr ng and
6 Arttfic1aJ intelli gence (Al) is a field that has a long histor
singly preva lent in our every day lives. It ha,; uses m
chang ing Artifi cial intcrn gence (Al) techno logy is increa
rc:-.cmch
2 l\'arJcty ol indu~trie!> from gamin g, journa
lism/m edia, to financ e, as well as in the state- of-the -art
fidds from rohoti cs, medic al diagnosis, and quant um scienc e.
Syllab us Topic : Al Perspectives
~ 1.2.
(M5-126)
~ Tech-Neo Publications.. A SACHIN SHAH Venture
Artificial lntelli ence MU - Al & OS / Electronics Introduction to Artificial lntelli
(2) Knowled ge
Knowled ge is a justified true belief. Knowled ge is a store of informat ion proven useful for a capacity
to act,
(3) Intellige nce
• Unlike belief and knowledg e, intelligen ce is not informati on: it is a process, or an innate capacity
to
use informat ion m order to respond to ever-chan ging requirem ents.
• It is a capacity to acquire, adapt, modify, extend and use informat ion in order to solve problerns
.
Therefore . intelligen ce is the ability to cope with unpredict able circumsta nces.
11:i" (A) Human intellige nce
• Human intelligen ce is the intellectual capacity of humans, which is character ized by perception
,
conscious ness, self-awar eness, and volition.
• Intelligen ce enables humans to remembe r descriptio n of things and use those descriptio ns in future
behaviours. It is a cognitive process.
• It gives humans the cognitive abilities to learn, from concepts, understan d, and reason, including
the
capacities to recognize patterns, comprehe nd ideas, plan, solve problems , and use language
to
communi cate. Intelligen ce enables humans to experienc e and think.
6" (B) Artificial intellige nce
• Artificial intelligen ce (or AI) is both the intelligen ce of machines and the branch of computer science
which aims to create it, through "the study and design of intelligen t agents" or "rational agents",
whereas; an intelligen ce agent is a system that perceives its environm ent and takes actions
which
m.aximiz.e its chances of success.
• Achievem ents in artificial intelligence include constrain ed and well-defi ned problems such as games,
crosswor d-solving and optical character recognition and a few more general problems such
as
autonom ous cars. General intelligen ce or strong AI has not yet been achieved and is a long-term goal
of AI research.
Syllabus Topic : Acting and Thinking Humanly
The ftr1>t propmal for success in building a program and acts humanly was the Turing Test. To be
considered
,nteJligen t a program must be able to act sufficiently like a human to fool an interrogator. A human
interrogates
the program and another human vfa a terminal simultaneously. If after a reasonabl e period, the
interrogator
c&nnot tell which 1~ which, the program passes. To pai;s this test requires:
J. Natural fatnguage pr<JCe~sing 2. Knowledge representation
3. Automate d rea.vming 4. Machine learning
This te~t av<>id~ physical contact and concentrate~ on "higher level" mental faculties. A total
Turing test
would re.quire the program to alM> do:
• Compute r vision
• Robotic5
(MS-126)
~ Tech-Neo Publications..A SACHIN SHAH Venture
--- -- --- --- --- --- --- --- --- --- --- --:-:
Artificial Intelligence (MU - Al & DS I Electronics) (Introduction to Artificial Intelligence) ... Page No. (1-5)
Thinking Humanly
This requires "getting inside" of the hwnan mind lo see how it works and then comparing our computer
a human
programs to this. This is what cognitive science attempts to do. Another way to do this is to observe
problem solving and argue that one's programs go about problem solving in a similar way.
Example
The
GPS (General Problem Solver) was an early computer program that attempted to model human thinking.
were more
developers were not so much interested in whether or not GPS solved problems correctly. They
around the
interested in showing that it solved problems like people, going through the same steps and talcing
same amount of time to perform those steps.
Syllabus Topic: Thinking and Acting Rationally
• Aristotle was one of the first to attempt to codify "thinking". His syllogisms provided patterns of argument
structure that always gave correct conclusions, giving correct premises.
• Example: All computers use energy. Using energy always generates heat. Therefore, all computers generate
the
heat This initiate the field of logic. Formal logic was developed in the late nineteenth century. This was
could,
first step toward enabling computer programs to reason logically. By 1965, programs existed that
if
given enough time and memory, talce a description of the problem in logical notation and find the solution,
one existed. The logicist tradition in AI hopes to build on such programs to create intelligence.
• There are two main obstacles to this approach: First, it is difficult to make informal knowledge precise
is
enough to use the logicist approach particularly when there is uncertainty in the knowledge. Second, there
a big difference between being able to solve a problem in principle and doing so in practice.
Acting Rationally: The rational agent approach
• Acting rationally means acting so as to achieve one's goals, given one's beliefs. An agent is just something
that perceives and acts.
• In the logical approach to AI, the emphasis is on correct inferences. This is often part of being a rational
this is
agent because one way to act rationally is to reason logically and then act on ones conclusions. But
not all of rationality because agents often find themselves in situations where there is no provably correct
thing to do, yet they must do something. There are also ways to act rationally that do not seem to involve
inference, e.g., reflex actions.
The study of AI as rational agent design has two advantages :
1. It is more general than the logical approach because correct inference is only a useful mechanism for
achieving rationality, not a necessary one.
thought
2. It is more amenable to scientific development than approaches based on human behaviour or human
because a standard of rationality can be defined independent of humans.
Achieving perfect rationality in complex environments is not possible because the computational demands
are too high. However, we will study perfect rationality as a starting place.
(MS-126)
~ Tech-Neo Publications...A $ACHIN SHAH Venture
Artificial lntelli ence MU - Al & OS / Electronics Introduction to Artificial lntelli e No. 1-6
~ 1.5 HISTORY OF Al
I ... I I •• I • t
Sec:ondAJ lBM Deep blue Al in Home: IBM s Watson : Google now Chalbot Eugene Amazon
: first computer Roomba Wins a quiz Goostman:Wins Echo
to beat a world show a"Turing test
chess champion
( 1} AI In Robotics
• 1 flna11c.
• Robotics is additionnl field where nrlificial Gaming
• Artificial Jntcl11gcnce is used lo identify defects and nutrient dcficicndcs in the soil. This is done using
computer v1swn, robotics, and machine learning, Al can analyze where weeds arc growing.
• Al bots can help to harvest crops al a higher volume and faster pace than human laborers.
(3) AI In Gaming
• A1101hc1 sector whc1c A1til1ciul l11t.cJligcnce applications have found prominence is the gaming sector.
• Jt c,ui ali;o ht: uM.:d lo pn.·dicl h111111111 hchuvior using which gnme design and testing can be improved.
(4) AI In Automobile•
• Aittf1cial l11h ll11•1·11cl' is w,t·d lo huild 111:Jf driving vcl11dus. Al can he used along with the vehicle's
carw ,a, wclw, l'ioud sc·, v,u ~. OJ'S, 1111(1 co11lrnl 'li/~nuls lo 11purnl1.· the vuhicle
• A J c:i11 ,mpiovc· tlH' iu v1 l11clt I xpc , H 11c1· 1111d prnvidt· udditional systems like cnwrgency braking,
1>l111tl spol 1110111tc,11111 1 , a11d d11v11 111;1,11,I 111t·c·11111•,
(5) Al In 5ocl11I media
• Jn~lugrum ; 011 l11s1111•i;1111, Al < ousulc ,., you, l1kl·1, 1111d lht· m:cm1111s you follow lo determine what
posts you arc ,how11 011 yo111 < xpl1111 1111>
Faccbook : Artificial lntclligcncc is also used along with a tool called DccpTcxt. With this
tooJ,
•
Facchook can understand conversations heller. Jt can be used to translate posts from different languages
automatically.
• TwiUcr : Al is used by Twitter for fraud detection, removing propaganda, and hateful content.
Twitter
also uses Al to recommend tweets that users might enjoy, based on what type of tweet,; they engage
with.
(6) AI In Marketin g
• The system which relics on degree of trulh and change in states along with rate of inputs and out
where output depends on fecding of the input, its state, and rate of change of this state. Put,
• Also we can say, probability is importanl in case of state of how input is given on this basis a Pattie
. automo b"l
output is attached to given input. Examples: Consumer Electrorucs, 1 es etc.
u1ar
Syllabus Topic: The Present State of Al
~ 1 . 7 CURRENT TRENDS IN Al
- --- --- --- --- --- --- - J
While the COVID - 19 pandemic impacted many aspects of how we do business, it did not diminish thd
impact of Artificial Intelligence (AI) on our everyday lives. AI remains a key trend when it comes to technology
and innovations that will fundamentally change how we live, work, and play in the near future.
Al is the force behind many modem technological comforts that are now part of our day -to - day lives. With
continuous research, technology has made massive developments in major fields such as health-care, retail,
automotive, manufacturin g and finance. AI is one essential component that transforms the digital age with high
precision and accuracy. So, here there is an overview of what we can expect in the years to come.
I
I.Robotic Process Automation (RPA) 2. Conversational AI
3. The role of AI in healthcare 4. Increase in demand for ethical AI
5. AI for cyber security and knowledge breach
6. The Intersection of the Internet of Things with AI (AIOT)
7 Natural Language Processing (NLP) 8. Reinforcement Learning
9 Quantum AI
l 0 . AI-Powered Business and Forecasting and Analysis
11. Edge computing 12. Rise of a hybrid work force
• ·r o streamJine business processes and reduce coslS, they are turning to an evolving technology practice
called as robotic process automation (RPA)
• HPA is aimed at the automation of business processes, governed by business logic, and organised
inputs.
• HPA ,-;,,Jution rany,e from producing an automated email response to deploying thousands of bots. Each
is programmed in an ER i' i;yst.cm to automate rule-based tasks.
(2) eonversatlon al A l
(9) Quantum AI
begin using quantum
• To measur e the Qubits for use in supercomputers, advanced companies will
quicker pace than classic
supremacy. Because of quantum bits, quantum computers solve problems at a
computers do.
(MS-126)
li1 Tech-Neo Publications...A SACHIN SHAH Venture
Artificial lntelli ence MU - Al & OS/ Electronics Introduction to Artificial lntelli ence ...Pa e N
. 0, , ,,
• Also they assist in the interpretation of data and then forecaS t several uruque trends. ~
. .
Quantum computers will help multiple orgarusa on 1
· u· s ·dentify inaccessible issues and also
• · • Preqict
·11 also be used in fields like healthcare, fililance
mearungful solut10ns. Future computers w1
chemistry. ~
(10) AI-Powered Business and Forecasting and Analysis
• AI solutions help in redefining business processing with real-time alerts.
• Content-intelligent technologies, along with AI-supportive practices, will assiS t digital Workers lo
develop outstanding abilities.
• Such skills can help them cope with the automation of natural language, judgment, context formation,
reasoning and data-related insights.
(11) Edge computing
• Edge computing provides gadgets with servers and data storage to access their devices and allows thelli
to put data into them. It is defined as data processing in real-time and is more powerful than 'cloud
computing services'.
• There is another instance of edge computing that uses nodes. It is a mini-server located in the vicinity of
a local telecommunications provider.
• Nodes help to build a bridge between the local service provider. It costs less, saves time and provides
customers with fast service.
(12) Rise of a hybrid work force
• Post the COVID-19 pandemic, companies will change on to RPA bandwagon, which means thm
cognitive AI and RPA will be widely applied to cope with high volume, repetitive activities.
• If usages grow, the office will move to a hybrid workforce environment.
• The human workforce will work with various digital assistants. The emergence of a hybrid workforce
will imply more collaborative experiences with AI.
Syllabus Topic : Ethics in Al
Completing multiple tasks is another aims and objectives of artificial intelli th 1arges1
· h b alci · 'bl gence. One of e
difficu Ities to overcome as een m ng 1t poss1 e for an AI program or a " robot,, to do more than one tasl-'. ·
to point B.
either bring 1l to point
However, if you want the program to understa nd that it must pick up the item and then
~cory. In
A or throw it in the trash based on arbitrary rules that a human would know that' s a different
simpler terms, it might be a while before your housema id is a robot.
0 00
Inte ligence (MU-AI (3-51)
(Solving Problems by Searching)...Page No.
&DS/Electronics)
Atioia
Problem
S 3.26. 1
cic-ta-toe 2. Here, the maximizer has to play first followed by
and B
used to solve tic-tac-toe i
the minimizer. Thus maximizer assigns -6
AI technique is
GQ How
problem2 which is passed back to A. This is replaced by 3,
move.
value passed by Cas A has the maximizer
Now A will not be examining D and its children.
Since value of K is zero and D is having
minimizer move making its value 0 or less than 0
only. Thus the tree with the root K will be pruned,
which would save a lot of time in searching.
43 +5 47 +3 +2
1. As mentioned above, game trees are rarely used in
real-time scenarios (when the computer isn't given
Fig. 3.26.2 :A game tree expanded by two levels and very much time to think).
their associated static evaluation function value
8 IfA moves to C, then the minimizer will move to 2. The method requires a lot of processing by the
K (static evaluation function value = 0) which is computer, and that takes time.
the minimum of 3, + 5, 7 and 0. So the value of 0 3 For the above reason (and others) they work best
is backed up at C. On similar lines, the value that in turn-based games.
is backed up at D is 2. The tree now with the
4. They require complete knowledge of how to
backed up values is given in Fig. 3.26.3. move.
(M5-126) Vente
Tech-Neo Publications.. ASACHIN
SHAH
(MU-AI|& DS /Electronics) Searching)...Page No. (3-53)
| Intelligence
Artificial (Solving Problems by
thissal,gorithm two players play the game, one is values, considering
6. In MAX and other is called MIN. Now, we calculate the utility
called we reach the root of the
one layer at a time, till
Both the players fight it as the opponent player
gets the minimum benefit while they get the tree, i.e. the top-most point.
maximum benefit. can directly evaluate
Here we have 3 layers, so we
. The mini-max algorithm performs a depth-first min (9, 11, -8, 12}=-8
search algorithm for the exploration of the move for min is
complete game tree. DStep III: Thus, the best opening
proceeds all the way the third node.
8. The mini-max algorithm min max decision. It
down to the terminal node of the tree, then This move is called the
backtrack the tree as the recursion. that the
maximises the utility with the knowledge
IEy. 3.27.1:(MU - Dec. 15, Dec. 19, 10 Marks) minimise it.
opponent is also playing optimally to
Problems on min-max search on game tree as shown in
> Step IV:Thus,
the Fig. Ex, 3.27.1. 4},
Min. Min-max decision = min (max (9, 7), max {11,
max (-8, 9}, max (-2, 12}}
= min (9, 11, 8, 12} =-8
Max.
UEx. 3.27.2:(MU - May 18, 10 Marks)
given in the
Apply min-max search on game tree
Fig. Ex. 3.27.2.
Fig. Ex. 3.27.1 M Soln. :
Step I: Here the given move of the player is max;
Soln. : we calculate first maximum of all nodes
in the last
Step ():Since the given move of all the player is layer, to determine the utilities of the
terminal
of nodes.
max; we calculate first maximum nodes.
above the
We begin with left node of the layer We begin with the left node of the layer.
node.
terminal; to calculate the utility of the left Again move of the layer is maximum, we choose
Now, max (9, -7} = 9 the maximum of all the utilities. ...)
= 9
.. Utility of the left most node i) max (4,3, 1}=4
same layer is
The utility of the next node of the .. Utility of the left most-node is 4
..(i)
max (11, 4}= 11 Min.
Chapter Ends..
DO0