Support Vector Machines!

Similar documents
J j W w. Write. Name. Max Takes the Train. Handwriting Letters Jj, Ww: Words with j, w 321

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

Detecting Wikipedia Vandalism using Machine Learning Notebook for PAN at CLEF 2011

Stacks Teacher notes. Activity description. Suitability. Time. AMP resources. Equipment. Key mathematical language. Key processes

Multi-Lingual Text Leveling

Lecture 1: Basic Concepts of Machine Learning

Introduction to Ensemble Learning Featuring Successes in the Netflix Prize Competition

Python Machine Learning

Genevieve L. Hartman, Ph.D.

Human Emotion Recognition From Speech

Linking Task: Identifying authors and book titles in verbose queries

Experience College- and Career-Ready Assessment User Guide

Lesson 12. Lesson 12. Suggested Lesson Structure. Round to Different Place Values (6 minutes) Fluency Practice (12 minutes)

Edexcel GCSE. Statistics 1389 Paper 1H. June Mark Scheme. Statistics Edexcel GCSE

Introduction to the Practice of Statistics

Hardhatting in a Geo-World

Algebra 2- Semester 2 Review

End-of-Module Assessment Task K 2

Word Segmentation of Off-line Handwritten Documents

Grade 2: Using a Number Line to Order and Compare Numbers Place Value Horizontal Content Strand

Switchboard Language Model Improvement with Conversational Data from Gigaword

A Case Study: News Classification Based on Term Frequency

Rule Learning With Negation: Issues Regarding Effectiveness

CHAPTER I INTRODUCTION. have no limitation at all in making communication with each other. Despite the

POWERTEACHER GRADEBOOK

Lecture 1: Machine Learning Basics

Full text of O L O W Science As Inquiry conference. Science as Inquiry

Twitter Sentiment Classification on Sanders Data using Hybrid Approach

Mike Cohn - background

CS 446: Machine Learning

STT 231 Test 1. Fill in the Letter of Your Choice to Each Question in the Scantron. Each question is worth 2 point.

AUTOMATED FABRIC DEFECT INSPECTION: A SURVEY OF CLASSIFIERS

OCR for Arabic using SIFT Descriptors With Online Failure Prediction

Paper Reference. Edexcel GCSE Mathematics (Linear) 1380 Paper 1 (Non-Calculator) Foundation Tier. Monday 6 June 2011 Afternoon Time: 1 hour 30 minutes

PowerTeacher Gradebook User Guide PowerSchool Student Information System

WHEN THERE IS A mismatch between the acoustic

Sight Word Assessment

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

Historical maintenance relevant information roadmap for a self-learning maintenance prediction procedural approach

Multivariate k-nearest Neighbor Regression for Time Series data -

Reducing Features to Improve Bug Prediction

Analysis of Emotion Recognition System through Speech Signal Using KNN & GMM Classifier

Rule Learning with Negation: Issues Regarding Effectiveness

The University of Amsterdam s Concept Detection System at ImageCLEF 2011

AP Statistics Summer Assignment 17-18

Notetaking Directions

TEACHING Simple Tools Set II

School Year 2017/18. DDS MySped Application SPECIAL EDUCATION. Training Guide

Ricopili: Postimputation Module. WCPG Education Day Stephan Ripke / Raymond Walters Toronto, October 2015

From understanding perspectives to informing public policy the potential and challenges for Q findings to inform survey design

A Comparison of Two Text Representations for Sentiment Analysis

Probability and Statistics Curriculum Pacing Guide

Lip reading: Japanese vowel recognition by tracking temporal changes of lip shape

Probabilistic Latent Semantic Analysis

Case study Norway case 1

Interpreting ACER Test Results

Answer Key For The California Mathematics Standards Grade 1

Speech Emotion Recognition Using Support Vector Machine

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

ReinForest: Multi-Domain Dialogue Management Using Hierarchical Policies and Knowledge Ontology

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

LEGO MINDSTORMS Education EV3 Coding Activities

16.1 Lesson: Putting it into practice - isikhnas

QuickStroke: An Incremental On-line Chinese Handwriting Recognition System

Increasing Student Engagement

TotalLMS. Getting Started with SumTotal: Learner Mode

Mission Statement Workshop 2010

Shockwheat. Statistics 1, Activity 1

Informal Comparative Inference: What is it? Hand Dominance and Throwing Accuracy

AQUA: An Ontology-Driven Question Answering System

Dublin City Schools Mathematics Graded Course of Study GRADE 4

CAN PICTORIAL REPRESENTATIONS SUPPORT PROPORTIONAL REASONING? THE CASE OF A MIXING PAINT PROBLEM

Emporia State University Degree Works Training User Guide Advisor

ELA/ELD Standards Correlation Matrix for ELD Materials Grade 1 Reading

Kindergarten Lessons for Unit 7: On The Move Me on the Map By Joan Sweeney

Helping at Home ~ Supporting your child s learning!

Activities for School

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

Automatic Speaker Recognition: Modelling, Feature Extraction and Effects of Clinical Environment

Background Information. Instructions. Problem Statement. HOMEWORK INSTRUCTIONS Homework #3 Higher Education Salary Problem

Laboratorio di Intelligenza Artificiale e Robotica

November 2012 MUET (800)

READ 180 Next Generation Software Manual

University of Groningen. Systemen, planning, netwerken Bosman, Aart

Ensemble Technique Utilization for Indonesian Dependency Parser

Exposé for a Master s Thesis

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

Using GIFT to Support an Empirical Study on the Impact of the Self-Reference Effect on Learning

Bootstrapping Personal Gesture Shortcuts with the Wisdom of the Crowd and Handwriting Recognition

Appendix L: Online Testing Highlights and Script

Unit 1: Scientific Investigation-Asking Questions

West s Paralegal Today The Legal Team at Work Third Edition

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

(I couldn t find a Smartie Book) NEW Grade 5/6 Mathematics: (Number, Statistics and Probability) Title Smartie Mathematics

What's My Value? Using "Manipulatives" and Writing to Explain Place Value. by Amanda Donovan, 2016 CTI Fellow David Cox Road Elementary School

Ceramics 1 Course Summary Department: Visual Arts. Semester 1

The One Minute Preceptor: 5 Microskills for One-On-One Teaching

MODULE FRAMEWORK AND ASSESSMENT SHEET

STUDENT MOODLE ORIENTATION

Blinky Bill. Handwriting and. Alphabet Copy Book. Sample file. From Homeschooling Downunder. Manuscript Print Ball and Stick Font

Transcription:

Support Vector Machines!

The Sorting Hat is sick today We need to help it sort the students!

But all we know is: Intelligence Bravery House (Gryffindor or Ravenclaw) 5.5 10.5? 8 16? 12.5 4.5? 4 12? 10.5 6? 15 7? 10.5 13? 10 3?

Let s look at what the Sorting Hat did before...

Instructions for how to plot data You have a list of people, each with an intelligence and bravery value, and house. For each person, write their intelligence and bravery value on a sticky note (use a pink sticky if they re from Gryffindor and a blue sticky if they re from Ravenclaw) Plot each sticky note on your paper

Previous students

Add new students to your plot (yellow stickies) Intelligence Bravery House (Gryffindor or Ravenclaw) 5.5 10.5? 8 16? 12.5 4.5? 4 12? 10.5 6? 15 7? 10.5 13? 10 3?

New students this year

Here are their houses Replace the yellow stickies with the correct color sticky. Now, use a yardstick to autosort new students! Students on one side will be sorted into Gryffindor. Students on the other side will be sorted into Ravenclaw.

Don t move your yardstick!

What does your yardstick tell you about these students? Intelligence: 16 Bravery: 15 Intelligence: 1 Bravery: 5.5

What does your yardstick tell you about these students?

What does your yardstick tell you about these students?

What does your yardstick tell you about these students?

This year s new students! Harry Potter Parvati Patil Ron Weasley Hermione Granger Dean Thomas Neville Longbottom Luna Lovegood Padma Patil Terry Boot Michael Corner

So what makes a good line?

So what makes a good line? Bad!

So what makes a good line? Bad!

So what makes a good line? Good? Why?

Maximum-margins!

Next year!

Welcome to another year at Hogwarts! After being sick last year, the sorting hat is starting to think that it might be time to retire... We are the new Sorting Hat in-training! We choose the house, then the Sorting hat will tell us if we got it right

Set up your yardstick, then don t move it...

Intelligence Bravery House (Gryffindor or Ravenclaw) Time to sort some students! (yellow stickies) 6 8? 8 4? 3 11? 12 14? 7 4? 6 2? 12.5 9? 11 9? 9 1? 12 1?

Which houses do you think these students should be sorted into?

Here are the answers. How did you do?

So what makes a good line? (What should we do for next year?)

Last year of Sorting-Hat-apprenticeship

Set up your yardstick, then don t move it...

Intelligence Bravery House (Gryffindor or Ravenclaw) Time to sort some students! (yellow stickies) 6 5? 4 2.5? 10 10? 15 12? 14 9? 16 3? 14 12? 2 9? 5 1? 5 13?

Which houses do you think these students should be sorted into?

Here are the answers! How did you do?

So what makes a good line? (Which line was better?)

What if we had one more attribute (feature) of people that we were measuring? (How would we incorporate this data into our auto-sorter?) Intelligence Bravery Quidditch ability House 4 12 12 Gryffindor (Ron Weasley) 16 15 4 Gryffindor (Hermione Granger) 8 16 18 Gryffindor (Harry Potter)

What if we had two more attributes (features) of people that we were measuring? (How would we incorporate this data into our auto-sorter?) Intelligence Bravery Quidditch ability Kindness House 4 12 12 10 Gryffindor (Ron Weasley) 16 15 4 16 Gryffindor (Hermione Granger) 8 16 18 10 Gryffindor (Harry Potter)

Now that we have the power to learn patterns from data and apply that knowledge...

Let s sort beings into human versus non-human! You have a list of beings, their height, and whether they are human or nonhuman Put a piece of masking tape on your string for each being, and mark whether it is human or non-human Can you get 100% classification accuracy using your yardstick?

We can do this from 2D to 3D too! (...or 3D to 4D!...or 4D to 9D! )

Machine learning! Model patterns in data (using math!) Use models to infer information from new data

Support Vector Machines! (The math!) Support Vector Machine BIG = + margin Small errors = Balance between reducing errors versus making a bigger margin

Support Vector Machines! (The math!) Big C: Errors are REALLY BAD! Small C: Errors are ok, as long as we make the margin BIG

Support Vector Machines are powerful! Handwriting recognition! (Automated mail sorting) Image classification! (Cat or not?) Text document classification! (Automated spam filtering)

Machine learning is powerful!

Thanks for helping with sorting!

The sorting hat - Welcome to Hogwarts! - Every year the sorting hat sorts students into houses (e.g. Gryffindor and Ravenclaw). - But the sorting hat is sick today :(. - Your job is to help the sorting hat sort students. - How can we do this? - Lets look at how previous students were sorted.

How can we sort new students? - How can we use the data we plotted to sort this year s students? - We will now try and sort a few students!

How can we sort new students? Intelligence Bravery House XX XX?

How can we sort new students? Sorting-hat solution: Intelligence Bravery House XX XX Gryffindor (Harry Potter)

How can we sort new students? Sorting-hat solutions: Intelligence Bravery House XX XX Gryffindor (Ron Weasley) XX XX Ravenclaw (Luna Lovegood) XX XX Ravenclaw (Terry Boot) XX XX Ravenclaw (Padma Patil) XX XX Gryffindor (Parvati Patil) XX XX Gryffindor (Dean Thomas) XX XX Ravenclaw (Michael Corner)

Maximum margins! Here are two more students: Intelligence Bravery House XX XX? XX XX? - Does your classifier correctly sort these students? - How can we describe a best line using only the original students?

Maximum margins! Sorting-hat solutions: Intelligence Bravery House XX XX Gryffindor (Hermione Granger) XX XX Gryffindor (Neville Longbottom)

Sorting hat answers show some outliers (but still barely linearly separable) (i.e. Hermione and Neville) Make a new line We can choose to either try really hard to do what the sorting hat, or do a better job of following the sorting hat s overall pattern

Last round of 2-D classification

Humans versus non-humans

Some description of how non-linear SVM works?

How can we sort new students? Intelligence Bravery House XX XX? XX XX? XX XX? XX XX? XX XX? XX XX? XX XX?