Top Banner
Machine Learning Stephan Robert | HEIG-Vd | Summer University 2017
27

Machine Learning - Stephan Robert€¦ · Few good books (Not necessary to buy them, just download them. Free access) • Machine Learning, Tom Mitchell • Machine Learning, Kevin

Jun 05, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Machine Learning - Stephan Robert€¦ · Few good books (Not necessary to buy them, just download them. Free access) • Machine Learning, Tom Mitchell • Machine Learning, Kevin

Machine Learning

StephanRobert|HEIG-Vd|SummerUniversity2017

Page 2: Machine Learning - Stephan Robert€¦ · Few good books (Not necessary to buy them, just download them. Free access) • Machine Learning, Tom Mitchell • Machine Learning, Kevin

Few good books (Not necessary to buy them, just download them. Free access)

Page 3: Machine Learning - Stephan Robert€¦ · Few good books (Not necessary to buy them, just download them. Free access) • Machine Learning, Tom Mitchell • Machine Learning, Kevin

Few good books (Not necessary to buy them, just download them. Free access)

•  Machine Learning, Tom Mitchell•  Machine Learning, Kevin Murphy

Page 4: Machine Learning - Stephan Robert€¦ · Few good books (Not necessary to buy them, just download them. Free access) • Machine Learning, Tom Mitchell • Machine Learning, Kevin

Web page and links... Handoutsandlectureslides

  Documentation,links,softwareresources

  Announcementsandschedule

  Email(labs)

  Slidesathttp://www.stephan-robert.ch/teaching/machine-learning

Page 5: Machine Learning - Stephan Robert€¦ · Few good books (Not necessary to buy them, just download them. Free access) • Machine Learning, Tom Mitchell • Machine Learning, Kevin

… and links...

  Kaggle.com(competitions,jobs,…)

  Datascience.net

Page 6: Machine Learning - Stephan Robert€¦ · Few good books (Not necessary to buy them, just download them. Free access) • Machine Learning, Tom Mitchell • Machine Learning, Kevin

Python tutorials and books

  docs.python.org/3/tutorial/index.html

  wiki.python.org/moin/IntroductoryBooks

Page 7: Machine Learning - Stephan Robert€¦ · Few good books (Not necessary to buy them, just download them. Free access) • Machine Learning, Tom Mitchell • Machine Learning, Kevin

Python environment

  Pythonrelease3.6

  AnacondaNavigator(Jupyter,Ipython,Spyder,…)

Page 8: Machine Learning - Stephan Robert€¦ · Few good books (Not necessary to buy them, just download them. Free access) • Machine Learning, Tom Mitchell • Machine Learning, Kevin

Python libraries

  Numpy

  Pandas

  Matplotlib

  Scikit-learn

  Scipy

Page 9: Machine Learning - Stephan Robert€¦ · Few good books (Not necessary to buy them, just download them. Free access) • Machine Learning, Tom Mitchell • Machine Learning, Kevin

Syllabus

  Lesson1:IntroductiontoMachineLeraning,GradientDescent(costfunction,manyvariables)

  Lesson2:Linearregression,logisticregression

  Lesson3:Supportvectormachines

  Lesson4:Unsupervisedlearning(PCA,k-means,K-nearestneighbor,classification)

Page 10: Machine Learning - Stephan Robert€¦ · Few good books (Not necessary to buy them, just download them. Free access) • Machine Learning, Tom Mitchell • Machine Learning, Kevin

Homeworks

  HW1:GradientDescent

  HW2:Linearandlogisticregression

  HW3:SupportVectorMachines

  HW4:Unsupervisedlearning

Page 11: Machine Learning - Stephan Robert€¦ · Few good books (Not necessary to buy them, just download them. Free access) • Machine Learning, Tom Mitchell • Machine Learning, Kevin

Eachgroupofstudents(1-2studentspergroup)mustwritetheirowncodefortheprogrammingpartPleasedon’tsearchforanswersontheweb,Google,previousyears’homeworks,etc.

  HW1,2,3:Groupoftwostudents(1fromSNU+1fromHEIG-Vd)

  HW4:Individual

Homeworks

Page 12: Machine Learning - Stephan Robert€¦ · Few good books (Not necessary to buy them, just download them. Free access) • Machine Learning, Tom Mitchell • Machine Learning, Kevin

Grading

•  4homeworks -Deadlines: HW1:August15,24:00 HW2:August16,24:00 HW3:August17,24:00 HW4:August18,24:00

•  Final written test/quiz (1 hour), August 18 (No

documentation)

Page 13: Machine Learning - Stephan Robert€¦ · Few good books (Not necessary to buy them, just download them. Free access) • Machine Learning, Tom Mitchell • Machine Learning, Kevin

Machine Learning is changing the world

© Emily Fox

Page 14: Machine Learning - Stephan Robert€¦ · Few good books (Not necessary to buy them, just download them. Free access) • Machine Learning, Tom Mitchell • Machine Learning, Kevin

Few videos...

•  NVIDIA Opening Keynote Highlights at CES 2017https://www.youtube.com/watch?v=ljSpat74w10

Page 15: Machine Learning - Stephan Robert€¦ · Few good books (Not necessary to buy them, just download them. Free access) • Machine Learning, Tom Mitchell • Machine Learning, Kevin

What is Machine Learning?

•  Study of algorithms that improve their performances at some tasks with experience

Page 16: Machine Learning - Stephan Robert€¦ · Few good books (Not necessary to buy them, just download them. Free access) • Machine Learning, Tom Mitchell • Machine Learning, Kevin

Supervised learning

•  Knowledgeofoutput

Learningwiththepresenceofanexpert(e.g.NeuralNetworks,SupportVectorMachines,DecisionTrees,BayesianClassifiers,…)

Page 17: Machine Learning - Stephan Robert€¦ · Few good books (Not necessary to buy them, just download them. Free access) • Machine Learning, Tom Mitchell • Machine Learning, Kevin

ExampleofhousespricesinLausanne

House price prediction Supervised learning: regression

Page 18: Machine Learning - Stephan Robert€¦ · Few good books (Not necessary to buy them, just download them. Free access) • Machine Learning, Tom Mitchell • Machine Learning, Kevin

House price prediction Supervised learning

Page 19: Machine Learning - Stephan Robert€¦ · Few good books (Not necessary to buy them, just download them. Free access) • Machine Learning, Tom Mitchell • Machine Learning, Kevin

House price prediction Supervised learning

Page 20: Machine Learning - Stephan Robert€¦ · Few good books (Not necessary to buy them, just download them. Free access) • Machine Learning, Tom Mitchell • Machine Learning, Kevin

House price prediction Supervised learning

Page 21: Machine Learning - Stephan Robert€¦ · Few good books (Not necessary to buy them, just download them. Free access) • Machine Learning, Tom Mitchell • Machine Learning, Kevin

Spam filtering Supervised learning: classification

NotSpamTextofemail,IPSource,… Spam

input output

Page 22: Machine Learning - Stephan Robert€¦ · Few good books (Not necessary to buy them, just download them. Free access) • Machine Learning, Tom Mitchell • Machine Learning, Kevin

Other examples Supervised learning: classification

•  Sentimentanalysis•  Personalizedmedicaldiagnosis(multiple

outputs:flu,healthy,…)

Page 23: Machine Learning - Stephan Robert€¦ · Few good books (Not necessary to buy them, just download them. Free access) • Machine Learning, Tom Mitchell • Machine Learning, Kevin

Stock prediction Supervised learning

Depends on recent historyof stock market, newsevents,…

(Vodafone)

Page 24: Machine Learning - Stephan Robert€¦ · Few good books (Not necessary to buy them, just download them. Free access) • Machine Learning, Tom Mitchell • Machine Learning, Kevin

Unsupervised learning

•  NoKnowledgeofoutput

Learningwithoutthepresenceofanexpert(e.gk-means,clusteringapproaches,…)

Page 25: Machine Learning - Stephan Robert€¦ · Few good books (Not necessary to buy them, just download them. Free access) • Machine Learning, Tom Mitchell • Machine Learning, Kevin

Unsupervised learning

news.google.com

Page 26: Machine Learning - Stephan Robert€¦ · Few good books (Not necessary to buy them, just download them. Free access) • Machine Learning, Tom Mitchell • Machine Learning, Kevin

Unsupervised learning

Clusteringimages,groupas:

•  Clouds•  Mountains•  Roads

Page 27: Machine Learning - Stephan Robert€¦ · Few good books (Not necessary to buy them, just download them. Free access) • Machine Learning, Tom Mitchell • Machine Learning, Kevin

Unsupervised learning

Otherexamples

•  UsersonWebsites(groups,activities)•  Words(Firstnames,lastnames,location

words,…)