Harivinod N Dept of CSE Vivekananda College of Engineering Technology, Puttur

Similar documents
Module 12. Machine Learning. Version 2 CSE IIT, Kharagpur

Lecture 1: Basic Concepts of Machine Learning

Python Machine Learning

CS Machine Learning

Laboratorio di Intelligenza Artificiale e Robotica

Lecture 1: Machine Learning Basics

CS4491/CS 7265 BIG DATA ANALYTICS INTRODUCTION TO THE COURSE. Mingon Kang, PhD Computer Science, Kennesaw State University

Laboratorio di Intelligenza Artificiale e Robotica

Word Segmentation of Off-line Handwritten Documents

Course Outline. Course Grading. Where to go for help. Academic Integrity. EE-589 Introduction to Neural Networks NN 1 EE

CSL465/603 - Machine Learning

ADVANCED MACHINE LEARNING WITH PYTHON BY JOHN HEARTY DOWNLOAD EBOOK : ADVANCED MACHINE LEARNING WITH PYTHON BY JOHN HEARTY PDF

A Neural Network GUI Tested on Text-To-Phoneme Mapping

(Sub)Gradient Descent

Business Analytics and Information Tech COURSE NUMBER: 33:136:494 COURSE TITLE: Data Mining and Business Intelligence

Top US Tech Talent for the Top China Tech Company

Courses in English. Application Development Technology. Artificial Intelligence. 2017/18 Spring Semester. Database access

Axiom 2013 Team Description Paper

Seminar - Organic Computing

Learning Structural Correspondences Across Different Linguistic Domains with Synchronous Neural Language Models

The 9 th International Scientific Conference elearning and software for Education Bucharest, April 25-26, / X

Evolutive Neural Net Fuzzy Filtering: Basic Description

System Implementation for SemEval-2017 Task 4 Subtask A Based on Interpolated Deep Neural Networks

A Case Study: News Classification Based on Term Frequency

Human Emotion Recognition From Speech

Learning Methods for Fuzzy Systems

Machine Learning from Garden Path Sentences: The Application of Computational Linguistics

Evolution of Symbolisation in Chimpanzees and Neural Nets

Purdue Data Summit Communication of Big Data Analytics. New SAT Predictive Validity Case Study

A Reinforcement Learning Variant for Control Scheduling

Deep search. Enhancing a search bar using machine learning. Ilgün Ilgün & Cedric Reichenbach

Twitter Sentiment Classification on Sanders Data using Hybrid Approach

MYCIN. The MYCIN Task

QuickStroke: An Incremental On-line Chinese Handwriting Recognition System

Australian Journal of Basic and Applied Sciences

OPTIMIZATINON OF TRAINING SETS FOR HEBBIAN-LEARNING- BASED CLASSIFIERS

Knowledge Transfer in Deep Convolutional Neural Nets

Using focal point learning to improve human machine tacit coordination

Rule Learning With Negation: Issues Regarding Effectiveness

Predicting Student Attrition in MOOCs using Sentiment Analysis and Neural Networks

Mining Association Rules in Student s Assessment Data

Exploration. CS : Deep Reinforcement Learning Sergey Levine

Training a Neural Network to Answer 8th Grade Science Questions Steven Hewitt, An Ju, Katherine Stasaski

Testing A Moving Target: How Do We Test Machine Learning Systems? Peter Varhol Technology Strategy Research, USA

SINGLE DOCUMENT AUTOMATIC TEXT SUMMARIZATION USING TERM FREQUENCY-INVERSE DOCUMENT FREQUENCY (TF-IDF)

LEGO MINDSTORMS Education EV3 Coding Activities

WE GAVE A LAWYER BASIC MATH SKILLS, AND YOU WON T BELIEVE WHAT HAPPENED NEXT

Multisensor Data Fusion: From Algorithms And Architectural Design To Applications (Devices, Circuits, And Systems)

Speech Emotion Recognition Using Support Vector Machine

Proposal of Pattern Recognition as a necessary and sufficient principle to Cognitive Science

Iterative Cross-Training: An Algorithm for Learning from Unlabeled Web Pages

Knowledge-Based - Systems

Calibration of Confidence Measures in Speech Recognition

AC : DESIGNING AN UNDERGRADUATE ROBOTICS ENGINEERING CURRICULUM: UNIFIED ROBOTICS I AND II

Lecture 10: Reinforcement Learning

Reinforcement Learning by Comparing Immediate Reward

Introduction to Ensemble Learning Featuring Successes in the Netflix Prize Competition

Assignment 1: Predicting Amazon Review Ratings

Longest Common Subsequence: A Method for Automatic Evaluation of Handwritten Essays

Model Ensemble for Click Prediction in Bing Search Ads

On-Line Data Analytics

SAM - Sensors, Actuators and Microcontrollers in Mobile Robots

A Case-Based Approach To Imitation Learning in Robotic Agents

arxiv: v1 [cs.lg] 15 Jun 2015

Computerized Adaptive Psychological Testing A Personalisation Perspective

Artificial Neural Networks written examination

AGS THE GREAT REVIEW GAME FOR PRE-ALGEBRA (CD) CORRELATED TO CALIFORNIA CONTENT STANDARDS

AQUA: An Ontology-Driven Question Answering System

Statistics and Data Analytics Minor

Intelligent Agents. Chapter 2. Chapter 2 1

Semi-supervised methods of text processing, and an application to medical concept extraction. Yacine Jernite Text-as-Data series September 17.

A New Perspective on Combining GMM and DNN Frameworks for Speaker Adaptation

Disciplinary Literacy in Science

Reducing Features to Improve Bug Prediction

Generative models and adversarial training

CLASSIFICATION OF TEXT DOCUMENTS USING INTEGER REPRESENTATION AND REGRESSION: AN INTEGRATED APPROACH

Undergraduate Program Guide. Bachelor of Science. Computer Science DEPARTMENT OF COMPUTER SCIENCE and ENGINEERING

CS 446: Machine Learning

Test Effort Estimation Using Neural Network

TD(λ) and Q-Learning Based Ludo Players

Mathematics. Mathematics

arxiv: v1 [cs.cl] 2 Apr 2017

Innovative Methods for Teaching Engineering Courses

Active Learning. Yingyu Liang Computer Sciences 760 Fall

Using dialogue context to improve parsing performance in dialogue systems

Using computational modeling in language acquisition research

A Comparison of Two Text Representations for Sentiment Analysis

Self Study Report Computer Science

Algebra 1, Quarter 3, Unit 3.1. Line of Best Fit. Overview

A student diagnosing and evaluation system for laboratory-based academic exercises

An OO Framework for building Intelligence and Learning properties in Software Agents

Time series prediction

SARDNET: A Self-Organizing Feature Map for Sequences

Maximizing Learning Through Course Alignment and Experience with Different Types of Knowledge

OCR for Arabic using SIFT Descriptors With Online Failure Prediction

Using Web Searches on Important Words to Create Background Sets for LSI Classification

Learning Optimal Dialogue Strategies: A Case Study of a Spoken Dialogue Agent for

CHAPTER 4: REIMBURSEMENT STRATEGIES 24

Ontologies vs. classification systems

Learning From the Past with Experiment Databases

Transcription:

15CS73, VTU CBCS Scheme By Dept of CSE Vivekananda College of Engineering Technology, Puttur What is Learning? Learning - improve automatically with experience Using past experiences to improve future performance. 2 1

How we learn? Rote Learning (memorization) Memorizing things without knowing the concept/ logic behind them Passive Learning (instructions) Learning from a teacher/expert. Analogy (experience) Learning new things from our past experience. Inductive Learning (experience) On the basis of past experienceformulating a generalized concept. Deductive Learning Deriving new facts from past facts. 3 Why Machine Learning? Traditional Programming Data Program Computer Machine Learning Data Output Computer Output Program 4 2

What is Machine Learning? General definition: Machine Learning is the field of study that gives computers the ability to learn without being explicitly programmed. Arthur Samuel, 1959 And a more engineering-oriented one: A computer program is said to learn from experience E with respect to some task T and some performance measure P, if its performance on T, as measured by P, improves with experience E. Tom Mitchell, 1997 5 What is Machine Learning Machine learning provides systems, the ability to automatically learn and improve from experience without being explicitly programmed. Machine learning focuseson the development of computer programs that can access data and use it learn for themselves. 6 3

What is Machine Learning The process of learning begins with observations or data, such as examples, direct experience, or instruction, in order to look for patternsin data and make better decisions in the future based on the examples that we provide. The primary aim is to allow the computers learn automatically without human intervention or assistance and adjust actions accordingly. 7 Ex1: Spam Filtering 8 4

Ex1: Spam Filtering 9 Ex1: Spam Filtering Spam filter can learn to flag spam given examples of spam emails (e.g., flagged by users) and examples of regular (nonspam, also called ham ) emails. The examples that the system uses to learn are called the training set. Each training example is called a training instance (or sample). In this case, the task T is to flag spam for new emails, the experience E is the training data, and the performance measure P needs to be defined; Ex: ratio of correctly classified emails. 10 5

Ex2: A checkers learning problem Task T -Playing checkers Performance Measure P - Percentage of games won against opponent Training Experience E -Playing practice games against itself 11 Ex3: A handwriting recognition learning problem 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 12 6

Ex4: A robot driving learning problem T: driving on public 4-lane highways using vision sensors P: average distance traveled before an error (as judged by human overseer) E: a sequence of images and steering commands recorded by observing a human driver 13 What is Machine Learning? Traditional Approach 14 7

What is Machine Learning? Machine Learning Approach Automatically adapting to change 15 ML can help to human to learn 16 8

Terminologies Data / Dataset Labeled data Training Training Samples Evaluating Samples Testing Test Samples 17 Dataset: California Home Prices 18 9

Dataset: IRIS 19 Dataset: MNIST Digits 20 10

Applications 21 Visual Object Categorization We are given categories forthese images: What are these? A classification problem: predict category y based on image x. Little chance to hand-craft a solution, without learning. Applications: robotics, HCI, web search (a real image Google...) 11

Applications Image Classification 23 Applications 24 12

Applications 25 Applications 26 13

Applications Photo tagging 27 Applications 28 14

Applications Segment customers and find the best marketing strategy for each group Recommend products for each client based on what similar clients bought Detect which transactions are likely to be fraudulent Predict next year s revenue Learning from medical records which treatmentsare most effective 29 Applications Self Customizing programs -houses learning to optimize energy costs based on particular usage patterns of their occupants Personal software assistants learning the evolving interests of their users in order to highlight relevant stories from online newspapers Autonomous driving Speech Recognition 30 15

Some successful ML applications Learning to recognize spoken words (Lee, 1989; Waibel, 1989). Learning to drive an autonomous vehicle (Pomerleau,1989). Learning to classify new astronomical structures (Fayyad et al., 1995). Learning to play world-class backgammon (Tesauro1992, 1995). 31 Areas/Disciplines influence ML Informati on Theory Statistics How best to use samples drawn from unknown probability distributions to help decide from which distribution some new sample is drawn? Non-linear elements with weighted inputs (ANN) have been suggested as simple models of biological neurons. Brain Models Bayesian methods Linear Algebra Adaptive Control Theory How to deal with controlling a process having unknown parameters that must be estimated during operation? 32 16

Areas/Disciplines influence ML Philosophy Psycholo gy How to model human performance on various learning tasks? How to write algorithms to acquire the knowledge humans are able to acquire, at least, as well as humans? Artificial Intelligen ce Algorithms and Complexity Calculus Evolutio nary Models How to model certain aspects of biological evolution to improve the performance of computer programs? 33 Stages in ML process Source:https://www.gartner.com/binaries/content/assets/events/keywords/catalyst/catus8/preparing_and_architecting_for_ machine_learning.pdf 34 17

Types of Machine Learning 1. Shallow Learning Algorithms with FewLayers Better for Less Complex and Smaller Datasets Ex: Logistic Regression and Support vectormachines 2. Deep Learning New technique that uses many layers of neural network (a model based on the structure of humanbrain) Useful when the target functionis very complex and data sets are very large. 35 Classification of ML algorithms 1. Supervised Learning (inductive) learning Training data includes desired outputs X and Y; Given an observation X what is the best label for Y Example: Classification, Regression problems 2. Unsupervised Learning Training data does not include desired outputs X; Given a set of X cluster or summarize them Example: Clustering 3. Semi Supervised Learning Training data includes a few desired outputs 4. Reinforcement Learning Determine what to do based on Rewards and punishments Example: Robot movement, Game AI 36 18

Supervised Learning - Classification Source: http://www.java-machine-learning.com/blog/supervised-learning/ 37 Unsupervised Learning-Clustering 38 19

Unsupervised Learning-Clustering http://www.java-machine-learning.com/blog/unsupervised-learning/ 39 ML Types of Learning Source: http://www.embedded-computing.com/embedded-computing-design/analytics-driven-embedded-systems-part-2-developing-analytics-and-prescriptive-controls 40 20

41 Why is ML is Important? Some tasks cannot be defined well, except by examples (e.g., recognizing people). Relationships and correlations can be hidden within large amounts of data. Machine Learning/Data Mining may be able to find these relationships. Human designers often produce machines that do not work as well as desired in the environments in which they are used. The amount of knowledge available about certain tasks might be too large for explicit encoding by humans (e.g., medical diagnostic). 42 21

Why is ML is Important? Environments change over time. New knowledge about tasks is constantly being discovered by humans. It may be difficult to continuously re-design systems by hand. 43 Skills required for ML Engineer 1. Mathematical Skills Probability, Statistics, Linear Algebra, Calculus 2. Programming Skills Coding, Algorithms, DS, OOPs Python, R, Matlab, Java 3. Data Engineering Skills Data Preprocessing, Analysis, Visualization 4. Knowledge of ML algorithms Shallow and Deep learning Supervised, Semi-Supervised, Unsupervised, Reinforcement 5. Knowledge of ML Frameworks SciKit Learn, Tensorflow, Caffe, Theano, Spark,. many more 44 22

In summary, ML is great for: Problems for which existing solutions require a lot of hand-tuning or long lists of rules: one Machine Learning algorithm can often simplify code and perform better. Complex problems for which there is no good solution at all using a traditional approach: the best Machine Learning techniques can find a solution. Fluctuating environments: a Machine Learning system can adapt to new data. Getting insights about complex problems and large amounts of data. 45 Some issues What algorithms can approximate functions well and when? How does number of training examples influence accuracy? How does complexity of hypothesis representation impact it? How does noisy data influence accuracy? What are the theoretical limits of learnability? How can prior knowledge of learner help? What clues can we get from biological learning systems? How can systems alter their own representations? 46 23

Where we are? 47 Text and Reference Books Tom M. Mitchell, Machine Learning, India Edition 2013, McGraw Hill. T Hastie, R Tibshirani, J Friedman The Elements of Statistical Learning, Springer EthemAlpaydın, Introduction to machine learning, 2 nd edition, MIT press. 48 24

Are you concerned about the increase in Machine Learning and Artificial Intelligence? No, but I m concerned about the decrease in real intelligence. 49 Thank you 50 25