版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Ch8ExpertSystemDr.BernardChenPh.D.UniversityofCentralArkansasSpring2019Ch8ExpertSystem1OutlineExpertSystemintroductionRule-BasedExpertSystemGoalDrivenApproachDataDrivenApproachModel-BasedExpertSystemOutlineExpertSystemintroduc2ExpertSystemIntroductionHumanexpertsareabletoperformatasuccessfullevelbecausetheyknowalotabouttheirareasofexpertiseAnExpertSystemuseknowledgespecifictoaproblemdomaintoprovide“expertquality”performanceinthatapplicationareaAswithskilledhumans,expertsystemstendtobespecialists,focusingonanarrowsetofproblemsExpertSystemIntroductionHum3ExpertSystemIntroductionBecauseoftheirheuristic,knowledgeintensivenature,expertsystemsgenerally:SupportinspectionoftheirreasoningprocessesAlloweasymodificationinaddinganddeletingskillsfromknowledgebaseReasonheuristically,usingknowledgetogetusefulsolutionsExpertSystemIntroductionBeca4ExpertSystemIntroductionExpertsystemsarebuilttosolveawiderangeofproblemsindomainsuchasmedicine,math,engineering,chemistry,geology,computerscience,business,low,defenseandeducationTheseprogramsaddressavarietyofproblems,thefollowinglistisasummaryofgeneralexpertsystemproblemcategories:ExpertSystemIntroductionExpe5ExpertSystemIntroductionInterpretation---forminghigh-levelconclusionsfromcollectionsofrawdataPrediction---projectingprobableconsequencesofgivensituationsDiagnosis---determiningthecauseofmalfunctionsbasedonobservablesymptomsExpertSystemIntroductionInte6ExpertSystemIntroductionDesign---findingaconfigurationofsystemcomponentsthatmeetsperformancegoalswhilesatisfyingasetofdesignconstrainsPlanning---devisingasequenceofactionsthatwillachieveasetofgoalsgivenstartingconditionsandruntimeconstrainsExpertSystemIntroductionDesi7TheDesignofRule-BasedExpertSystemarchitectureofatypicalexpertsystemforaparticularproblemdomain.TheDesignofRule-BasedExper8TheDesignofRule-BasedExpertSystemThehearoftheexpertsystemistheknowledgebase,whichcontainstheknowledgeofaparticularapplicationdomainInarule-basedexpertsystem,thisknowledgeismostoftenrepresentedintheformofif…then…Inthefigure,theknowledgebasecontainsbothgeneralandcase-specificinformationTheDesignofRule-BasedExper9TheDesignofRule-BasedExpertSystemTheinferenceengineappliestheknowledgetothesolutionofactualproblemsItisimportanttomaintainthisseparationoftheknowledgeandinferenceenginebecause:MakesitpossibletorepresentknowledgeinamorenaturalfashionExpertsystembuildercanfocusoncapturingandorganizingproblem-solvingknowledgethanthedetailsofcodeimplementationAllowchangetobemadeeasilyAllowsthesamecontrolandinterfacesoftwaretobeusedindifferentsystemsTheDesignofRule-BasedExper10SelectingaproblemExpertSysteminvolveaconsiderableinvestmentofmoneyandhumaneffortResearchershavedevelopedguidelinestodeterminewhetheraproblemisappropriateforexpertsystemsolution:TheneedforthesolutionjustifiesthecostandeffortsofbuildinganexpertsystemHumanexpertiseisnotavailableinallsituationwhereitisneededSelectingaproblemExpertSyst11SelectingaproblemTheproblemdomainiswellstructuredanddoesnotrequirecommonsensereasoningTheproblemmaynotbesolvedusingtraditionalcomputingmethodsCooperativeandarticulateexpertsexistTheproblemispropersizeandscopeSelectingaproblemTheproblem12NASAExampleNASAhassupporteditspresenceinspacebydevelopingafleetofintelligentspaceprobesthatautonomouslyexplorethesolarsystemToachievesuccessthroughyearsintheharshconditionsofspacetravel,acraftneedstobeabletoradicallyreconfigureitscontrolregimeinresponsetofailuresandthenplanaroundthesefailuresduringitremainingflightNASAExampleNASAhassupported13NASAExampleFinally,NASAexpectsthatthesetofpotentialfailurescenariosandpossibleresponseswillbemuchtoolargetousesoftwarethatsupportspreflightenumerationofallcontingenciesLivingstoneisanimplementedkernelforamodel-basedreactiveself-configuringautonomoussystemNASAExampleFinally,NASAexpe14NASAExampleAlong-heldvisionofmodel-basedreasoninghasbeentouseasinglecentralizedmodeltosupportavarietyofengineeringtasksThetasksincludekeeping-trackofdevelopingplansConfirminghardwaremodesReconfiguringhardwareDetectinganomaliesDiagnosisFaultrecoveryNASAExampleAlong-heldvision15NASAExampleNASAExample16NASAExampleItconsistofaheliumtankRegulatorsPropellanttanksApairofmainengineLatchvalvesPyrovalvesNASAExampleItconsistof17NASAExampleTheheliumtankpressurizesthetwopropellanttanks,withtheregulatorsactingtoreducethehighheliumpressureWhenpropellantpathtoamainengineareopen,thepressurizedtankforcesfuelandoxidizerintothemainenginetoproducethrustThepyrovalveistoisolatepartsofthemainenginesubsystemuntiltheyareneeded,ortopermanentlyisolatefailedcomponentsThelatchvalvearecontrolledusingvalvedriversandtheaccelerometerNASAExampleTheheliumtankpr18NASAExampleThrustcanbeprovidedbyeitherofthemainenginesandthereareanumberofwaysofopeningpropellantpathstoeithermainengineNASAExampleThrustcanbeprov19NASAExampleSupposethemainenginesubsystemhasbeenconfiguredtoprovidethrustfromtheleftenginebyopeningthelatchvalvesleadingtoitAndsupposethisenginefails(overheating),sothatisfailstoprovidetherequiredthrustToensurethatthedesirethrustisprovided,thespacecraftmustbetransitionedtoanewconfigurationinwhichthrustisnowprovidedbythemainengineontherightsideNASAExampleSupposethemaine20SelectingaproblemTheprimarypeopleinvolvedinbuildinganexpertsystemaretheknowledgeengineer,domainexpert,andenduserThedomainexpertisprimarilyresponsibleforspellingoutskillstoknowledgeengineerItisoftenusefulforknowledgeengineertobeanoviceintheproblemdomainSelectingaproblemTheprimary21Exploratorydevelopmentcycle
Exploratorydevelopmentcycle22ExploratorydevelopmentcycleItisalsounderstoodthattheprototypemaybethrownawayifitbecomestocumbersomeorifthedesignersdecidetochangetheirbasicapproachtotheproblemAnothermajorfeatureofexpertsystemisthattheprogramneedneverbeconsidered“finished”ExploratorydevelopmentcycleI23OutlineExpertSystemintroductionRule-BasedExpertSystemGoalDrivenApproachDataDrivenApproachModel-BasedExpertSystemOutlineExpertSystemintroduc24StrategiesforstatespacesearchIndatadrivensearch,alsocalledforwardchaining,theproblemsolverbeginswiththegivenfactsoftheproblemandsetoflegalmovesforchangingstateThisprocesscontinuesuntil(wehope!!)itgeneratesapaththatsatisfiesthegoalconditionStrategiesforstatespacesea25“tic-tac-toe”
statespacegraph
“tic-tac-toe”statespacegrap26StrategiesforstatespacesearchAnalternativeapproach(GoalDriven)isstartwiththegoalthatwewanttosolveSeewhatrulescangeneratethisgoalanddeterminewhatconditionsmustbetruetousethemTheseconditionsbecomethenewgoalsWorkingbackwardthroughsuccessivesubgoalsuntil(wehopeagain!)itworkbacktoStrategiesforstatespacesea27Rule-BasedExpertSystemRulebasedexpertsystemrepresentproblem-solvingknowledgeasif…then…ItisoneoftheoldesttechniquesforrepresentingdomainknowledgeinanexpertsystemItisalsooneofthemostnaturalandwidelyusedinpracticalandexperimentalexpertsystemRule-BasedExpertSystemRuleb28Rule-BasedExpertSystemInagoal-drivenexpertsystem,thegoalexpressionisinitiallyplacedinworkingmemoryThesystemmatchesruleconclusionswiththegoal,selectingoneruleandplacingitspremisesintheworkingmemoryThiscorrespondstoadecompositionoftheproblems’goalintosimplersubgoalsTheprocesscontinuesinthenextiterationoftheproductionsystem,withthesepremisesbecomingthenewgoalstomatchRule-BasedExpertSystemInag29AunrealExpertSystemExample
Rule1: if theengineisgettinggas,and theenginewillturnover, then theproblemissparkplugs.Rule2: if theenginedoesnotturnover,and thelightsdonotcomeon then theproblemisbatteryorcables.Rule3: if theenginedoesnotturnover,and thelightsdocomeon then theproblemisthestartermotor.Rule4: if thereisgasinthefueltank,and thereisgasinthecarburetor then theengineisgettinggas.AunrealExpertSystemExample30Theproductionsystematthestartofaconsultationinthecar diagnosticexample.
Theproductionsystematthes31Theproductionsystematthestartofaconsultationinthecar diagnosticexample.Threerulesmatchwiththisexpressioninworkingmemory:rule1,2,and3Ifweresolveconflictsinfavorofthelowest-numberedrule,thenrule1willfireThiscauseXtobeboundtothevaluesparkplugsandthepremisesofrule1tobeplacedintheworkingmemoryTheproductionsystematthes32TheproductionsystemafterRule1hasfired.
TheproductionsystemafterRu33TheproductionsystemafterRule1hasfired.Notethattherearetwopremisestorule1,bothofwhichmustbesatisfiedtoprovetheconclusiontrueSonowweneedtofindoutwhetherTheengineisgettinggas,andTheenginewillturnoverWemaythenfirerule4forwhether“Theengineisgettinggas”TheproductionsystemafterRu34ThesystemafterRule4hasfired.Notethestack-basedapproachtogoalreduction.
ThesystemafterRule4hasfi35Theand/orgraphsearchedinthe
cardiagnosisexample,withtheconclusionofRule4matchingthefirstpremiseofRule1.
Theand/orgraphsearchedint36ExplanationandTransparencyinGoal-DrivenReasoningThefollowingdialoguebeginswiththecomputeraskingtheuseraboutthegoalspresentintheworkingmemory:Gasinfueltank?YESGasincarburetor?YESEnginewillturnover?WHYExplanationandTransparencyi37ExplanationandTransparencyinGoal-DrivenReasoningIngeneral,thetwoquestionsansweredbyrule-basedexpertsystemareWHY?andHOW?WHYmeans“whydidyouaskforthatinformation”TheansweristhecurrentrulethattheproductionsystemisattemptingtofireHOWmeans“Howdidyougettheresult”TheansweristhesequenceofrulesthatwereusedtoconcludeagoalExplanationandTransparencyi38ExplanationandTransparencyinGoal-DrivenReasoningThefollowingdialoguebeginswiththecomputeraskingtheuseraboutthegoalspresentintheworkingmemory:Gasinfueltank?YESGasincarburetor?YESEnginewillturnover?WHYIthasbeenestablishedthat:1.Theengineisgettinggas,2.Theenginewillturnover,(weneedtoknow)Sothatwecanmaketheconclusionthat“Thentheproblemisthesparkplugs.”
ExplanationandTransparencyi39ExplanationandTransparencyinGoal-DrivenReasoningGasinfueltank?YesGasincarburetor?YesEnginewillturnover?Why
Ithasbeenestablishedthat:1.Theengineisgettinggas,2.Theenginewillturnover,Thentheproblemisthesparkplugs.
Howtheengineisgettinggas
Thisfollowsfromrule4:ifgasinfueltank,andgasincarburetorthenengineisgettinggas.gasinfueltankwasgivenbytheusergasincarburetorwasgivenbytheuserExplanationandTransparencyi40OutlineExpertSystemintroductionRule-BasedExpertSystemGoalDrivenApproachDataDrivenApproachModel-BasedExpertSystemOutlineExpertSystemintroduc41Data-DrivenReasoningThepreviousexampleexhibitsgoal-drivensearch.Thesearchwasalsodepth-firstsearchBreadth-firstsearchismorecommoninDataDrivenreasoningThealgorithmforthiscategoryissimple:comparethecontentsofworkingmemorywiththeconditionsofeachruleintherulebaseaccordingtotheorderoftherulesData-DrivenReasoningTheprevi42Data-DrivenReasoningIfapieceofinformationthatmakesupthepremiseofaruleisnottheconclusionofsomeotherrule,thenthatfactwillbedeemed“askable”Forexample:theengineisgettinggasisnotaskableinthepremiseofrule1Data-DrivenReasoningIfapiec43AunrealExpertSystemExample
Rule1: if
(notaskable)theengineisgettinggas,and theenginewillturnover, then theproblemissparkplugs.Rule2: if theenginedoesnotturnover,and thelightsdonotcomeon then theproblemisbatteryorcables.Rule3: if theenginedoesnotturnover,and thelightsdocomeon then theproblemisthestartermotor.Rule4: if thereisgasinthefueltank,and thereisgasinthecarburetor then theengineisgettinggas.AunrealExpertSystemExample44Data-DrivenReasoningData-DrivenReasoning45Data-DrivenReasoningThepremise,theengineisgettinggasisNOTaskable,sorule1failsandcontinuetorule2TheenginedoesnotturnoverisaskableSupposetheanswertothisqueryisfalse,so“theenginewillturnover”isplacedinworkingmemoryData-DrivenReasoningThepremi46TheproductionsystemafterevaluatingthefirstpremiseofRule2,whichthenfails.
Theproductionsystemafterev47TheproductionsystemafterevaluatingthefirstpremiseofRule2,whichthenfails.Rule2fails,sincethefirstoftwoANDpremisesisfalse,wemovetorule3Whererule3alsofailsSofinally,wemovetorule4Theproductionsystemafterev48Thedata-drivenproductionsystemafterconsideringRule4,beginningitssecondpassthroughtherules.
Thedata-drivenproductionsys49Thedata-drivenproductionsystemafterconsideringRule4,beginningitssecondpassthroughtherules.Atthispoint,alltheruleshavebeenconsideredWiththenewcontentsofworkingmemory,weconsidertherulesinorderforthesecondroundThedata-drivenproductionsys50OutlineExpertSystemintroductionRule-BasedExpertSystemGoalDrivenApproachDataDrivenApproachModel-BasedExpertSystemOutlineExpertSystemintroduc51Model-BasedExpertSystemHumanexpertiseisanextremelycomplexcombinationof:TheoreticalknowledgeExperiencedbasedproblemsolvingheuristicsExampleofpastproblemsandtheirsolutionsInterpretiveskillsThroughyearsofexperience,humanexpertdevelopverypowerfulrulesfordealingwithcommonlyencounteredsituationsTheserulesareoftenhighly“complied”Model-BasedExpertSystemHuman52Model-BasedExpertSystemInarule-basedexpertsystemexampleforsemiconductorfailureanalysis,adescriptiveapproachmightbaseon:Discolorationofcomponents(burned-out)HistoryoffaultsinsimilardevicesObservationofcomponentbyelectronmicroscopeHowever,approachesthatuserulestolinkobservationsanddiagnosisdonotofferthebenefitsofadeeperanalysisofdevice’sstructureandfunctionModel-BasedExpertSystemIna53Model-BasedExpertSystemAmorerobust,deeplyexplanatoryapproachwouldbeginwithadetailedmodelofthephysicalstructureofthecircuitandequationsdescribingtheexpectedbehaviorofeachcomponentandtheirinteractions.AknowledgebasedreasonerwhoseanalysisisfoundeddirectlyonthespecificationandfunctionalityofaphysicalsystemiscalledaMODEL-BASEDSystemModel-BasedExpertSystemAmor54Model-BasedExpertSystemThemodelbasedsystemtellsitsuserwhattoexpect,andwhenobservationsdifferfromtheseexpectations,itwillleadtoidentificationoffaultsQualitativemodel-basedreasoningincludes:AdescriptionofeachcomponentinthedeviceAdescriptionofthedevices’internalstructureObservationofthedevices’actualperformanceModel-BasedExpertSystemThem55Model-BasedExpertSystemExampleTheexpectedoutputvaluearegivenin()andtheactualoutputsin[]Model-BasedExpertSystemExam56Model-BasedExpertSystemExampleAtF,wehaveaconflictWecheckthedependenciesatthispointanddeterminedADD1,MULT1andMULT2areinvolvedOneofthesethreedevicesmusthaveafault,sowehavethreehypothesestoconsider:EithertheadderbehaviorisbadoroneofitstwoinputswasincorrectModel-BasedExpertSystemExam57Model-BasedExpertSystemExampleAssumingADD1andoneofitsinputXiscorrect(6)AnotherinputYmustbe(4)Continuethisreasoning,YcannotbeMULT2sinceGiscorrectWeareleftwiththehypothesesthatthefaultliesineitherMULT1orADD1Model-BasedExpertSystemExam58Model-BasedExpertSystemExampleFinally,weshouldnotethatintheexample,therewasassumedtobeasinglefaultydevice.TheworldisnotalwaysthisperfectManyotherpossibleproblemsmayoccur:WireisbrokenFaultyconnectiontothemultiplierModel-BasedExpertSystemExam59Ch8ExpertSystemDr.BernardChenPh.D.UniversityofCentralArkansasSpring2019Ch8ExpertSystem60OutlineExpertSystemintroductionRule-BasedExpertSystemGoalDrivenApproachDataDrivenApproachModel-BasedExpertSystemOutlineExpertSystemintroduc61ExpertSystemIntroductionHumanexpertsareabletoperformatasuccessfullevelbecausetheyknowalotabouttheirareasofexpertiseAnExpertSystemuseknowledgespecifictoaproblemdomaintoprovide“expertquality”performanceinthatapplicationareaAswithskilledhumans,expertsystemstendtobespecialists,focusingonanarrowsetofproblemsExpertSystemIntroductionHum62ExpertSystemIntroductionBecauseoftheirheuristic,knowledgeintensivenature,expertsystemsgenerally:SupportinspectionoftheirreasoningprocessesAlloweasymodificationinaddinganddeletingskillsfromknowledgebaseReasonheuristically,usingknowledgetogetusefulsolutionsExpertSystemIntroductionBeca63ExpertSystemIntroductionExpertsystemsarebuilttosolveawiderangeofproblemsindomainsuchasmedicine,math,engineering,chemistry,geology,computerscience,business,low,defenseandeducationTheseprogramsaddressavarietyofproblems,thefollowinglistisasummaryofgeneralexpertsystemproblemcategories:ExpertSystemIntroductionExpe64ExpertSystemIntroductionInterpretation---forminghigh-levelconclusionsfromcollectionsofrawdataPrediction---projectingprobableconsequencesofgivensituationsDiagnosis---determiningthecauseofmalfunctionsbasedonobservablesymptomsExpertSystemIntroductionInte65ExpertSystemIntroductionDesign---findingaconfigurationofsystemcomponentsthatmeetsperformancegoalswhilesatisfyingasetofdesignconstrainsPlanning---devisingasequenceofactionsthatwillachieveasetofgoalsgivenstartingconditionsandruntimeconstrainsExpertSystemIntroductionDesi66TheDesignofRule-BasedExpertSystemarchitectureofatypicalexpertsystemforaparticularproblemdomain.TheDesignofRule-BasedExper67TheDesignofRule-BasedExpertSystemThehearoftheexpertsystemistheknowledgebase,whichcontainstheknowledgeofaparticularapplicationdomainInarule-basedexpertsystem,thisknowledgeismostoftenrepresentedintheformofif…then…Inthefigure,theknowledgebasecontainsbothgeneralandcase-specificinformationTheDesignofRule-BasedExper68TheDesignofRule-BasedExpertSystemTheinferenceengineappliestheknowledgetothesolutionofactualproblemsItisimportanttomaintainthisseparationoftheknowledgeandinferenceenginebecause:MakesitpossibletorepresentknowledgeinamorenaturalfashionExpertsystembuildercanfocusoncapturingandorganizingproblem-solvingknowledgethanthedetailsofcodeimplementationAllowchangetobemadeeasilyAllowsthesamecontrolandinterfacesoftwaretobeusedindifferentsystemsTheDesignofRule-BasedExper69SelectingaproblemExpertSysteminvolveaconsiderableinvestmentofmoneyandhumaneffortResearchershavedevelopedguidelinestodeterminewhetheraproblemisappropriateforexpertsystemsolution:TheneedforthesolutionjustifiesthecostandeffortsofbuildinganexpertsystemHumanexpertiseisnotavailableinallsituationwhereitisneededSelectingaproblemExpertSyst70SelectingaproblemTheproblemdomainiswellstructuredanddoesnotrequirecommonsensereasoningTheproblemmaynotbesolvedusingtraditionalcomputingmethodsCooperativeandarticulateexpertsexistTheproblemispropersizeandscopeSelectingaproblemTheproblem71NASAExampleNASAhassupporteditspresenceinspacebydevelopingafleetofintelligentspaceprobesthatautonomouslyexplorethesolarsystemToachievesuccessthroughyearsintheharshconditionsofspacetravel,acraftneedstobeabletoradicallyreconfigureitscontrolregimeinresponsetofailuresandthenplanaroundthesefailuresduringitremainingflightNASAExampleNASAhassupported72NASAExampleFinally,NASAexpectsthatthesetofpotentialfailurescenariosandpossibleresponseswillbemuchtoolargetousesoftwarethatsupportspreflightenumerationofallcontingenciesLivingstoneisanimplementedkernelforamodel-basedreactiveself-configuringautonomoussystemNASAExampleFinally,NASAexpe73NASAExampleAlong-heldvisionofmodel-basedreasoninghasbeentouseasinglecentralizedmodeltosupportavarietyofengineeringtasksThetasksincludekeeping-trackofdevelopingplansConfirminghardwaremodesReconfiguringhardwareDetectinganomaliesDiagnosisFaultrecoveryNASAExampleAlong-heldvision74NASAExampleNASAExample75NASAExampleItconsistofaheliumtankRegulatorsPropellanttanksApairofmainengineLatchvalvesPyrovalvesNASAExampleItconsistof76NASAExampleTheheliumtankpressurizesthetwopropellanttanks,withtheregulatorsactingtoreducethehighheliumpressureWhenpropellantpathtoamainengineareopen,thepressurizedtankforcesfuelandoxidizerintothemainenginetoproducethrustThepyrovalveistoisolatepartsofthemainenginesubsystemuntiltheyareneeded,ortopermanentlyisolatefailedcomponentsThelatchvalvearecontrolledusingvalvedriversandtheaccelerometerNASAExampleTheheliumtankpr77NASAExampleThrustcanbeprovidedbyeitherofthemainenginesandthereareanumberofwaysofopeningpropellantpathstoeithermainengineNASAExampleThrustcanbeprov78NASAExampleSupposethemainenginesubsystemhasbeenconfiguredtoprovidethrustfromtheleftenginebyopeningthelatchvalvesleadingtoitAndsupposethisenginefails(overheating),sothatisfailstoprovidetherequiredthrustToensurethatthedesirethrustisprovided,thespacecraftmustbetransitionedtoanewconfigurationinwhichthrustisnowprovidedbythemainengineontherightsideNASAExampleSupposethemaine79SelectingaproblemTheprimarypeopleinvolvedinbuildinganexpertsystemaretheknowledgeengineer,domainexpert,andenduserThedomainexpertisprimarilyresponsibleforspellingoutskillstoknowledgeengineerItisoftenusefulforknowledgeengineertobeanoviceintheproblemdomainSelectingaproblemTheprimary80Exploratorydevelopmentcycle
Exploratorydevelopmentcycle81ExploratorydevelopmentcycleItisalsounderstoodthattheprototypemaybethrownawayifitbecomestocumbersomeorifthedesignersdecidetochangetheirbasicapproachtotheproblemAnothermajorfeatureofexpertsystemisthattheprogramneedneverbeconsidered“finished”ExploratorydevelopmentcycleI82OutlineExpertSystemintroductionRule-BasedExpertSystemGoalDrivenApproachDataDrivenApproachModel-BasedExpertSystemOutlineExpertSystemintroduc83StrategiesforstatespacesearchIndatadrivensearch,alsocalledforwardchaining,theproblemsolverbeginswiththegivenfactsoftheproblemandsetoflegalmovesforchangingstateThisprocesscontinuesuntil(wehope!!)itgeneratesapaththatsatisfiesthegoalconditionStrategiesforstatespacesea84“tic-tac-toe”
statespacegraph
“tic-tac-toe”statespacegrap85StrategiesforstatespacesearchAnalternativeapproach(GoalDriven)isstartwiththegoalthatwewanttosolveSeewhatrulescangeneratethisgoalanddeterminewhatconditionsmustbetruetousethemTheseconditionsbecomethenewgoalsWorkingbackwardthroughsuccessivesubgoalsuntil(wehopeagain!)itworkbacktoStrategiesforstatespacesea86Rule-BasedExpertSystemRulebasedexpertsystemrepresentproblem-solvingknowledgeasif…then…ItisoneoftheoldesttechniquesforrepresentingdomainknowledgeinanexpertsystemItisalsooneofthemostnaturalandwidelyusedinpracticalandexperimentalexpertsystemRule-BasedExpertSystemRuleb87Rule-BasedExpertSystemInagoal-drivenexpertsystem,thegoalexpressionisinitiallyplacedinworkingmemoryThesystemmatchesruleconclusionswiththegoal,selectingoneruleandplacingitspremisesintheworkingmemoryThiscorrespondstoadecompositionoftheproblems’goalintosimplersubgoalsTheprocesscontinuesinthenextiterationoftheproductionsystem,withthesepremisesbecomingthenewgoalstomatchRule-BasedExpertSystemInag88AunrealExpertSystemExample
Rule1: if theengineisgettinggas,and theenginewillturnover, then theproblemissparkplugs.Rule2: if theenginedoesnotturnover,and thelightsdonotcomeon then theproblemisbatteryorcables.Rule3: if theenginedoesnotturnover,and thelightsdocomeon then theproblemisthestartermotor.Rule4: if thereisgasinthefueltank,and thereisgasinthecarburetor then theengineisgettinggas.AunrealExpertSystemExample89Theproductionsystematthestartofaconsultationinthecar diagnosticexample.
Theproductionsystematthes90Theproductionsystematthestartofaconsultationinthecar diagnosticexample.Threerulesmatchwiththisexpressioninworkingmemory:rule1,2,and3Ifweresolveconflictsinfavorofthelowest-numberedrule,thenrule1willfireThiscauseXtobeboundtothevaluesparkplugsandthepremisesofrule1tobeplacedintheworkingmemoryTheproductionsystematthes91TheproductionsystemafterRule1hasfired.
TheproductionsystemafterRu92TheproductionsystemafterRule1hasfired.Notethatthe
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 第8章 实数相关计算必考三大类型90题(必考点分类集训)(学生版)-人教版(2024)七下
- 第7章 平行线拐点模型必考五大类型(40题)(必考点分类集训)(学生版)-人教版(2024)七下
- 2026年演绎权转让合同(1篇)
- 6.2用7~9的乘法口诀求商(课件)-2025-2026学年二年级上册数学青岛版
- 论语读书笔记14篇
- 销售助理年度工作总结(集锦15篇)
- 雾都孤儿读后感汇编15篇
- 2018电梯应急预案(3篇)
- 中式展厅活动方案策划(3篇)
- 交通应急预案试题(3篇)
- 5.1人民代表大会制度 课件(23张幻灯片)+内嵌视频 道德与法治统编版八年级下册
- 2025年山东省委党校在职研究生招生考试(政治理论)历年参考题库含答案详解(5卷)
- 超高性能混凝土进展及工程应用
- 旋毛虫法语课件
- 五原县供热工程专项规划(2014-2030年) 说明书
- 上海市2023年基准地价更新成果
- 拔牙术拔牙并发症
- 选派援疆医疗卫生人才协议书
- XB/T 405-2016铈铁合金
- GB/T 9966.16-2021天然石材试验方法第16部分:线性热膨胀系数的测定
- GB/T 3733.2-1983卡套式端直通接头体
评论
0/150
提交评论