Keras Tutorial | Deep Learning with Python - Javatpoint
文章推薦指數: 80 %
Keras is an open-source high-level Neural Network library, which is written in Python is capable enough to run on Theano, TensorFlow, or CNTK. It was developed ... ⇧SCROLLTOTOP Home Java Keras JavaScript Bootstrap C HTML XHTML CSS jQuery XML JSON Comment Forum Training KerasTutorial KerasTutorial InstallationofKeraslibraryinAnaconda KerasBackends KerasModels Keraslayers KerasModels KerasModelclass KerasSequentialclass KerasLayers KerasCoreLayers ConvolutionalLayer PoolingLayers Locally-Connectedlayers RecurrentLayers EmbeddingLayers KerasMergeLayers DeepLearningLibrary DeepLearning ArtificialNeuralNetwork ConvolutionalNeuralNetwork RecurrentNeuralNetwork Self-OrganizingMaps MegaCaseStudy RestrictedBoltzmannMachine next→ KerasTutorial Kerasisanopen-sourcehigh-levelNeuralNetworklibrary,whichiswritteninPythoniscapableenoughtorunonTheano,TensorFlow,orCNTK.ItwasdevelopedbyoneoftheGoogleengineers,FrancoisChollet.Itismadeuser-friendly,extensible,andmodularforfacilitatingfasterexperimentationwithdeepneuralnetworks.ItnotonlysupportsConvolutionalNetworksandRecurrentNetworksindividuallybutalsotheircombination. Itcannothandlelow-levelcomputations,soitmakesuseoftheBackendlibrarytoresolveit.Thebackendlibraryactasahigh-levelAPIwrapperforthelow-levelAPI,whichletsitrunonTensorFlow,CNTK,orTheano. Initially,ithadover4800contributorsduringitslaunch,whichnowhasgoneupto250,000developers.Ithasa2Xgrowtheversinceeveryyearithasgrown.BigcompanieslikeMicrosoft,Google,NVIDIA,andAmazonhaveactivelycontributedtothedevelopmentofKeras.Ithasanamazingindustryinteraction,anditisusedinthedevelopmentofpopularfirmslikesNetflix,Uber,Google,Expedia,etc. WhatmakesKerasspecial? FocusonuserexperiencehasalwaysbeenamajorpartofKeras. Largeadoptionintheindustry. Itisamultibackendandsupportsmulti-platform,whichhelpsalltheencoderscometogetherforcoding. ResearchcommunitypresentforKerasworksamazinglywiththeproductioncommunity. Easytograspallconcepts. Itsupportsfastprototyping. ItseamlesslyrunsonCPUaswellasGPU. Itprovidesthefreedomtodesignanyarchitecture,whichthenlaterisutilizedasanAPIfortheproject. Itisreallyverysimpletogetstartedwith. EasyproductionofmodelsactuallymakesKerasspecial. Kerasuserexperience KerasisanAPIdesignedforhumans BestpracticesarefollowedbyKerastodecreasecognitiveload,ensuresthatthemodelsareconsistent,andthecorrespondingAPIsaresimple. Notdesignedformachines Kerasprovidesclearfeedbackupontheoccurrenceofanyerrorthatminimizesthenumberofuseractionsforthemajorityofthecommonusecases. Easytolearnanduse. HighlyFlexible Kerasprovidehighflexibilitytoallofitsdevelopersbyintegratinglow-leveldeeplearninglanguagessuchasTensorFloworTheano,whichensuresthatanythingwritteninthebaselanguagecanbeimplementedinKeras. HowKerassupporttheclaimofbeingmulti-backendandmulti-platform? KerascanbedevelopedinRaswellasPython,suchthatthecodecanberunwithTensorFlow,Theano,CNTK,orMXNetaspertherequirement.KerascanberunonCPU,NVIDIAGPU,AMDGPU,TPU,etc.ItensuresthatproducingmodelswithKerasisreallysimpleasittotallysupportstorunwithTensorFlowserving,GPUacceleration(WebKeras,Keras.js),Android(TF,TFLite),iOS(NativeCoreML)andRaspberryPi. KerasBackend Kerasbeingamodel-levellibraryhelpsindevelopingdeeplearningmodelsbyofferinghigh-levelbuildingblocks.Allthelow-levelcomputationssuchasproductsofTensor,convolutions,etc.arenothandledbyKerasitself,rathertheydependonaspecializedtensormanipulationlibrarythatiswelloptimizedtoserveasabackendengine.Kerashasmanageditsoperfectlythatinsteadofincorporatingonesinglelibraryoftensorandperformingoperationsrelatedtothatparticularlibrary,itofferspluggingofdifferentbackendenginesintoKeras. Kerasconsistofthreebackendengines,whichareasfollows: TensorFlow TensorFlowisaGoogleproduct,whichisoneofthemostfamousdeeplearningtoolswidelyusedintheresearchareaofmachinelearninganddeepneuralnetwork.Itcameintothemarketon9thNovember2015undertheApacheLicense2.0.ItisbuiltinsuchawaythatitcaneasilyrunonmultipleCPUsandGPUsaswellasonmobileoperatingsystems.ItconsistsofvariouswrappersindistinctlanguagessuchasJava,C++,orPython. Theano TheanowasdevelopedattheUniversityofMontreal,Quebec,Canada,bytheMILAgroup.Itisanopen-sourcepythonlibrarythatiswidelyusedforperformingmathematicaloperationsonmulti-dimensionalarraysbyincorporatingscipyandnumpy.ItutilizesGPUsforfastercomputationandefficientlycomputesthegradientsbybuildingsymbolicgraphsautomatically.Ithascomeouttobeverysuitableforunstableexpressions,asitfirstobservesthemnumericallyandthencomputesthemwithmorestablealgorithms. CNTK MicrosoftCognitiveToolkitisdeeplearning'sopen-sourceframework.Itconsistsofallthebasicbuildingblocks,whicharerequiredtoformaneuralnetwork.ThemodelsaretrainedusingC++orPython,butitincorporatesC#orJavatoloadthemodelformakingpredictions. AdvantagesofKeras Kerasencompassesthefollowingadvantages,whichareasfollows: Itisveryeasytounderstandandincorporatethefasterdeploymentofnetworkmodels. IthashugecommunitysupportinthemarketasmostoftheAIcompaniesarekeenonusingit. Itsupportsmultibackend,whichmeansyoucanuseanyoneofthemamongTensorFlow,CNTK,andTheanowithKerasasabackendaccordingtoyourrequirement. Sinceithasaneasydeployment,italsoholdssupportforcross-platform.FollowingarethedevicesonwhichKerascanbedeployed: iOSwithCoreML AndroidwithTensorFlowAndroid Webbrowserwith.jssupport Cloudengine Raspberrypi ItsupportsDataparallelism,whichmeansKerascanbetrainedonmultipleGPU'sataninstanceforspeedingupthetrainingtimeandprocessingahugeamountofdata. DisadvantagesofKeras TheonlydisadvantageisthatKerashasitsownpre-configuredlayers,andifyouwanttocreateanabstractlayer,itwon'tletyoubecauseitcannothandlelow-levelAPIs.Itonlysupportshigh-levelAPIrunningonthetopofthebackendengine(TensorFlow,Theano,andCNTK). Prerequisite ThisKerastutorialismadeforbothbeginnersandprofessionals,tohelpthemunderstandthefundamentalconceptofKeras.Afterthecompletionofthistutorial,youwillfindyourselfatamoderatelevelofexpertisefromwhereyoucantakeyourselftothenextlevel. Audience SinceKerasisadeeplearning'shigh-levellibrary,soyouarerequiredtohavehands-onPythonlanguageaswellasbasicknowledgeoftheneuralnetwork. Problem Weassureyouthatyouwillnotfindanydifficultyinthistutorial.Incaseyoucomeupwithaquery,oryoufindanymistakeinthistutorial,doletusknowbypostingitinthecontactformsothatwecanfurtherimproveit. NextTopicInstallationofKeraslibraryinAnaconda next→ ForVideosJoinOurYoutubeChannel:JoinNow Feedback SendyourFeedbackto[email protected] HelpOthers,PleaseShare LearnLatestTutorials Splunk SPSS Swagger Transact-SQL Tumblr ReactJS Regex ReinforcementLearning RProgramming RxJS ReactNative PythonDesignPatterns PythonPillow PythonTurtle Keras Preparation Aptitude Reasoning VerbalAbility InterviewQuestions CompanyQuestions TrendingTechnologies ArtificialIntelligence AWS Selenium CloudComputing Hadoop ReactJS DataScience Angular7 Blockchain Git MachineLearning DevOps B.Tech/MCA DBMS DataStructures DAA OperatingSystem ComputerNetwork CompilerDesign ComputerOrganization DiscreteMathematics EthicalHacking ComputerGraphics SoftwareEngineering WebTechnology CyberSecurity Automata CProgramming C++ Java .Net Python Programs ControlSystem DataMining DataWarehouse JavatpointServicesJavaTpointofferstoomanyhighqualityservices.Mailuson[email protected],togetmoreinformationaboutgivenservices.WebsiteDesigningWebsiteDevelopmentJavaDevelopmentPHPDevelopmentWordPressGraphicDesigningLogoDigitalMarketingOnPageandOffPageSEOPPCContentDevelopmentCorporateTrainingClassroomandOnlineTrainingDataEntryTrainingForCollegeCampusJavaTpointofferscollegecampustrainingonCoreJava,AdvanceJava,.Net,Android,Hadoop,PHP,WebTechnologyandPython.Pleasemailyourrequirementat[email protected]Duration:1weekto2weekLike/Subscribeusforlatestupdatesornewsletter
延伸文章資訊
- 1Keras Tutorial | Deep Learning with Python - Javatpoint
Keras is an open-source high-level Neural Network library, which is written in Python is capable ...
- 2Deep learning 深度學習必讀:Keras 大神帶你用Python 實作
書名:Deep learning 深度學習必讀:Keras 大神帶你用Python 實作,原文名稱:Deep Learning with Python, 1st edition,語言:繁體中文,...
- 3About Keras
Keras is a deep learning API written in Python, running on top of the machine learning platform T...
- 4[讀書筆記]Deep learning 深度學習必讀:Keras 大神帶你用 ...
Keras提供的循環層有SimpleRNN、LSTM和GRU。SimpleRNN理論上應該能夠 ... [讀書筆記]Deep learning 深度學習必讀:Keras 大神帶你用Python ...
- 5Day 02:撰寫第一支Neural Network 程式-- 阿拉伯數字辨識
Machine Learning 框架(Framework)GitHub評比,資料來源:【AI關鍵技術】三大熱門 ... 完成一個Neural Network 模型,非常適合入門學習,因此我們就...