SlideShare una empresa de Scribd logo
1 de 36
Introduction to Machine Learning Shao-Chuan Wang Research Center for IT Innovation Multimedia and Machine Learning Lab Academia Sinica 中央研究院資訊科技創新研究中心 多媒體與機器學習實驗室  NTNU 1 Shao-Chuan Wang, Academia Sinica
Outline What is involved in intelligence? Why is machine learning important? What can machine learning do? Overview of machine learning applications Challenges of machine learning Future of machine learning 2 Shao-Chuan Wang, Academia Sinica
What Is Intelligence? 3 Shao-Chuan Wang, Academia Sinica
What Is Involved in Intelligence? From Merriam-Webster:  “intelligence”: (1)  the ability to learn or understand or to deal with new or trying situations.  (2) the ability to apply knowledge to manipulate one's environment or to think abstractly as measured by objective criteria Abstraction (finding the common patterns)                 V.S. Adaptation Learning is dynamic; e.g. a computer chess. 4 Shao-Chuan Wang, Academia Sinica
Shao-Chuan Wang, Academia Sinica Why Is Machine Learning Important?(1/4) The explosion of data 5
Shao-Chuan Wang, Academia Sinica Why Is Machine Learning Important?(2/4) 6 Some places are NOT for humans
Shao-Chuan Wang, Academia Sinica Why Is Machine Learning Important?(3/4) 	Machine learning can help us understand human learning 7
Shao-Chuan Wang, Academia Sinica Why Is Machine Learning Important?(4/4) 8 Intelligent machines  can help!
What Can Machine Learning Do? 9 Shao-Chuan Wang, Academia Sinica
Application One:Handwriting Recognition 10 Shao-Chuan Wang, Academia Sinica Video
Application Two: Face Detection and Tracking 11 Shao-Chuan Wang, Academia Sinica Video
Application Three: Autonomous Driving 12 Shao-Chuan Wang, Academia Sinica Video
Shao-Chuan Wang, Academia Sinica Overview of Machine Learning Applications Speech recognition Computer vision Bio-surveillance Robotics Data mining 13
What Is Learning? 14 Shao-Chuan Wang, Academia Sinica
Shao-Chuan Wang, Academia Sinica A Tree Recognition Example (1/2) Suppose that you have never seen trees before, and I give you some “EXAMPLES” Trees examples ‘Not’ Trees examples 15
A Tree Recognition Example (2/2) I will ask you if these unseen photos are trees or not. YES Is it a tree? or NO Query Images 16 Shao-Chuan Wang, Academia Sinica (AND) How much confidence?
What Is Learning? (Mitchell 2002) Learning is to improve the performance measure P of the task T based on the past experience E. T: To recognize a tree P: Recognition accuracy E: The examples that I gave to you Two key elements of learning: Memorization of past experiences. “Generalization” ability (舉一反三). 17 Shao-Chuan Wang, Academia Sinica
Shao-Chuan Wang, Academia Sinica A Simple Algorithm: Nearest Neighbor For a given query image Find the nearest image to the query image in the database Assign the label of the nearest one to the query image. Query Tree! Difference = 13 Difference = 1.5 Difference = 11 Difference = 5.5 Difference = 10 18
What Were We Modeling? YES YES YES NO NO NO … TREE Human Concept (exist but unknown) Prediction: NO Infer A Machine (A learning algorithm) Query 19 Shao-Chuan Wang, Academia Sinica Training…
What if we do not have label ground truth?? (or labels are very expensive) 20 Shao-Chuan Wang, Academia Sinica
Shao-Chuan Wang, Academia Sinica Unsupervised Learning Clustering 21 。Each segment       forms a “Cluster”. 。Pattern discover
Examples: Amazon.com Marketing Recommendation on the similar goods. 22 Shao-Chuan Wang, Academia Sinica
Challenges of Machine Learning  How do we model the “difference” between two images? Data Representation Difference Metric What is the “score” or “difference” function? How did we calculate the distance value in the tree example? Learning Does it model well? (can it accurately predict the seen data?) Does it generalize well? (can it be proved?) 23 Shao-Chuan Wang, Academia Sinica OR ?
Shao-Chuan Wang, Academia Sinica Example: sea bass or salmon? Suppose that we have only two kinds of fish, and we want a computer system that aids our distinction between sea bass and salmon. Process: 24 Take  A  Picture Computer Decision
Shao-Chuan Wang, Academia Sinica Example: sea bass or salmon? How do we describe a fish? (Data representation) What kinds of information can help us distinguish one from the other? Length, width, size of fins, tail shape, color, etc? How do we measure its distinctness under the chosen data representation? (Difference metric) E.g. if we choose length, than their “distinctness” can be measured using its absolute relative values.  25
Shao-Chuan Wang, Academia Sinica Example: sea bass or salmon? Assume that a fisherman (prior domain knowledge) told us that salmon is generally longer than a sea bass.  We may use length as a feature to discriminate between them. But how? 26
Shao-Chuan Wang, Academia Sinica Example: sea bass or salmon? We use “past experiences” and we calculate a histogram of lengths for two types of fishes. Apply Nearest Neighbor to their average length. 27
Shao-Chuan Wang, Academia Sinica Example: sea bass or salmon? The difficulty comes from the ambiguity around the threshold value. Length itself is insufficient to “describe” the fishes. Use more features like width and color, etc. Other manipulation. E.g. use nearest neighbor to “median” of the length; will it be better? Let’s try one more feature: width 28
Shao-Chuan Wang, Academia Sinica Example: sea bass or salmon? We can use two features and wrote them down as a vector: Each fish image is represented as a 2-D feature vector: 29 Length : x1 Width : x2
Shao-Chuan Wang, Academia Sinica Example: sea bass or salmon? 30 There are still misclassified training examples
Shao-Chuan Wang, Academia Sinica Example: sea bass or salmon? Why use Line? We can use complex boundary, but we radically change the boundary just because of some heretics. => may not generalize well. 31
Shao-Chuan Wang, Academia Sinica Challenges of Machine Learning  Conclusion on this example: We have to incorporate prior knowledge to decide which features we are going to use. At present, there is no universal learning machines. We want a feature that is invariant within certain specie but distinct between different species. There is a trade-off between complexity of decision model s and their “training errors”. 32
Shao-Chuan Wang, Academia Sinica The Future of Machine Learning Theoretic foundations of learning Scalability (Parallel) Robustness to dynamic environment 33
Shao-Chuan Wang, Academia Sinica Questions? 34
Thank you for your attention! 35 Shao-Chuan Wang, Academia Sinica
Shao-Chuan Wang, Academia Sinica Learning schemes Supervised learning: The tree example is a supervised learning problem. Supervised learning provides label ground truth. Unsupervised learning: Unsupervised learning DOES NOT provide label ground truth. Reinforcement learning: The way you train your pets. 36

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

AI vs Machine Learning vs Deep Learning | Machine Learning Training with Pyth...
AI vs Machine Learning vs Deep Learning | Machine Learning Training with Pyth...AI vs Machine Learning vs Deep Learning | Machine Learning Training with Pyth...
AI vs Machine Learning vs Deep Learning | Machine Learning Training with Pyth...
 
introduction to machin learning
introduction to machin learningintroduction to machin learning
introduction to machin learning
 
Machine learning
Machine learningMachine learning
Machine learning
 
Lecture 1: What is Machine Learning?
Lecture 1: What is Machine Learning?Lecture 1: What is Machine Learning?
Lecture 1: What is Machine Learning?
 
Intro to Machine Learning & AI
Intro to Machine Learning & AIIntro to Machine Learning & AI
Intro to Machine Learning & AI
 
machine learning
machine learningmachine learning
machine learning
 
Deep Learning Fundamentals
Deep Learning FundamentalsDeep Learning Fundamentals
Deep Learning Fundamentals
 
Machine learning
Machine learningMachine learning
Machine learning
 
Machine learning seminar ppt
Machine learning seminar pptMachine learning seminar ppt
Machine learning seminar ppt
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
Machine learning overview
Machine learning overviewMachine learning overview
Machine learning overview
 
Introduction to-machine-learning
Introduction to-machine-learningIntroduction to-machine-learning
Introduction to-machine-learning
 
Machine learning
Machine learningMachine learning
Machine learning
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learning
 
Machine learning
Machine learningMachine learning
Machine learning
 
Machine learning introduction
Machine learning introductionMachine learning introduction
Machine learning introduction
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
Machine learning
Machine learningMachine learning
Machine learning
 
Machine learning seminar presentation
Machine learning seminar presentationMachine learning seminar presentation
Machine learning seminar presentation
 

Destacado

Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
Lior Rokach
 
An Exemplar Model For Learning Object Classes
An Exemplar Model For Learning Object ClassesAn Exemplar Model For Learning Object Classes
An Exemplar Model For Learning Object Classes
Shao-Chuan Wang
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
butest
 
Khawvel Sunday School Ni 2014-Puitling Sunday School, Rev. Dr. Zairema Chanchin
Khawvel Sunday School Ni 2014-Puitling Sunday School, Rev. Dr. Zairema ChanchinKhawvel Sunday School Ni 2014-Puitling Sunday School, Rev. Dr. Zairema Chanchin
Khawvel Sunday School Ni 2014-Puitling Sunday School, Rev. Dr. Zairema Chanchin
Lehkhabu Khawvel
 
Marketing - Internet Advertisement
Marketing - Internet AdvertisementMarketing - Internet Advertisement
Marketing - Internet Advertisement
Bishnu Kumar
 
1 St Qtr. 2008 Pri Retail Analytics
1 St Qtr. 2008 Pri Retail Analytics1 St Qtr. 2008 Pri Retail Analytics
1 St Qtr. 2008 Pri Retail Analytics
digital.signage
 

Destacado (20)

Intro to Machine Learning by Microsoft Ventures
Intro to Machine Learning by Microsoft VenturesIntro to Machine Learning by Microsoft Ventures
Intro to Machine Learning by Microsoft Ventures
 
Machine Learning for Dummies
Machine Learning for DummiesMachine Learning for Dummies
Machine Learning for Dummies
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
An Exemplar Model For Learning Object Classes
An Exemplar Model For Learning Object ClassesAn Exemplar Model For Learning Object Classes
An Exemplar Model For Learning Object Classes
 
12 pattern recognition
12 pattern recognition12 pattern recognition
12 pattern recognition
 
Introduction to Machine Learning: An Application to Disaster Response
Introduction to Machine Learning: An Application to Disaster ResponseIntroduction to Machine Learning: An Application to Disaster Response
Introduction to Machine Learning: An Application to Disaster Response
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
Accelerating Machine Learning with Cognitive Calibration - Kalpesh Balar, Coseer
Accelerating Machine Learning with Cognitive Calibration - Kalpesh Balar, CoseerAccelerating Machine Learning with Cognitive Calibration - Kalpesh Balar, Coseer
Accelerating Machine Learning with Cognitive Calibration - Kalpesh Balar, Coseer
 
Machine learning Lecture 3
Machine learning Lecture 3Machine learning Lecture 3
Machine learning Lecture 3
 
Sefl Organizing Map
Sefl Organizing MapSefl Organizing Map
Sefl Organizing Map
 
Neural Networks: Self-Organizing Maps (SOM)
Neural Networks:  Self-Organizing Maps (SOM)Neural Networks:  Self-Organizing Maps (SOM)
Neural Networks: Self-Organizing Maps (SOM)
 
Intoduction to Neural Network
Intoduction to Neural NetworkIntoduction to Neural Network
Intoduction to Neural Network
 
Learning do discover: machine learning in high-energy physics
Learning do discover: machine learning in high-energy physicsLearning do discover: machine learning in high-energy physics
Learning do discover: machine learning in high-energy physics
 
"Introduction to Machine Learning and its Applications" at sapthgiri engineer...
"Introduction to Machine Learning and its Applications" at sapthgiri engineer..."Introduction to Machine Learning and its Applications" at sapthgiri engineer...
"Introduction to Machine Learning and its Applications" at sapthgiri engineer...
 
Applying Machine Learning and Artificial Intelligence to Business
Applying Machine Learning and Artificial Intelligence to BusinessApplying Machine Learning and Artificial Intelligence to Business
Applying Machine Learning and Artificial Intelligence to Business
 
Khawvel Sunday School Ni 2014-Puitling Sunday School, Rev. Dr. Zairema Chanchin
Khawvel Sunday School Ni 2014-Puitling Sunday School, Rev. Dr. Zairema ChanchinKhawvel Sunday School Ni 2014-Puitling Sunday School, Rev. Dr. Zairema Chanchin
Khawvel Sunday School Ni 2014-Puitling Sunday School, Rev. Dr. Zairema Chanchin
 
Digital Portfolio - David Hronek, LEED AP
Digital Portfolio - David Hronek, LEED APDigital Portfolio - David Hronek, LEED AP
Digital Portfolio - David Hronek, LEED AP
 
Marketing - Internet Advertisement
Marketing - Internet AdvertisementMarketing - Internet Advertisement
Marketing - Internet Advertisement
 
G.o. 41.073
G.o. 41.073G.o. 41.073
G.o. 41.073
 
1 St Qtr. 2008 Pri Retail Analytics
1 St Qtr. 2008 Pri Retail Analytics1 St Qtr. 2008 Pri Retail Analytics
1 St Qtr. 2008 Pri Retail Analytics
 

Similar a Introduction to Machine Learning

Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
butest
 
Using binary classifiers
Using binary classifiersUsing binary classifiers
Using binary classifiers
butest
 
Machine Learning ICS 273A
Machine Learning ICS 273AMachine Learning ICS 273A
Machine Learning ICS 273A
butest
 
Introduction to Machine Learning.
Introduction to Machine Learning.Introduction to Machine Learning.
Introduction to Machine Learning.
butest
 
From Research Objects to Reproducible Science Tales
From Research Objects to Reproducible Science TalesFrom Research Objects to Reproducible Science Tales
From Research Objects to Reproducible Science Tales
Bertram Ludäscher
 
Convolutional Neural Networks Research
Convolutional Neural Networks ResearchConvolutional Neural Networks Research
Convolutional Neural Networks Research
Tanmay Ghai
 

Similar a Introduction to Machine Learning (20)

Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
Introduction to pattern recognization
Introduction to pattern recognizationIntroduction to pattern recognization
Introduction to pattern recognization
 
Introduction to the Artificial Intelligence and Computer Vision revolution
Introduction to the Artificial Intelligence and Computer Vision revolutionIntroduction to the Artificial Intelligence and Computer Vision revolution
Introduction to the Artificial Intelligence and Computer Vision revolution
 
talalalsubaie-1220737011220266-9.pdf
talalalsubaie-1220737011220266-9.pdftalalalsubaie-1220737011220266-9.pdf
talalalsubaie-1220737011220266-9.pdf
 
Bring your own idea - Visual learning analytics
Bring your own idea - Visual learning analyticsBring your own idea - Visual learning analytics
Bring your own idea - Visual learning analytics
 
Introduction to Information Visualization (Part 1)
Introduction to Information Visualization (Part 1)Introduction to Information Visualization (Part 1)
Introduction to Information Visualization (Part 1)
 
Kdd by Mr.Sameer Kumar Das
Kdd by Mr.Sameer Kumar DasKdd by Mr.Sameer Kumar Das
Kdd by Mr.Sameer Kumar Das
 
Ai based projects
Ai based projectsAi based projects
Ai based projects
 
Hand Gesture Recognition using Neural Network
Hand Gesture Recognition using Neural NetworkHand Gesture Recognition using Neural Network
Hand Gesture Recognition using Neural Network
 
Using binary classifiers
Using binary classifiersUsing binary classifiers
Using binary classifiers
 
Machine Learning ICS 273A
Machine Learning ICS 273AMachine Learning ICS 273A
Machine Learning ICS 273A
 
Big-Data Analytics for Media Management
Big-Data Analytics for Media ManagementBig-Data Analytics for Media Management
Big-Data Analytics for Media Management
 
Introduction to Machine Learning.
Introduction to Machine Learning.Introduction to Machine Learning.
Introduction to Machine Learning.
 
From Research Objects to Reproducible Science Tales
From Research Objects to Reproducible Science TalesFrom Research Objects to Reproducible Science Tales
From Research Objects to Reproducible Science Tales
 
Objects for modeling world
Objects for modeling worldObjects for modeling world
Objects for modeling world
 
MEXTESOL 2016 Teaching Writing (workshop)
MEXTESOL 2016 Teaching Writing (workshop)MEXTESOL 2016 Teaching Writing (workshop)
MEXTESOL 2016 Teaching Writing (workshop)
 
Interpretability of machine learning
Interpretability of machine learningInterpretability of machine learning
Interpretability of machine learning
 
Convolutional Neural Networks Research
Convolutional Neural Networks ResearchConvolutional Neural Networks Research
Convolutional Neural Networks Research
 
Pattern Recognition
Pattern RecognitionPattern Recognition
Pattern Recognition
 
Multimodal Learning Analytics
Multimodal Learning AnalyticsMultimodal Learning Analytics
Multimodal Learning Analytics
 

Más de Shao-Chuan Wang

Beyond The Euclidean Distance: Creating effective visual codebooks using the ...
Beyond The Euclidean Distance: Creating effective visual codebooks using the ...Beyond The Euclidean Distance: Creating effective visual codebooks using the ...
Beyond The Euclidean Distance: Creating effective visual codebooks using the ...
Shao-Chuan Wang
 
A Friendly Guide To Sparse Coding
A Friendly Guide To Sparse CodingA Friendly Guide To Sparse Coding
A Friendly Guide To Sparse Coding
Shao-Chuan Wang
 
Evaluation Of Color Descriptors For Object And Scene
Evaluation Of Color Descriptors For Object And SceneEvaluation Of Color Descriptors For Object And Scene
Evaluation Of Color Descriptors For Object And Scene
Shao-Chuan Wang
 
Spatially Coherent Latent Topic Model For Concurrent Object Segmentation and ...
Spatially Coherent Latent Topic Model For Concurrent Object Segmentation and ...Spatially Coherent Latent Topic Model For Concurrent Object Segmentation and ...
Spatially Coherent Latent Topic Model For Concurrent Object Segmentation and ...
Shao-Chuan Wang
 
Image Classification And Support Vector Machine
Image Classification And Support Vector MachineImage Classification And Support Vector Machine
Image Classification And Support Vector Machine
Shao-Chuan Wang
 

Más de Shao-Chuan Wang (9)

Book Cover Recognition
Book Cover RecognitionBook Cover Recognition
Book Cover Recognition
 
Beyond The Euclidean Distance: Creating effective visual codebooks using the ...
Beyond The Euclidean Distance: Creating effective visual codebooks using the ...Beyond The Euclidean Distance: Creating effective visual codebooks using the ...
Beyond The Euclidean Distance: Creating effective visual codebooks using the ...
 
Self Taught Learning
Self Taught LearningSelf Taught Learning
Self Taught Learning
 
A Friendly Guide To Sparse Coding
A Friendly Guide To Sparse CodingA Friendly Guide To Sparse Coding
A Friendly Guide To Sparse Coding
 
Evaluation Of Color Descriptors For Object And Scene
Evaluation Of Color Descriptors For Object And SceneEvaluation Of Color Descriptors For Object And Scene
Evaluation Of Color Descriptors For Object And Scene
 
Spatially Coherent Latent Topic Model For Concurrent Object Segmentation and ...
Spatially Coherent Latent Topic Model For Concurrent Object Segmentation and ...Spatially Coherent Latent Topic Model For Concurrent Object Segmentation and ...
Spatially Coherent Latent Topic Model For Concurrent Object Segmentation and ...
 
Support Vector Machine
Support Vector MachineSupport Vector Machine
Support Vector Machine
 
About Python
About PythonAbout Python
About Python
 
Image Classification And Support Vector Machine
Image Classification And Support Vector MachineImage Classification And Support Vector Machine
Image Classification And Support Vector Machine
 

Último

Último (20)

80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 

Introduction to Machine Learning

  • 1. Introduction to Machine Learning Shao-Chuan Wang Research Center for IT Innovation Multimedia and Machine Learning Lab Academia Sinica 中央研究院資訊科技創新研究中心 多媒體與機器學習實驗室 NTNU 1 Shao-Chuan Wang, Academia Sinica
  • 2. Outline What is involved in intelligence? Why is machine learning important? What can machine learning do? Overview of machine learning applications Challenges of machine learning Future of machine learning 2 Shao-Chuan Wang, Academia Sinica
  • 3. What Is Intelligence? 3 Shao-Chuan Wang, Academia Sinica
  • 4. What Is Involved in Intelligence? From Merriam-Webster: “intelligence”: (1)  the ability to learn or understand or to deal with new or trying situations.  (2) the ability to apply knowledge to manipulate one's environment or to think abstractly as measured by objective criteria Abstraction (finding the common patterns) V.S. Adaptation Learning is dynamic; e.g. a computer chess. 4 Shao-Chuan Wang, Academia Sinica
  • 5. Shao-Chuan Wang, Academia Sinica Why Is Machine Learning Important?(1/4) The explosion of data 5
  • 6. Shao-Chuan Wang, Academia Sinica Why Is Machine Learning Important?(2/4) 6 Some places are NOT for humans
  • 7. Shao-Chuan Wang, Academia Sinica Why Is Machine Learning Important?(3/4) Machine learning can help us understand human learning 7
  • 8. Shao-Chuan Wang, Academia Sinica Why Is Machine Learning Important?(4/4) 8 Intelligent machines can help!
  • 9. What Can Machine Learning Do? 9 Shao-Chuan Wang, Academia Sinica
  • 10. Application One:Handwriting Recognition 10 Shao-Chuan Wang, Academia Sinica Video
  • 11. Application Two: Face Detection and Tracking 11 Shao-Chuan Wang, Academia Sinica Video
  • 12. Application Three: Autonomous Driving 12 Shao-Chuan Wang, Academia Sinica Video
  • 13. Shao-Chuan Wang, Academia Sinica Overview of Machine Learning Applications Speech recognition Computer vision Bio-surveillance Robotics Data mining 13
  • 14. What Is Learning? 14 Shao-Chuan Wang, Academia Sinica
  • 15. Shao-Chuan Wang, Academia Sinica A Tree Recognition Example (1/2) Suppose that you have never seen trees before, and I give you some “EXAMPLES” Trees examples ‘Not’ Trees examples 15
  • 16. A Tree Recognition Example (2/2) I will ask you if these unseen photos are trees or not. YES Is it a tree? or NO Query Images 16 Shao-Chuan Wang, Academia Sinica (AND) How much confidence?
  • 17. What Is Learning? (Mitchell 2002) Learning is to improve the performance measure P of the task T based on the past experience E. T: To recognize a tree P: Recognition accuracy E: The examples that I gave to you Two key elements of learning: Memorization of past experiences. “Generalization” ability (舉一反三). 17 Shao-Chuan Wang, Academia Sinica
  • 18. Shao-Chuan Wang, Academia Sinica A Simple Algorithm: Nearest Neighbor For a given query image Find the nearest image to the query image in the database Assign the label of the nearest one to the query image. Query Tree! Difference = 13 Difference = 1.5 Difference = 11 Difference = 5.5 Difference = 10 18
  • 19. What Were We Modeling? YES YES YES NO NO NO … TREE Human Concept (exist but unknown) Prediction: NO Infer A Machine (A learning algorithm) Query 19 Shao-Chuan Wang, Academia Sinica Training…
  • 20. What if we do not have label ground truth?? (or labels are very expensive) 20 Shao-Chuan Wang, Academia Sinica
  • 21. Shao-Chuan Wang, Academia Sinica Unsupervised Learning Clustering 21 。Each segment forms a “Cluster”. 。Pattern discover
  • 22. Examples: Amazon.com Marketing Recommendation on the similar goods. 22 Shao-Chuan Wang, Academia Sinica
  • 23. Challenges of Machine Learning How do we model the “difference” between two images? Data Representation Difference Metric What is the “score” or “difference” function? How did we calculate the distance value in the tree example? Learning Does it model well? (can it accurately predict the seen data?) Does it generalize well? (can it be proved?) 23 Shao-Chuan Wang, Academia Sinica OR ?
  • 24. Shao-Chuan Wang, Academia Sinica Example: sea bass or salmon? Suppose that we have only two kinds of fish, and we want a computer system that aids our distinction between sea bass and salmon. Process: 24 Take A Picture Computer Decision
  • 25. Shao-Chuan Wang, Academia Sinica Example: sea bass or salmon? How do we describe a fish? (Data representation) What kinds of information can help us distinguish one from the other? Length, width, size of fins, tail shape, color, etc? How do we measure its distinctness under the chosen data representation? (Difference metric) E.g. if we choose length, than their “distinctness” can be measured using its absolute relative values. 25
  • 26. Shao-Chuan Wang, Academia Sinica Example: sea bass or salmon? Assume that a fisherman (prior domain knowledge) told us that salmon is generally longer than a sea bass. We may use length as a feature to discriminate between them. But how? 26
  • 27. Shao-Chuan Wang, Academia Sinica Example: sea bass or salmon? We use “past experiences” and we calculate a histogram of lengths for two types of fishes. Apply Nearest Neighbor to their average length. 27
  • 28. Shao-Chuan Wang, Academia Sinica Example: sea bass or salmon? The difficulty comes from the ambiguity around the threshold value. Length itself is insufficient to “describe” the fishes. Use more features like width and color, etc. Other manipulation. E.g. use nearest neighbor to “median” of the length; will it be better? Let’s try one more feature: width 28
  • 29. Shao-Chuan Wang, Academia Sinica Example: sea bass or salmon? We can use two features and wrote them down as a vector: Each fish image is represented as a 2-D feature vector: 29 Length : x1 Width : x2
  • 30. Shao-Chuan Wang, Academia Sinica Example: sea bass or salmon? 30 There are still misclassified training examples
  • 31. Shao-Chuan Wang, Academia Sinica Example: sea bass or salmon? Why use Line? We can use complex boundary, but we radically change the boundary just because of some heretics. => may not generalize well. 31
  • 32. Shao-Chuan Wang, Academia Sinica Challenges of Machine Learning Conclusion on this example: We have to incorporate prior knowledge to decide which features we are going to use. At present, there is no universal learning machines. We want a feature that is invariant within certain specie but distinct between different species. There is a trade-off between complexity of decision model s and their “training errors”. 32
  • 33. Shao-Chuan Wang, Academia Sinica The Future of Machine Learning Theoretic foundations of learning Scalability (Parallel) Robustness to dynamic environment 33
  • 34. Shao-Chuan Wang, Academia Sinica Questions? 34
  • 35. Thank you for your attention! 35 Shao-Chuan Wang, Academia Sinica
  • 36. Shao-Chuan Wang, Academia Sinica Learning schemes Supervised learning: The tree example is a supervised learning problem. Supervised learning provides label ground truth. Unsupervised learning: Unsupervised learning DOES NOT provide label ground truth. Reinforcement learning: The way you train your pets. 36