Introduction Machine Learning 14/02/2017.

Slides:



Advertisements
Similar presentations
Introduction Training Complexity, Pruning CART vs. ID3 vs. C4.5
Advertisements

ECE 8443 – Pattern Recognition Objectives: Course Introduction Typical Applications Resources: Syllabus Internet Books and Notes D.H.S: Chapter 1 Glossary.
Pattern Classification, Chapter 2 (Part 2) 0 Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R.
Pattern Classification, Chapter 2 (Part 2) 0 Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R.
Pattern Classification Chapter 2 (Part 2)0 Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O.
Chapter 1: Introduction to Pattern Recognition
OUTLINE Course description, What is pattern recognition, Cost of error, Decision boundaries, The desgin cycle.
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John.
Chapter 2: Bayesian Decision Theory (Part 1) Introduction Bayesian Decision Theory–Continuous Features All materials used in this course were taken from.
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John Wiley.
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John Wiley.
Pattern Classification, Chapter 1 1 Basic Probability.
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John Wiley.
Pattern Recognition. Introduction. Definitions.. Recognition process. Recognition process relates input signal to the stored concepts about the object.
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John Wiley.
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John Wiley.
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John Wiley.
1. Introduction to Pattern Recognition and Machine Learning. Prof. A.L. Yuille. Dept. Statistics. UCLA. Stat 231. Fall 2004.
Introduction to machine learning
CS Machine Learning. What is Machine Learning? Adapt to / learn from data  To optimize a performance function Can be used to:  Extract knowledge.
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John Wiley.
Introduction to Pattern Recognition Charles Tappert Seidenberg School of CSIS, Pace University.
Introduction to Pattern Recognition Chapter 1 (Duda et al.) CS479/679 Pattern Recognition Dr. George Bebis 1.
: Chapter 1: Introduction 1 Montri Karnjanadecha ac.th/~montri Principles of Pattern Recognition.
0 Pattern Classification, Chapter 3 0 Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda,
Lecture 2 Introduction to ML Basic Linear Algebra Matlab Some slides on Linear Algebra are from Patrick Nichols CS4442/9542b Artificial Intelligence II.
Classification. An Example (from Pattern Classification by Duda & Hart & Stork – Second Edition, 2001)
IBS-09-SL RM 501 – Ranjit Goswami 1 Basic Probability.
Data Mining Chapter 1 Introduction -- Basic Data Mining Tasks -- Related Concepts -- Data Mining Techniques.
Compiled By: Raj G Tiwari.  A pattern is an object, process or event that can be given a name.  A pattern class (or category) is a set of patterns sharing.
Introduction to machine learning and data mining 1 iCSC2014, Juan López González, University of Oviedo Introduction to machine learning Juan López González.
Pattern Recognition April 19, 2007 Suggested Reading: Horn Chapter 14.
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John Wiley.
Instructor: Pedro Domingos
Introduction to Pattern Recognition (การรู้จํารูปแบบเบื้องต้น)
Data Mining and Decision Support
Introduction Machine Learning febr Machine Learning How can we design a computer system whose performance improves by learning from experience?
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John Wiley.
Adaboost (Adaptive boosting) Jo Yeong-Jun Schapire, Robert E., and Yoram Singer. "Improved boosting algorithms using confidence- rated predictions."
Machine Learning with Spark MLlib
Artificial Intelligence
Who am I? Work in Probabilistic Machine Learning Like to teach 
Machine Learning for Computer Security
Pattern Classification Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John Wiley & Sons, 2000 Dr. Ding Yuxin Pattern Recognition.
IMAGE PROCESSING RECOGNITION AND CLASSIFICATION
School of Computer Science & Engineering
Pattern Recognition Sergios Theodoridis Konstantinos Koutroumbas
Introductory Seminar on Research: Fall 2017
Estimating Link Signatures with Machine Learning Algorithms
Machine Learning Dr. Mohamed Farouk.
Pattern Classification, Chapter 3
Introduction to Pattern Recognition and Machine Learning
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John.
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John.
Prepared by: Mahmoud Rafeek Al-Farra
An Introduction to Supervised Learning
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John.
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John.
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John.
Overview of Machine Learning
Classification and Prediction
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John.
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John.
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John.
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John.
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John.
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John.
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John.
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John.
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John.
Presentation transcript:

Introduction Machine Learning 14/02/2017

Machine Learning How can we design a computer system whose performance improves by learning from experience?

Spam filtering

Face/person recognition demo

Recommendation systems

Robotics

Natural Language Processing

other application areas Biometrics Object recognition on images DNA seqencing Financial data mining/prediction Process mining and optimisation Pattern Classification, Chapter 1

Big Data

Rule-based systems vs. Machine learning 10 Rule-based systems vs. Machine learning Domain expert is needed for writing rules OR giving training sample Which one is better? Can the expert design rule-based systems? Is the problem specific or general?

http://www.ml-class.org/course

Most of the materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John Wiley & Sons, 2000 with the permission of the authors and the publisher

14 Definition Machine Learning (Mitchell): „a computer program said to learn from experience E with respect to some class of tasks T and performance measure P, if its performance at tasks in T, as measured by P, improves with experience E.”

Example Classify fishes see bass Classes salmon 15 Example Classify fishes see bass Classes salmon Goal: to learn a modell from training data which can categorise fishes (eg. salmons are shorter) Pattern Classification, Chapter 1

16 Classification(T) Supervised learning: Based on training examples (E), learn a modell which works fine on previously unseen examples. Classification: a supervised learning task of categorisation of entities into predefined set of classes Pattern Classification, Chapter 1

17 Pattern Classification, Chapter 1 17

Basic definitions Feature (or attribute) Instance Class label ID Length (cm) Lightness Type 1 28 0.5 salmon 2 23 0.7 3 17 sea bass Instance (or entity, sample) Class label

Example - Preprocessing Image processing steps Feature extraction 19 Example - Preprocessing Image processing steps E.g segmentation of fish contour and background Feature extraction Extraction of features/attributes from images which are atomic variables Typically numerical or categorical Pattern Classification, Chapter 1

Example features length lightness width number of paddles 20 Example features length lightness width number of paddles position of mouth Pattern Classification, Chapter 1

Length is a weak discriminator of fish types. 21 Length is a weak discriminator of fish types. Pattern Classification, Chapter 1

22 Lightness is better Pattern Classification, Chapter 1

Performance evaluation (P) 23 Performance evaluation (P) most simple: accuracy (correct rate) False positive/negative errors E.g. if the threshold is decreased the number of sea basses falsly classified to salmon decreases Decision theory Pattern Classification, Chapter 1

Feature vector A vector of features describing a particular instance. 24 Feature vector A vector of features describing a particular instance. InstanceA xT = [x1, x2] Lightness Width Pattern Classification, Chapter 1

25 Pattern Classification, Chapter 1

Feature space We need features which might have discriminative power. 26 Feature space Be careful by adding to many features noisy features (eg. measurement errors) Unnecessary (pl. information content is similar to other feature) We need features which might have discriminative power. Feature set engineering is highly task-specific! Pattern Classification, Chapter 1

This is not ideal. Remember supervised learning principle! 27 This is not ideal. Remember supervised learning principle! Pattern Classification, Chapter 1

28 Pattern Classification, Chapter 1

Modell selection Number of features? Complexity of the task? 29 Modell selection Number of features? Complexity of the task? Classifier speed? Task and data-dependent! Pattern Classification, Chapter 1

The machine learning lifecycle 30 The machine learning lifecycle Data preparation Feature engineering Modell selection Modell training Performance evaluation Pattern Classification, Chapter 1

31 Data preparation Do we know whether we collected enough and representative sample for training a system? Pattern Classification, Chapter 1

Modell selection and training 32 Modell selection and training These topics are the foci of this course Investigate the data for modell selection! No free lunch! Pattern Classification, Chapter 1

Performance evaluation 33 Performance evaluation There are various evaluation metrics Simulation of supervised learning: split your data into two parts train your modell on the training set predict and evaluate your modell on the test set (unknow during training) Pattern Classification, Chapter 1

Topics of the course Classification Regression Clustering 34 Topics of the course Classification Regression Clustering Recommendation systems Learning to rank Structure prediction Reinforcement learning

https://www.kaggle.com/competitions http://www195.pair.com/mik3hall/weka_kaggle.html