WEKA Explorer. Second part

Similar documents
Mining Association Rules in Student s Assessment Data

Comparison of EM and Two-Step Cluster Method for Mixed Data: An Application

CS Machine Learning

Mining Student Evolution Using Associative Classification and Clustering

Rule Learning With Negation: Issues Regarding Effectiveness

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

Learning From the Past with Experiment Databases

Probability and Statistics Curriculum Pacing Guide

Analyzing sentiments in tweets for Tesla Model 3 using SAS Enterprise Miner and SAS Sentiment Analysis Studio

Rule Learning with Negation: Issues Regarding Effectiveness

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

Rule discovery in Web-based educational systems using Grammar-Based Genetic Programming

Functional Maths Skills Check E3/L x

Twitter Sentiment Classification on Sanders Data using Hybrid Approach

Issues in the Mining of Heart Failure Datasets

Lecture 1: Basic Concepts of Machine Learning

OCR for Arabic using SIFT Descriptors With Online Failure Prediction

Product Feature-based Ratings foropinionsummarization of E-Commerce Feedback Comments

COMPARISON OF TWO SEGMENTATION METHODS FOR LIBRARY RECOMMENDER SYSTEMS. by Wing-Kee Ho

*Net Perceptions, Inc West 78th Street Suite 300 Minneapolis, MN

Python Machine Learning

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

On-Line Data Analytics

Math-U-See Correlation with the Common Core State Standards for Mathematical Content for Third Grade

CS 446: Machine Learning

A Case Study: News Classification Based on Term Frequency

Numeracy Medium term plan: Summer Term Level 2C/2B Year 2 Level 2A/3C

Netpix: A Method of Feature Selection Leading. to Accurate Sentiment-Based Classification Models

Active Learning. Yingyu Liang Computer Sciences 760 Fall

ScienceDirect. A Framework for Clustering Cardiac Patient s Records Using Unsupervised Learning Techniques

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

The Method of Immersion the Problem of Comparing Technical Objects in an Expert Shell in the Class of Artificial Intelligence Algorithms

STA 225: Introductory Statistics (CT)

Human Emotion Recognition From Speech

Conference Presentation

The taming of the data:

Word Segmentation of Off-line Handwritten Documents

Guru: A Computer Tutor that Models Expert Human Tutors

Montana Content Standards for Mathematics Grade 3. Montana Content Standards for Mathematical Practices and Mathematics Content Adopted November 2011

Applications of data mining algorithms to analysis of medical data

Predicting Future User Actions by Observing Unmodified Applications

Experiments with SMS Translation and Stochastic Gradient Descent in Spanish Text Author Profiling

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

CS 1103 Computer Science I Honors. Fall Instructor Muller. Syllabus

Laboratorio di Intelligenza Artificiale e Robotica

Build on students informal understanding of sharing and proportionality to develop initial fraction concepts.

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

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

Knowledge Elicitation Tool Classification. Janet E. Burge. Artificial Intelligence Research Group. Worcester Polytechnic Institute

Impact of Cluster Validity Measures on Performance of Hybrid Models Based on K-means and Decision Trees

16.1 Lesson: Putting it into practice - isikhnas

Australian Journal of Basic and Applied Sciences

INTERMEDIATE ALGEBRA PRODUCT GUIDE

Lecture 1: Machine Learning Basics

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

What is this place? Inferring place categories through user patterns identification in geo-tagged tweets

Laboratorio di Intelligenza Artificiale e Robotica

Content-based Image Retrieval Using Image Regions as Query Examples

What is this species called? Generation Bar Graph

THE ROLE OF DECISION TREES IN NATURAL LANGUAGE PROCESSING

UMass at TDT Similarity functions 1. BASIC SYSTEM Detection algorithms. set globally and apply to all clusters.

Large-Scale Web Page Classification. Sathi T Marath. Submitted in partial fulfilment of the requirements. for the degree of Doctor of Philosophy

Shockwheat. Statistics 1, Activity 1

Beyond the Pipeline: Discrete Optimization in NLP

Grade 6: Correlated to AGS Basic Math Skills

Class-Discriminative Weighted Distortion Measure for VQ-Based Speaker Identification

Introduction to Ensemble Learning Featuring Successes in the Netflix Prize Competition

EDCI 699 Statistics: Content, Process, Application COURSE SYLLABUS: SPRING 2016

Test How To. Creating a New Test

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

Mathematics Success Grade 7

Assignment 1: Predicting Amazon Review Ratings

Evaluation of Usage Patterns for Web-based Educational Systems using Web Mining

Evaluation of Usage Patterns for Web-based Educational Systems using Web Mining

A Survey on Unsupervised Machine Learning Algorithms for Automation, Classification and Maintenance

Unit 3: Lesson 1 Decimals as Equal Divisions

Matching Similarity for Keyword-Based Clustering

Memory-based grammatical error correction

A Domain Ontology Development Environment Using a MRD and Text Corpus

Ansys Tutorial Random Vibration

On Human Computer Interaction, HCI. Dr. Saif al Zahir Electrical and Computer Engineering Department UBC

For Jury Evaluation. The Road to Enlightenment: Generating Insight and Predicting Consumer Actions in Digital Markets

Fragment Analysis and Test Case Generation using F- Measure for Adaptive Random Testing and Partitioned Block based Adaptive Random Testing

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

Level 1 Mathematics and Statistics, 2015

Wellness Committee Action Plan. Developed in compliance with the Child Nutrition and Women, Infant and Child (WIC) Reauthorization Act of 2004

Automatic document classification of biological literature

This document has been produced by:

Speech Emotion Recognition Using Support Vector Machine

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

Predicting Student Attrition in MOOCs using Sentiment Analysis and Neural Networks

Term Weighting based on Document Revision History

(Sub)Gradient Descent

TOPICS LEARNING OUTCOMES ACTIVITES ASSESSMENT Numbers and the number system

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

Content Language Objectives (CLOs) August 2012, H. Butts & G. De Anda

A Decision Tree Analysis of the Transfer Student Emma Gunu, MS Research Analyst Robert M Roe, PhD Executive Director of Institutional Research and

OPTIMIZATINON OF TRAINING SETS FOR HEBBIAN-LEARNING- BASED CLASSIFIERS

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

EVOLVING POLICIES TO SOLVE THE RUBIK S CUBE: EXPERIMENTS WITH IDEAL AND APPROXIMATE PERFORMANCE FUNCTIONS

Transcription:

WEKA Explorer Second part

ML algorithms in weka belong to 3 categories

Will see examples in each category (as we learn new algorithms) 1. Classifiers (given a set of categories, learn to assign each instance to a category. These are TRAINED methods): Decision Trees, decision tables, conjunctive rules.. 2. Clustering (given a set of instances, group these instances in clusters according to some similarity function. These are UNTRAINED methods): Hierarchical clustering, DensityBased, etc) 3. Association rules (given a set of instances, find frequent patterns, e.g. rules that show dependencies among the data. These are UNTRAINED methods): Apriori, Filtered Associator,.. 4. Additional algorithms can be used, within the Experimenter (will see later)

12/02/16 University of Waikato 4

12/02/16 University of Waikato 5

12/02/16 University of Waikato 6

12/02/16 University of Waikato 7

12/02/16 University of Waikato 8

12/02/16 University of Waikato 9

12/02/16 University of Waikato 10

12/02/16 University of Waikato 11

12/02/16 University of Waikato 12

12/02/16 University of Waikato 13

12/02/16 University of Waikato 14

12/02/16 University of Waikato 15

12/02/16 University of Waikato 16

12/02/16 University of Waikato 17

12/02/16 University of Waikato 18

12/02/16 University of Waikato 19

12/02/16 University of Waikato 20

12/02/16 University of Waikato 21

12/02/16 University of Waikato 22

12/02/16 University of Waikato 23

12/02/16 University of Waikato 24

12/02/16 University of Waikato 25

Explorer: clustering data WEKA contains clusterers for finding groups of similar instances in a dataset Implemented schemes are: k-means, EM, Cobweb, X-means, FarthestFirst Clusters can be visualized and compared to true clusters (if given) Evaluation based on loglikelihood if clustering scheme produces a probability distribution 12/02/16 26

The K- Means Clustering Method Given k, the k-means algorithm is implemented in four steps: Partition objects into k nonempty subsets Compute seed points as the centroids of the clusters of the current partition (the centroid is the center, i.e., mean point, of the cluster) Assign each object to the cluster with the nearest seed point Go back to Step 2, stop when no more new assignment febbraio 12, 2016 27

right click: visualize cluster assignement

Explorer: finding associations WEKA contains an implementation of the Apriori algorithm for learning association rules Works only with discrete data Can identify statistical dependencies between groups of attributes: milk, butter bread, eggs (with confidence 0.9 and support 2000) Apriori can compute all rules that have a given minimum support and exceed a given confidence 12/02/16 30

Basic Concepts: Frequent Patterns Tid Items bought 10 Beer, Nuts, Diaper 20 Beer, Coffee, Diaper 30 Beer, Diaper, Eggs 40 Nuts, Eggs, Milk 50 Nuts, Coffee, Diaper, Eggs, Milk Customer buys both Customer buys diaper itemset: A set of one or more items k-itemset X = {x 1,, x k } (absolute) support, or, support count of X: Frequency or occurrence of an itemset X (relative) support, s, is the fraction of transactions that contains X (i.e., the probability that a transaction contains X) An itemset X is frequent if X s support is no less than a minsup threshold Customer buys beer febbraio 12, 2016 31

Basic Concepts: Association Rules Tid 10 20 30 40 50 Customer buys beer Items bought Beer, Nuts, Diaper Beer, Coffee, Diaper Beer, Diaper, Eggs Nuts, Eggs, Milk Nuts, Coffee, Diaper, Eggs, Milk Customer buys both Customer buys diaper Find all the rules X à Y with minimum support and confidence support, s, probability that a transaction contains X Y confidence, c, conditional probability that a transaction having X also contains Y Let minsup = 50%, minconf = 50% Freq. Pat.: Beer:3, Nuts:3, Diaper:4, Eggs:3, {Beer, n Diaper}:3 Association rules: (many more!) n Beer à Diaper (60%, 100%) n Diaper à Beer (60%, 75%) febbraio 12, 2016 32

12/02/16 University of Waikato 34

12/02/16 University of Waikato 35

12/02/16 University of Waikato 36

12/02/16 University of Waikato 37

12/02/16 University of Waikato 38

AddiJonal features of Explorer: AMribute SelecJon and VisualizaJon

Explorer: attribute selection Panel that can be used to investigate which (subsets of) attributes are the most predictive ones Attribute selection methods contain two parts: A search method: best-first, forward selection, random, exhaustive, genetic algorithm, ranking An evaluation method: correlation-based, wrapper, information gain, chi-squared, Very flexible: WEKA allows (almost) arbitrary combinations of these two Will see in more detail in dedicated labs 12/02/16 40

12/02/16 University of Waikato 41

12/02/16 University of Waikato 42

12/02/16 University of Waikato 43

12/02/16 University of Waikato 44

12/02/16 University of Waikato 45

12/02/16 University of Waikato 46

12/02/16 University of Waikato 47

12/02/16 University of Waikato 48

Explorer: data visualization Visualization very useful in practice: e.g. helps to determine difficulty of the learning problem WEKA can visualize single attributes (1-d) and pairs of attributes (2-d) Color-coded class values Jitter option to deal with nominal attributes (and to detect hidden data points). (Jittering occurs when you have too many instances placed on the same point, see http:// blogs.sas.com/content/iml/2011/07/05/jittering-toprevent-overplotting-in-statistical-graphics.html) Zoom-in function 12/02/16 49

12/02/16 University of Waikato 51

12/02/16 University of Waikato 52

12/02/16 University of Waikato 53

12/02/16 University of Waikato 54

click on a cell 12/02/16 University of Waikato 55

12/02/16 University of Waikato 56

12/02/16 University of Waikato 57

12/02/16 University of Waikato 58

12/02/16 University of Waikato 59

12/02/16 University of Waikato 60

References and Resources References: WEKA website: http://www.cs.waikato.ac.nz/~ml/weka/index.html WEKA Tutorial: Machine Learning with WEKA: A presentation demonstrating all graphical user interfaces (GUI) in Weka. A presentation which explains how to use Weka for exploratory data mining. WEKA Data Mining Book: Ian H. Witten and Eibe Frank, Data Mining: Practical Machine Learning Tools and Techniques (Second Edition) WEKA Wiki: http://weka.sourceforge.net/wiki/index.php/ Main_Page Others: Jiawei Han and Micheline Kamber, Data Mining: Concepts and Techniques, 2nd ed.