csce 636 neural networks (deep learning)faculty.cse.tamu.edu/ajiang/636_01.pdf · csce 636 neural...

23
CSCE 636 Neural Networks (Deep Learning) Lecture 1: Introduction to Deep Learning Anxiao (Andrew) Jiang

Upload: others

Post on 20-May-2020

17 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CSCE 636 Neural Networks (Deep Learning)faculty.cse.tamu.edu/ajiang/636_01.pdf · CSCE 636 Neural Networks (Deep Learning) Lecture 1: Introduction to Deep Learning Anxiao (Andrew)

CSCE636NeuralNetworks(DeepLearning)

Lecture1:IntroductiontoDeepLearning

Anxiao (Andrew)Jiang

Page 2: CSCE 636 Neural Networks (Deep Learning)faculty.cse.tamu.edu/ajiang/636_01.pdf · CSCE 636 Neural Networks (Deep Learning) Lecture 1: Introduction to Deep Learning Anxiao (Andrew)

AI,MachineLearning,andDeepLearning

Coming up: Prerequisites forthecourse

Page 3: CSCE 636 Neural Networks (Deep Learning)faculty.cse.tamu.edu/ajiang/636_01.pdf · CSCE 636 Neural Networks (Deep Learning) Lecture 1: Introduction to Deep Learning Anxiao (Andrew)

Prerequisitesforthecourse

• FamiliarwiththePythonprogramminglanguage• Basicbackgroundinmachinelearning,linearalgebra,calculus.

Coming up: coursewebsite

Page 4: CSCE 636 Neural Networks (Deep Learning)faculty.cse.tamu.edu/ajiang/636_01.pdf · CSCE 636 Neural Networks (Deep Learning) Lecture 1: Introduction to Deep Learning Anxiao (Andrew)

Coursewebsite

• http://faculty.cse.tamu.edu/ajiang/636.html

Coming up: textbook

Page 5: CSCE 636 Neural Networks (Deep Learning)faculty.cse.tamu.edu/ajiang/636_01.pdf · CSCE 636 Neural Networks (Deep Learning) Lecture 1: Introduction to Deep Learning Anxiao (Andrew)

Textbook:DeepLearningwithPython(required)

Coming up: textbook

Page 6: CSCE 636 Neural Networks (Deep Learning)faculty.cse.tamu.edu/ajiang/636_01.pdf · CSCE 636 Neural Networks (Deep Learning) Lecture 1: Introduction to Deep Learning Anxiao (Andrew)

Textbook:DeepLearning(recommended)

Coming up: textbook

Page 7: CSCE 636 Neural Networks (Deep Learning)faculty.cse.tamu.edu/ajiang/636_01.pdf · CSCE 636 Neural Networks (Deep Learning) Lecture 1: Introduction to Deep Learning Anxiao (Andrew)

Textbook:DeepLearningQuickReference(recommended)

Coming up: textbook

Page 8: CSCE 636 Neural Networks (Deep Learning)faculty.cse.tamu.edu/ajiang/636_01.pdf · CSCE 636 Neural Networks (Deep Learning) Lecture 1: Introduction to Deep Learning Anxiao (Andrew)

Textbook:NeuralNetworksandDeepLearning(recommended)

Coming up: textbook

Page 9: CSCE 636 Neural Networks (Deep Learning)faculty.cse.tamu.edu/ajiang/636_01.pdf · CSCE 636 Neural Networks (Deep Learning) Lecture 1: Introduction to Deep Learning Anxiao (Andrew)

Textbook:LearningfromData(recommended)

Coming up: deep learning andneural network

Page 10: CSCE 636 Neural Networks (Deep Learning)faculty.cse.tamu.edu/ajiang/636_01.pdf · CSCE 636 Neural Networks (Deep Learning) Lecture 1: Introduction to Deep Learning Anxiao (Andrew)

DeepLearningandNeuralNetwork

NeuralNetworkInput Output

Whatneuralnetworkisdoing:computing(oftentransformationoffeatures/representations,andmakingafinaldecision).

Coming up: example oftransformation

Page 11: CSCE 636 Neural Networks (Deep Learning)faculty.cse.tamu.edu/ajiang/636_01.pdf · CSCE 636 Neural Networks (Deep Learning) Lecture 1: Introduction to Deep Learning Anxiao (Andrew)

Exampleoftransformation

Coming up: example oftransformation

Page 12: CSCE 636 Neural Networks (Deep Learning)faculty.cse.tamu.edu/ajiang/636_01.pdf · CSCE 636 Neural Networks (Deep Learning) Lecture 1: Introduction to Deep Learning Anxiao (Andrew)

Exampleoftransformation

Coming up: example ofdeepneural network (DNN)

Page 13: CSCE 636 Neural Networks (Deep Learning)faculty.cse.tamu.edu/ajiang/636_01.pdf · CSCE 636 Neural Networks (Deep Learning) Lecture 1: Introduction to Deep Learning Anxiao (Andrew)

ExampleofDeepNeuralNetwork(DNN)

Coming up: example ofDNN(continued)

Page 14: CSCE 636 Neural Networks (Deep Learning)faculty.cse.tamu.edu/ajiang/636_01.pdf · CSCE 636 Neural Networks (Deep Learning) Lecture 1: Introduction to Deep Learning Anxiao (Andrew)

ExampleofDNN(continued)

Coming up: example ofDNN

Page 15: CSCE 636 Neural Networks (Deep Learning)faculty.cse.tamu.edu/ajiang/636_01.pdf · CSCE 636 Neural Networks (Deep Learning) Lecture 1: Introduction to Deep Learning Anxiao (Andrew)

ExampleofDNN

Coming up:whataneural network does: learnafunction

Page 16: CSCE 636 Neural Networks (Deep Learning)faculty.cse.tamu.edu/ajiang/636_01.pdf · CSCE 636 Neural Networks (Deep Learning) Lecture 1: Introduction to Deep Learning Anxiao (Andrew)

Whataneuralnetworkdoes:learnafunction

NeuralNetworkx

valueoff(x)

Theneuralnetworklearnsthefunctionf(x),eitherexactlyorapproximately.

Coming up:whatisaneuron

Page 17: CSCE 636 Neural Networks (Deep Learning)faculty.cse.tamu.edu/ajiang/636_01.pdf · CSCE 636 Neural Networks (Deep Learning) Lecture 1: Introduction to Deep Learning Anxiao (Andrew)

Whatisaneuron

Coming up:whatisaneural network (NN)

Page 18: CSCE 636 Neural Networks (Deep Learning)faculty.cse.tamu.edu/ajiang/636_01.pdf · CSCE 636 Neural Networks (Deep Learning) Lecture 1: Introduction to Deep Learning Anxiao (Andrew)

Whatisaneuralnetwork

Coming up: how totrainaneural network

Page 19: CSCE 636 Neural Networks (Deep Learning)faculty.cse.tamu.edu/ajiang/636_01.pdf · CSCE 636 Neural Networks (Deep Learning) Lecture 1: Introduction to Deep Learning Anxiao (Andrew)

Howtotrainaneuralnetwork

NeuralNetworkx

valueoff(x)

Theneuralnetworklearnsthefunctionf(x),eitherexactlyorapproximately.

1.Usealotof(input,output)pairstotraintheneuralnetwork.2.Adjustweightstominimize thedifferencebetween f(x)andtheneuralnetwork’spredicted valuesoff(x)

Coming up: applications ofdeep learning

Page 20: CSCE 636 Neural Networks (Deep Learning)faculty.cse.tamu.edu/ajiang/636_01.pdf · CSCE 636 Neural Networks (Deep Learning) Lecture 1: Introduction to Deep Learning Anxiao (Andrew)

ApplicationsofDeepLearning

• Computervision(smartcamera,robot,self-drivingcars,etc.)• Naturallanguageprocessing(machinetranslation,chatbot,etc.)• Gameplaying(alphaGo,videogames,etc.)• Createartorproducts(painting,music,poem,fashion,etc.)• Datastorageandtransmission(datacompression,transmission,etc.)• Financeandeconomy(trading,recommendation,economysurvey,etc.)• Healthcare(readX-raypictures,diagnosis,drugdesign,etc.)• Physics,business,education,smarthomes,etc.(Moreandmoreapplicationseveryday.)

Coming up:whydeep learning now?

Page 21: CSCE 636 Neural Networks (Deep Learning)faculty.cse.tamu.edu/ajiang/636_01.pdf · CSCE 636 Neural Networks (Deep Learning) Lecture 1: Introduction to Deep Learning Anxiao (Andrew)

Whydeeplearningnow?

• Hardware:GPU,CUDA,parallelcomputing• Data:ImageNetandmanymore• Algorithms:activationfunctions,weight initializationschemes,optimizationschemesfortraining.

Coming up: homework (without submission)

Page 22: CSCE 636 Neural Networks (Deep Learning)faculty.cse.tamu.edu/ajiang/636_01.pdf · CSCE 636 Neural Networks (Deep Learning) Lecture 1: Introduction to Deep Learning Anxiao (Andrew)

Homework(withoutsubmission)

ReadChapter2BeforeNextClass

Coming up: Videos ondeep learning

Page 23: CSCE 636 Neural Networks (Deep Learning)faculty.cse.tamu.edu/ajiang/636_01.pdf · CSCE 636 Neural Networks (Deep Learning) Lecture 1: Introduction to Deep Learning Anxiao (Andrew)

Videosondeeplearning

• Howweteachcomputerstounderstandpictures,https://www.youtube.com/watch?v=40riCqvRoMs• ArtisticStyleTransferForVideos,https://www.youtube.com/watch?v=Uxax5EKg0zA• ChopinMusicGenerationwithRNN(RecurrentNeuralNetworks)andDeepLearning,https://www.youtube.com/watch?v=j60J1cGINX4