Bits and Bytes.docx

上传人:b****7 文档编号:10140449 上传时间:2023-02-08 格式:DOCX 页数:22 大小:436.94KB
下载 相关 举报
Bits and Bytes.docx_第1页
第1页 / 共22页
Bits and Bytes.docx_第2页
第2页 / 共22页
Bits and Bytes.docx_第3页
第3页 / 共22页
Bits and Bytes.docx_第4页
第4页 / 共22页
Bits and Bytes.docx_第5页
第5页 / 共22页
点击查看更多>>
下载资源
资源描述

Bits and Bytes.docx

《Bits and Bytes.docx》由会员分享,可在线阅读,更多相关《Bits and Bytes.docx(22页珍藏版)》请在冰豆网上搜索。

Bits and Bytes.docx

BitsandBytes

Bits&Bytes:

Lesson4

ComputerIQ

MakingComputersSmart

Doyourecallthisconversationfromthefilm,2001:

ASpaceOdyssey?

Hal,thespacecraftcomputer,killedacrewmemberbythrowinghimintospacewhenthecrewmanwentoutsidetoreplacethecomputerunit.Dave,theheroofthefilm,hasjustdiscoveredthatHallhasalsokilledtherestofthecrewastheyslept.

(Dave)"Openthepodbaydoors,Hal. HelloHal,doyoureadme?

 Doyoureadme,Hal?

 HelloHal,doyoureadme?

Openthepodbaydoors,Hal".

(Hal)"I’msorry,Dave.Ican'tdothat,Dave...themissionistooimportantformetoallowyoutojeopardizeit".

(Dave)"OkHal, I’llgointhroughtheemergencyairlock".

(Hal)"Justwhatdoyouthinkyourdoing,Dave?

 Iknoweverythinghasn’tbeenquiterightwithme,butIcanassureyouit’sgoingtobealrightagain.Ifeelmuchbetternow,Ireallydo."

(Hal)"LookDave,Icanseeyouarereallyupsetaboutthis.IknowI’vemadesomeverypoordecisionslately. Iwanttohelpyou. Stop,Dave…willyoustop,Dave?

I’mafraid,Dave..."

Thisfilm,plusmanybeforeandafter,fueledourlove-fearrelationshipwithsmartmachines.WhilemachineslikeHal,capableofindependentthoughtandemotions,aresciencefiction,artificialintelligenceiscurrentlycombiningcomputerscienceandengineeringtocreatemachinesthatexhibitintelligentbehavior,learnusefulskills,andadapttonewsituations.Thesemachinesareembeddedwithinmanyeverydayappliancesandtoolsinourhomes,hospitals,factories,businesses,governmentagencies,andresearchfacilities.Wholenewfieldsofscienceandbusinessdomainsaredevelopingasnewapplicationsareinventedforthesmartcomputersbehindtheseindispensiblemachines.Andit’sallbaseduponsomeratherbasicprogrammingconceptswhichyouwillcometorealizeinthislesson,areveryhuman.

Expertsystem

-Computerprogramsthatanswerquestionsanddrawconclusionsbyapplyingstatisticalrulesandlogic.

AIandExpertSystems

ConventionalArtificialIntelligence(AI)isthescienceofcreatingcomputersthatmimicwhathumansrefertoasintelligence—theabilitytoprocessinformationandrespondappropriately.AIissupportedbyseveraltypesofmachinelearningtechnologiesincludingexpertsystemswhichapplystatisticalandreasoningcapabilitiestohugeamountsofdatainordertodrawconclusionsandsolveproblems.

Thegoalofexpertsystemsistobringtheknowledgeofexpertstothehandsofdecisionmakerswhoneedaccurateanswersquickly.Computerexpertsystemsaresometimescalledknowledgebasedsystemsandhavebeeninusesincethe1960’s.Theyarecreatedbyfirstgatheringtheknowledgeofhumanexpertsonsomespecific,narrowfieldofknowledge.Then,aknowledgeengineerorganizestheinformationwithrulesthathelptofocustheknowledgetowardsolvingspecificproblems.

Thechildhoodguessinggameinwhichonechildthinksofananimal,andtheotherchildtriestoguessitbyaskingonlyyes-or-noquestions,simulatesanexpertsystem.Aprocessofeliminationbaseduponrulesguidesaseriesofquestionsuntilthecorrectanimalnameisguessed.Itmightgosomethinglikethis:

“Doesithavefur?

“No”

“Doesithavefeathers?

“Yes”

“Canitfly?

“No”

“Isitblackandwhite?

“Yes”

“Isitapenguin?

“Yes”

FuzzyLogic

-Asystemthatreliesupon“mostlytrue”and“mostlyfalse”conditionstoarriveatmorerealistic“mostlikely”conclusions.

Expertsystemscontaininformationsuppliedbyexpertsonasingletopicandusuallyinvolvea“dialog”withtheuser.Thisproblem-solvingsystemreliesuponrulesthatguidethedialogtowardthediscoveryofthesolutionthatfitsalloftheresponsesgivenbytheuser.Arecentadditiontoexpertsystemsistheinclusionof“fuzzylogic”whichdoesn’trelyondefiniteyes-or-noanswers,butratheronconditionsof“mostlytrue”or“mostlyfalse.”Theselessdefiniteanswersresultinmorerealistic“mostlikely”conclusions.

Expertsystemsareemployedquitecommonlyin:

∙Wizardsthathelpyouinstallsoftware

∙Artificialintelligenceofcomputergames

∙Diagnosticprogramsforeverythingfromidentifyingskindiseasestogettinghelpwithyourcomputersystem

∙Decisionmakinginbusiness,science,engineering,andthemilitary

ComputationalIntelligenceandArtificialNeuralNetworks

Neuralnetwork

-Acollectionofinterconnectedprocessingunitswhichresemblebrainneuronsandarecapableofcomplexanalysisofdata.

Aspecializedareaofartificialintelligencecalledcomputationalintelligenceincludestheapplicationofartificialneuralnetworks.Whengroupsofprocessingunits—sometimesreferredtoasnodes—areinterconnectedinafashionresemblingtheneuronsinthebrain,anartificialneuralnetworkcanbeconstructed.Anartificialneuralnetwork“learns”byobservingcomplexrelationshipsbetweeninputsandoutputsandinferringfromobservations.Thisisparticularlyusefulinapplicationswherethecomplexityofthedataorthedifficultyofthetaskmakestraditionalprogramdesignextremelycomplicatedorimpractical.Artificialneuralnetworksareespeciallyusefulintaskssuchas:

Patternrecognitioninmilitaryradarsystems

∙FaceidentificationinHomelandSecurityoperations

∙Sequencerecognitioningesture,speech,writing

∙MedicaldiagnosiswithEMRtechnology

∙Detectionofabnormalchargesoncreditcards

∙Dataminingorknowledgediscoveryindatabases

∙Identificationofe-mailspam

RoboticsandArtificialIntelligence

Today’srobotsaresimplymachineswithenoughAItodousefultasks.AndthetasksrunthegamutfromentertainmentintheformofAibo,andtheroboticpet,toRoomba,theroboticvacuumcleaner,toPenelope,thesurgicalassistant.Robotscomeinallshapesandsizes.Dependinguponhowyoudefinetheword“robot,”youcouldbetalkingaboutthe“smartwiper”onyourcarwindshieldthatis“justaroboticarm”oramachinethesizeofavehiclesuchastheMarsRoverorthetrucksintheDARPAChallengeroadrace.

Itappearsthatrobotswilldefinitelybepartofourfutureofsmartmachines.Analystsestimatethatabout4millionRoombavacuumrobotswillbeinhomesby2007andsomepeopleinJapanforesee39millionhouseholdrobotsinusebytheendofthedecade.Addtothatthe1.1millionindustrialrobotsintheU.S.andyouhavearobotpopulationgreaterthanthepopulationofCaliforniaorSpain!

ResearchanddevelopmentinAIandrobotsincludessuchprojectsas:

Systemsforsurgicalassistance

∙Solar-poweredunderwatervehicles

∙Roboticassistantsfortheelderly

∙Spaceexplorationrovers

∙Bomb-sniffingmilitaryrobotics

∙Childcareworkers

IDFAmericanAndrosExplosiveOrdinanceDevice(EOD)robot

SincetheearliestdaysofcomputersandAI,greatdebatehasragedoveradefinitionofintelligenceandcreativity,whetherornotamachinecanactuallyunderstandandbeintelligent,andeven,ifthedistinctionbetweenhumanandmachinewilleventuallydisappear.Variousschemestodistinguishbetweencomputerandhumanintelligenceandcreativityhaveappearedoverthepastseveraldecades.PerhapsyouhaveheardoftheTuringTestinwhichajudgeasksquestionstoanentityinanotherroom.Ifatsomepointthejudgecannottelliftheanswersarecomingfromapersonoracomputer,thecomputerisdeclaredintelligent.Andofcourse,we’veallheardofthefamouscomputerversushumanchessgames.Whilephilosopherswillcontinuetoexplorethedistinctionsbetweenhumansandmachines,computerscientistswillforgeaheadwithresearchanddevelopmentsofmoreandmoreamazingmachines.Ultimately,computerIQcomesdowntomachinesfollowingthedirectionsgiventoitbyprogrammersandengineers.

GetReal

1.ExploreanexpertsystembyvisitingTheWhaleWatcherathttp:

//www.aiinc.ca/demos/whale.html.Doesthissystememploystricttrue/falselogicorfuzzylogic?

2.Reviewthebasiccharacteristicsofexpertsystems,fuzzylogic,neuralnetworks,androbots.Matchthetasksontheleftwiththetechnologyontheleftthatwouldbestbeabletoaccomplishthetaskdescribed.

Tasktoaccomplish

Technology

____Discoverthemostlikelycauseofapanicattack

A.Expertsystems

____Identifywildflowersseenonahike

B.Fuzzylogic

____Inspectminesfordangerousgases

C.Neuralnetworks

____Uncoverforgedartwork

D.Robotics

Herearesomepossibleanswers:

1.Afteridentifyingseveralhypotheticalsightingofwhales,itappearsthatthissystememploysstricttrue/falselogic.Alloftheresponsechoicesareyes/nooreither/or.

2.

Tasktoaccomplish

Technology

__B_Discoverthemostlikelycauseofapanicattack

A.Expertsystems

A_Identifywildflowersseenonahike

B.Fuzzylogic

__D_Inspectminesfordangerousgases

C.Neuralnetworks

__C_Uncoverforgedartwork

D.Robotics

TeachingComputerstoMakeDecisions

Computersare“taught”todisplayintelligencebymakingdecisionsthroughvariouscodingtechniques.Collectivelythesetechniquesarecalled“selectionstructures”;thelinesofcodeinstructthecomputerto“select”betweenvariousoptionsbaseduponparticularconditions.

If-Statements

If-statement

-Acomputerinstructionthatdecidesuponanactionbasedupontheevaluationofacondition.

Themostbasicselectionstructureistheif-statement.Inthereal-worldweprocessif-statementssooftenandwithsuchspeedthatwebarelygiveitanythoughtatall.Youhavelikelyexperiencedtheseopportunitiestoprocessan“if”decision:

Ifit’srainingoutside,yougrabanumbrella.

Ifsteakisonsale,youbuyit.

Ifthetrafficsignalisred,youstop.

Ifyouseeafriend,youshout,“Hi!

Inallofthese

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 初中教育 > 语文

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1