jai ai ppt is about the alpha beta pruning in ai whichis more important i n this world

usukkingdom 22 views 21 slides Aug 13, 2024
Slide 1
Slide 1 of 21
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21

About This Presentation

ai and ml


Slide Content

ALPHA -BETA PRUNING
Er. ZeeshanAli Siddiqui
Assistant Professor
Deptt. of C.S.E.
FACULTY OF ENGINEERING AND TECHNOLOGY
UNIVERSITY OF LUCKNOW
LUCKNOW

ALPHA -BETA PRUNING

Alpha -Beta Pruning
•Avoidprocessingthosesub-treesthathavenoeffectonthe
result.
•Twonewparameters
α:ThebestvalueforMAXseensofar
β:ThebestvalueforMINseensofar

Alpha -Beta Pruning
•αisusedinMINnodes,andisassignedinMAXnodes.
•βisusedinMAXnodes,andisassignedinMINnodes.
•Whenmaximizing:
cutoffvalueslowerthanAlpha
•Whenminimizing:
cutoffvaluesgreaterthanBeta

When to Prune
•Prunewheneverα≥β
•PrunebelowaMaxnodewhosealphavaluebecomes>=the
betavalueofitsancestors.
Maxnodesupdatealphabasedonchildren’sreturnedvalues.
•PrunebelowaMinnodewhosebetavaluebecomes<=the
alphavalueofitsancestors.
Minnodesupdatebetabasedonchildren’sreturnedvalues.

ALPHA -BETA PRUNING
Example 1

Example 1

Example 1

Example 1

Example 1

ALPHA -BETA PRUNING
Example 2

Example 2

Example 2

Example 2

Example 2

Example 2

Example 2

Example 2

Homework
•Alpha-BetaPruningalgorithm
•BenefitsofAlpha-BetaPruning.
•Givethereasoningofbelowalpha-betapruningofagametree.

References
1.StuartRussell,PeterNorvig,“ArtificialIntelligence-AModernApproach”,Pearson.
2.ElaineRichandKevinKnight,“ArtificialIntelligence”,McGraw-Hill.
3.ECharniakandDMcDermott,“IntroductiontoArtificialIntelligence”,Pearson.
4.PPTofDr.R.DeviPriya,AssociateProfessor,DepartmentofInformationTechnology,
KonguEngineeringCollege
5.https://www.geeksforgeeks.org/minimax-algorithm-in-game-theory-set-4-alpha-
beta-pruning/
6.Slide-2imageviahttps://www.euroyardservice.com/services/trees-shrub-
trimming/
Disclaimer:Thee-contentisexclusivelymeantforacademicpurposesandforenhancingteachingandlearning.Anyother
useforeconomic/commercialpurposeisstrictlyprohibited.Theusersofthecontentshallnotdistribute,disseminateor
shareitwithanyoneelseanditsuseisrestrictedtoadvancementofindividualknowledge.Theinformationprovidedinthis
e-contentisdevelopedfromauthenticreferences,tothebestofmyknowledge.

Thank You.
Tags