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
延伸文章資訊
- 1Advanced Deep Learning with Keras, published by Packt
Please note that the code examples have been updated to support TensorFlow 2.0 Keras API only. Ab...
- 2About Keras
Keras is a deep learning API written in Python, running on top of the machine learning platform T...
- 3Your First Deep Learning Project in Python with Keras Step-By ...
Your First Deep Learning Project in Python with Keras Step-By-Step · 1. Load Data · 2. Define Ker...
- 4Keras Tutorial | Deep Learning with Python - Javatpoint
Keras is an open-source high-level Neural Network library, which is written in Python is capable ...
- 5Keras: the Python deep learning API
Deep learning for humans. ... Keras is an API designed for human beings, not machines. Keras foll...