版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2027年高考生物一轮复习:人教版高中生物选择性必修2《生物与环境》知识点提纲填空练习版(含答案)
- 开学第一课感恩教育主题班会课件
- 网络内容审核个人总结
- 2026年安全生产有限空间作业安全操作规范试题试卷及答案
- 寺庙群体性事件应急预案演练脚本
- 毛纺织企业安全生产管理制度
- 文物保护工程从业资格理论题真题汇编(含答案)
- 文物保护工程从业资格考前模拟题(带评分标准)
- 文物保护工程从业资格真题演练题库(完整版)
- 西师大版小学二年级数学上册《长度测量》误差拓展教案
- 旅游景区安全评估规范
- 2025年货车超限超载安全治理考核试题及答案
- ISO 9001-2026质量管理体系之“10改进”流程清单(雷泽佳编制-2026A0)
- NB/T 11646-2024井工煤矿采空区自然发火监测预警技术规范
- DB42T-湖北省房屋和市政工程造价数据采集规范
- 《PLC应用项目工单实践教程》课件 模块8 S7-1500系列PLC模拟量的应用
- 安全员B证考试题库及答案【含各题型、历年真题、题库大全】
- 处方调配人员岗位职责
- 水电工程分包合同协议
- GB 30530-2024二甲基硅氧烷单位产品能源消耗限额
- 妇科手术快速康复治疗
评论
0/150
提交评论