Introduction to Machine Learning BITS C464/BITS F464

Slides:



Advertisements
Similar presentations
Godfather to the Singularity
Advertisements

Polynomial Curve Fitting BITS C464/BITS F464 Navneet Goyal Department of Computer Science, BITS-Pilani, Pilani Campus, India.
Data Visualization STAT 890, STAT 442, CM 462
ETHEM ALPAYDIN © The MIT Press, Lecture Slides for.
MACHINE LEARNING 1. Introduction. What is Machine Learning? Based on E Alpaydın 2004 Introduction to Machine Learning © The MIT Press (V1.1) 2  Need.
Introduction to Machine Learning Anjeli Singh Computer Science and Software Engineering April 28 th 2008.
Chapter 1: Introduction to Pattern Recognition
Machine Learning Case study. What is ML ?  The goal of machine learning is to build computer systems that can adapt and learn from their experience.”
Aula 5 Alguns Exemplos PMR5406 Redes Neurais e Lógica Fuzzy.
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.
Learning Programs Danielle and Joseph Bennett (and Lorelei) 4 December 2007.
INTRODUCTION TO Machine Learning ETHEM ALPAYDIN © The MIT Press, Lecture Slides for.
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 Machine Learning 3rd Edition
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.
Lecture 2: Introduction to Machine Learning
Introduction to Machine Learning MSE 2400 EaLiCaRA Spring 2015 Dr. Tom Way Based in part on notes from Gavin Brown, University of Manchester.
MACHINE LEARNING 張銘軒 譚恆力 1. OUTLINE OVERVIEW HOW DOSE THE MACHINE “ LEARN ” ? ADVANTAGE OF MACHINE LEARNING ALGORITHM TYPES  SUPERVISED.
Machine Learning An Introduction. What is Learning?  Herbert Simon: “Learning is any process by which a system improves performance from experience.”
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.
Machine Learning Introduction Study on the Coursera All Right Reserved : Andrew Ng Lecturer:Much Database Lab of Xiamen University Aug 12,2014.
Machine Learning Lecture 1. Course Information Text book “Introduction to Machine Learning” by Ethem Alpaydin, MIT Press. Reference book “Data Mining.
Lecture 10: 8/6/1435 Machine Learning Lecturer/ Kawther Abas 363CS – Artificial Intelligence.
Yazd University, Electrical and Computer Engineering Department Course Title: Advanced Software Engineering By: Mohammad Ali Zare Chahooki 1 Introduction.
1 Machine Learning (Extended) Dr. Ata Kaban Algorithms to enable computers to learn –Learning = ability to improve performance automatically through experience.
Machine Learning Tutorial Amit Gruber The Hebrew University of Jerusalem.
1 Machine Learning 1.Where does machine learning fit in computer science? 2.What is machine learning? 3.Where can machine learning be applied? 4.Should.
Week 1 - An Introduction to Machine Learning & Soft Computing
CS 536 – Ahmed Elgammal CS 536: Machine Learning Fall 2005 Ahmed Elgammal Dept of Computer Science Rutgers University.
Machine Learning Extract from various presentations: University of Nebraska, Scott, Freund, Domingo, Hong,
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Friday, 14 November 2003 William.
Machine Learning Introduction. Class Info Office Hours –Monday:11:30 – 1:00 –Wednesday:10:00 – 1:00 –Thursday:11:30 – 1:00 Course Text –Tom Mitchell:
Copyright Paula Matuszek Kinds of Machine Learning.
Introduction to Machine Learning © Roni Rosenfeld,
WHAT IS DATA MINING?  The process of automatically extracting useful information from large amounts of data.  Uses traditional data analysis techniques.
Learning Kernel Classifiers 1. Introduction Summarized by In-Hee Lee.
Machine Learning BY UZMA TUFAIL MCS : section (E) ROLL NO: /31/2016.
WHAT IS DATA MINING?  The process of automatically extracting useful information from large amounts of data.  Uses traditional data analysis techniques.
Pattern recognition – basic concepts. Sample input attribute, attribute, feature, input variable, independent variable (atribut, rys, příznak, vstupní.
Introduction to Machine Learning. Learning Learning is acquiring new, or modifying existing, knowledge, behaviors, skills, values, or preferences and.
Network Management Lecture 13. MACHINE LEARNING TECHNIQUES 2 Dr. Atiq Ahmed Université de Balouchistan.
Machine learning & object recognition Cordelia Schmid Jakob Verbeek.
Brief Intro to Machine Learning CS539
Data Mining, Machine Learning, Data Analysis, etc. scikit-learn
Artificial Intelligence
Machine Learning for Computer Security
Artificial Intelligence, P.II
Machine Learning overview Chapter 18, 21
Machine Learning overview Chapter 18, 21
Introduction Machine Learning 14/02/2017.
Intro to Machine Learning
Pattern Recognition Sergios Theodoridis Konstantinos Koutroumbas
Introductory Seminar on Research: Fall 2017
Application Areas of Artificial Intelligence(AI)
CH. 1: Introduction 1.1 What is Machine Learning Example:
Machine Learning Ali Ghodsi Department of Statistics
AV Autonomous Vehicles.
What is Pattern Recognition?
Basic Intro Tutorial on Machine Learning and Data Mining
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
3.1.1 Introduction to Machine Learning
Integrating Deep Learning with Cyber Forensics
Data Mining, Machine Learning, Data Analysis, etc. scikit-learn
Data Mining, Machine Learning, Data Analysis, etc. scikit-learn
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.
Machine Learning overview Chapter 18, 21
Presentation transcript:

Introduction to Machine Learning BITS C464/BITS F464 Navneet Goyal Department of Computer Science, BITS-Pilani, Pilani Campus, India

Machine Learning Humour Source – http://www.kdnuggets.com/2012/12/machine-learning-data-mining-humor.html

Source - http://diegoferrin.wordpress.com

Related Fields Introduction Artificial Intelligence Statistics Data Mining

Machine Learning Humour What is the difference between statistics, machine learning, AI and data mining? If there are up to 3 variables, it is statistics. If the problem is NP-complete, it is machine learning. If the problem is PSPACE-complete, it is AI. If you don't know what is PSPACE-complete, it is data mining. Source – http://www.kdnuggets.com/2012/12/machine-learning-data-mining-humor.html

What is Machine Learning? Machines DO Machines LEARN Shift in paradigm! Machines can be made to learn! How and for what purpose? How? By writing algorithms! Purpose: Mainly to Predict and to take Decisions!

Types of Learning Supervised Unsupervised Semi-supervised Reinforcement Active Deep

Introduction Zoologists study learning in animals Psychologists study learning in humans In this course, we focus on “Learning in Machines” Course Objective Study of approaches and algorithms that can make a machine learn

Introduction Machine Learning Subarea of AI that is concerned with algorithms/programs that can make a machine learn Improve automatically with experience For example- doctors learning from experience Imagine computers learning from medical records and suggesting treatment (automated diagnosis & prescription)

Machine Learning A computer program is 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.

Interesting Problems Speech and Hand Writing Recognition Robotics (training moving robots) Search Engine (context aware) Learning to drive autonomous vehicle Medical Diagnosis Detecting credit card fraud Computational Bioinformatics Game Playing

What is Machine Learning? To solve a problem, we need an algorithm! For example: sorting a list of numbers Input: list of numbers Output: sorted list of numbers For some tasks, like filtering spam mails Input: an email Output: Y/N We do not know how to transform Input to Output Definition of Spam changes with time and from one individual to individual What to DO? Reference: E Alpaydin’s Machine Learning Book, 2010 (MIT Press)

What is Machine Learning? Collect lots of emails (both genuine and spam) “Learn” what constitutes a spam mail (or for that matter a genuine mail) Learn from DATA!! For many similar problems, we may not have algorithm(s), but we do have example data (called Training Data) Ability to process training data has been made possible by advances in computer technology Reference: E Alpaydin’s Machine Learning Book, 2010 (MIT Press)

What is Machine Learning? Face Recognition!!! We humans are so good at it!!! Ever thought how we do it, despite Different light conditions, pose, hair style, make up, glasses, ageing etc.. Since we do not know how we do it, we can not write a program to do it ML is about making inference from a sample Reference: E Alpaydin’s Machine Learning Book, 2010 (MIT Press)

Machine Learning Applications What kind of data I would require for learning? Credit card transactions Face Recognition Spam filter Handwriting/Character Recognition

Handwriting Recognition Task T recognizing and classifying handwritten words within images Performance measure P percent of words correctly classified Training experience E a database of handwritten words with given classifications

Handwriting Recognition

Pattern Recognition Example Handwriting Digit Recognition Reference: Christopher M Bishop: Pattern Recognition & Machine Leaning, 2006 Springer

Pattern Recognition Example Handwriting Digit Recognition Non-trivial problem due to variability in handwriting What about using handcrafted rules or heuristics for distinguishing the digits based on shapes of strokes? Not such a good idea!! Proliferation of rules Exceptions of rules and so on… Adopt a ML approach!! Reference: Christopher M Bishop: Pattern Recognition & Machine Leaning, 2006 Springer

Pattern Recognition Example Handwriting Digit Recognition Each digit represented by a 28x28 pixel image Can be represented by a vector of 784 real no.s Objective: to have an algorithm that will take such a vector as input and identify the digit it is representing Take images of a large no. of digits (N) – training set Use training set to tune the parameters of an adaptive model Each digit in the training set has been identified by a target vector t, which represents the identity of the corresp. digit. Result of running a ML algo. can expressed as a fn. y(x) which takes input a new digit x and outputs a vector y. Vector y is encoded in the same way as t The form of y(x) is determined through the learning (training) phase Reference: Christopher M Bishop: Pattern Recognition & Machine Leaning, 2006 Springer

Pattern Recognition Example Generalization The ability to categorize correctly new examples that differ from those in training Generalization is a central goal in pattern recognition Preprocessing Input variables are preprocessed to transform them into some new space of variables where it is hoped that the problem will be easier to solve (see fig.) Images of digits are translated and scaled so that each digit is contained within a box of fixed size. This reduces variability. Preprocessing stage is referred to as feature extraction New test data must be preprocessed using the same steps as training data Reference: Christopher M Bishop: Pattern Recognition & Machine Leaning, 2006 Springer

Linear Classifiers in High-Dimensional Spaces Constructed Feature 2 Var1 Var2 Constructed Feature 1 Find function (x) to map to a different space Go back

A word about Preprocessing!! Can also speed up computations For eg.: Face detection in a high resolution video stream Find useful features that are fast to compute and yet that also preserve useful discriminatory information enabling faces to be distinguished form non-faces Avg. value of image intensity in a rectangular sub-region can be evaluated extremely efficiently and a set of such features are very effective in fast face detection Such features are smaller in number than the number of pixels, it is referred to as a form of Dimensionality Reduction Care must be taken so that important information is not discarded during pre processing Reference: Christopher M Bishop: Pattern Recognition & Machine Leaning, 2006 Springer