CAP-359 PRINCIPLES AND APPLICATIONS OF DATA MINING. Rafael Santos

Similar documents
CSE4334/5334 Data Mining 4 Data and Data Preprocessing. Chengkai Li University of Texas at Arlington Fall 2017

Data Mining: Data. What is Data? Lecture Notes for Chapter 2. Introduction to Data Mining. Properties of Attribute Values. Types of Attributes

Data Mining: Data. Lecture Notes for Chapter 2. Introduction to Data Mining

Data Mining Concepts & Techniques

Data Preprocessing UE 141 Spring 2013

Chapter 3: Data Mining:

CS570 Introduction to Data Mining

Knowledge Discovery and Data Mining

Data Mining Course Overview

9 Classification: KNN and SVM

CSE4334/5334 DATA MINING

Knowledge Discovery and Data Mining

DATA MINING INTRO LECTURE. Introduction

DATA MINING INTRO LECTURE. Introduction

ECLT 5810 Data Preprocessing. Prof. Wai Lam

CS378 Introduction to Data Mining. Data Exploration and Data Preprocessing. Li Xiong

COMP90049 Knowledge Technologies

BBS654 Data Mining. Pinar Duygulu. Slides are adapted from Nazli Ikizler, Sanjay Ranka

Data Mining Concepts & Techniques

DATA MINING LECTURE 1. Introduction

Chapter 7: Frequent Itemsets and Association Rules

Classification. Instructor: Wei Ding

ARTIFICIAL INTELLIGENCE (CS 370D)

An Introduction to Data Mining BY:GAGAN DEEP KAUSHAL

Example of DT Apply Model Example Learn Model Hunt s Alg. Measures of Node Impurity DT Examples and Characteristics. Classification.

PESIT- Bangalore South Campus Hosur Road (1km Before Electronic city) Bangalore

Data Mining Concept. References. Why Mine Data? Commercial Viewpoint. Why Mine Data? Scientific Viewpoint

Data mining, 4 cu Lecture 6:

Statistics 202: Statistical Aspects of Data Mining

D B M G Data Base and Data Mining Group of Politecnico di Torino

COMP 6838 Data MIning

CS Machine Learning

Classification: Basic Concepts, Decision Trees, and Model Evaluation

DATA ANALYSIS I. Types of Attributes Sparse, Incomplete, Inaccurate Data

Part I. Instructor: Wei Ding

Data mining fundamentals

Jarek Szlichta

Lab 2: Introduction to mydaq and LabView

Classification and Regression

KDD E A MINERAÇÃO DE DADOS. Daniela Barreiro Claro

Homework # 4. Example: Age in years. Answer: Discrete, quantitative, ratio. a) Year that an event happened, e.g., 1917, 1950, 2000.

Machine Learning. Decision Trees. Le Song /15-781, Spring Lecture 6, September 6, 2012 Based on slides from Eric Xing, CMU

Data can be in the form of numbers, words, measurements, observations or even just descriptions of things.

Data Mining. Lab 1: Data sets: characteristics, formats, repositories Introduction to Weka. I. Data sets. I.1. Data sets characteristics and formats

2. (a) Briefly discuss the forms of Data preprocessing with neat diagram. (b) Explain about concept hierarchy generation for categorical data.

data analysis - basic steps Arend Hintze

Introduction to Data Mining CS 584 Data Mining (Fall 2016)

Understanding Geospatial Data Models

Week 2 Engineering Data

Frequent Pattern Mining. Based on: Introduction to Data Mining by Tan, Steinbach, Kumar

Market baskets Frequent itemsets FP growth. Data mining. Frequent itemset Association&decision rule mining. University of Szeged.

Data Exploration and Preparation Data Mining and Text Mining (UIC Politecnico di Milano)

CISC 4631 Data Mining Lecture 01:

Preprocessing Short Lecture Notes cse352. Professor Anita Wasilewska

DATA WAREHOUING UNIT I

Data Mining. 1.3 Input. Fall Instructor: Dr. Masoud Yaghini. Chapter 3: Input

Measurement. Joseph Spring. Based on Software Metrics by Fenton and Pfleeger

SOCIAL MEDIA MINING. Data Mining Essentials

3. Data Preprocessing. 3.1 Introduction

2. Data Preprocessing

UNIT 2 Data Preprocessing

Data Mining. Part 1. Introduction. 1.3 Input. Fall Instructor: Dr. Masoud Yaghini. Input

DATA MINING LECTURE 1. Introduction

Data Mining. Part 1. Introduction. 1.4 Input. Spring Instructor: Dr. Masoud Yaghini. Input

Data Mining. Practical Machine Learning Tools and Techniques. Slides for Chapter 3 of Data Mining by I. H. Witten, E. Frank and M. A.

Basic Concepts Weka Workbench and its terminology

DATA MINING II - 1DL460

DATA MINING LECTURE 1. Introduction

Jarek Szlichta

Extra readings beyond the lecture slides are important:

DATA MINING LECTURE 10B. Classification k-nearest neighbor classifier Naïve Bayes Logistic Regression Support Vector Machines

Table Of Contents: xix Foreword to Second Edition

Interestingness Measurements

DATA MINING LECTURE 1. Introduction

ANU MLSS 2010: Data Mining. Part 2: Association rule mining

DATA PREPROCESSING. Tzompanaki Katerina

Data Preprocessing Yudho Giri Sucahyo y, Ph.D , CISA

ELAC 2018 INTRODUCTION TO DATA SCIENCE. Day 2 Rafael Santos

ECS 189G: Intro to Computer Vision, Spring 2015 Problem Set 3

3 Data, Data Mining. Chengkai Li

Chuck Cartledge, PhD. 23 September 2017

Data Preprocessing. Slides by: Shree Jaswal

Includes Review of Syllabus OVERVIEW OF THE CLASS

Winter Semester 2009/10 Free University of Bozen, Bolzano

Data Mining & Machine Learning

DATA MINING II - 1DL460

Data Mining: Introduction. Lecture Notes for Chapter 1. Introduction to Data Mining

Data warehouse and Data Mining

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe

Data Mining Classification - Part 1 -

Statistical Package for the Social Sciences INTRODUCTION TO SPSS SPSS for Windows Version 16.0: Its first version in 1968 In 1975.

Data Mining: Exploring Data. Lecture Notes for Chapter 3. Introduction to Data Mining

Data Preprocessing. Why Data Preprocessing? MIT-652 Data Mining Applications. Chapter 3: Data Preprocessing. Multi-Dimensional Measure of Data Quality

Data Mining. Yi-Cheng Chen ( 陳以錚 ) Dept. of Computer Science & Information Engineering, Tamkang University

Data Mining: Exploring Data. Lecture Notes for Data Exploration Chapter. Introduction to Data Mining

Contents. Foreword to Second Edition. Acknowledgments About the Authors

Data Mining Clustering

Machine Learning Chapter 2. Input

Introduction to Clustering and Classification. Psych 993 Methods for Clustering and Classification Lecture 1

Research Data Analysis using SPSS. By Dr.Anura Karunarathne Senior Lecturer, Department of Accountancy University of Kelaniya

Transcription:

CAP-359 PRINCIPLES AND APPLICATIONS OF DATA MINING Rafael Santos rafael.santos@inpe.br www.lac.inpe.br/~rafael.santos/

Overview So far What is Data Mining? Applications, Examples. Let s think about your project: Your Data What is data? Raw and Tidy data. Data Preprocessing. Examples. 2

Principles and Applications of Data Mining What is data? Some slides adapted from Introduction to Data Mining; Pang-Ning Tan, Michael Steinbach and Vipin Kumar (2005).

10 What is Data? Collection of data objects and their attributes Attributes An attribute is a property or characteristic of an object Examples: eye color of a person, temperature, etc. Attributes are also known as variable, field, characteristic, or feature A collection of attributes describe an object Objects Tid Refund Marital Status Taxable Income 1 Yes Single 125K No 2 No Married 100K No 3 No Single 70K No 4 Yes Married 120K No Cheat 5 No Divorced 95K Yes 6 No Married 60K No 7 Yes Divorced 220K No Object is also known as record, point, row, observation, case, sample, entity, or instance 8 No Single 85K Yes 9 No Married 75K No 10 No Single 90K Yes 4

Data Matrix If data objects have the same fixed set of numeric attributes, then the data objects can be thought of as points in a multi-dimensional space, where each dimension represents a distinct attribute Such data set can be represented by an m by n matrix, where there are m rows, one for each object, and n columns, one for each attribute Projection of x Load Projection of y load Distance Load Thickness 10.23 5.27 15.22 2.7 1.2 12.65 6.25 16.22 2.2 1.1 5

Feature Space N-dimensional space where our data can be represented. Each record (instance, etc.) is a point in the feature space. All records share the same attributes. Important concepts: Distance. Separability. 6

Feature Space Dimensions (attributes) may not be numeric. Limitations for visualization in higher dimensions. The math is the same! 7

Types of Attributes Nominal Examples: ID numbers, eye color, zip codes Ordinal Examples: rankings (e.g., taste of potato chips on a scale from 1-10), grades, height in {tall, medium, short} Interval Examples: calendar dates, temperatures in Celsius or Fahrenheit. Ratio Examples: temperature in Kelvin, length, time, counts 8

Properties of Attribute Values The type of an attribute depends on which of the following properties it possesses: Distinctness: = Order: < > Addition: + - Multiplication: * / Nominal attribute: distinctness Ordinal attribute: distinctness & order Interval attribute: distinctness, order & addition Ratio attribute: all 4 properties 9

Attribute Type Transformation Comments Nominal Any permutation of values If all employee ID numbers were reassigned, would it make any difference? Ordinal Interval An order preserving change of values, i.e., new_value = f(old_value) where f is a monotonic function. new_value =a * old_value + b where a and b are constants An attribute encompassing the notion of good, better best can be represented equally well by the values {1, 2, 3} or by { 0.5, 1, 10}. Thus, the Fahrenheit and Celsius temperature scales differ in terms of where their zero value is and the size of a unit (degree). Ratio new_value = a * old_value Length can be measured in meters or feet.

Discrete and Continuous Attributes Discrete Attribute Has only a finite or countable infinite set of values Examples: zip codes, counts, or the set of words in a collection of documents Often represented as integer variables. Note: binary attributes are a special case of discrete attributes Continuous Attribute Has real numbers as attribute values Examples: temperature, height, or weight. Practically, real values can only be measured and represented using a finite number of digits. Continuous attributes are typically represented as floating-point variables. 11

Why does it matter? Important because we may need to preprocess it. Preprocessing may be the most important step in Data Mining: From what data do I have to what data can I mine. Determine which data mining operation can be applied. 12

Principles and Applications of Data Mining A very incomplete set of examples

Data from the Real World: Raw Data Databases, spreadsheets Images, videos, audio Time series... Logs, text, JSON files, XML files Based on Coursera s Getting and Cleaning Data course. 14

10 Record/Table Data Data that consists of a collection of records, each of which consists of a fixed set of attributes. Is it tidy? Tid Refund Marital Status Taxable Income Cheat 1 Yes Single 125K No 2 No Married 100K No 3 No Single 70K No 4 Yes Married 120K No 5 No Divorced 95K Yes 6 No Married 60K No 7 Yes Divorced 220K No 8 No Single 85K Yes 9 No Married 75K No 10 No Single 90K Yes 15

Record/Table: Tidy Data One table with all the data (or linked tables). Each variable in its column. Each observation in its row. Variable names in the first row, with good, clear names. Tidiness is not an absolute feature! Depends on what we have and what we want to do. Based on Coursera s Getting and Cleaning Data course. 16

Record/Table: Tidy Data If our data is in a table and it is tidy we can easily* apply several data mining algorithms on it**: Clustering. Classification. Regression. Association. Visualization. * Maybe. It depends on many factors. ** Depending also on the type of the a9ributes! 17

Document Data Documents can be converted to term vectors. Each term is a component (attribute) of the vector, The value of each component is the number of times the corresponding term occurs in the document. Post-processing, e.g. TF-IDF. 18

Document Data Text mining applied to SQL queries: a case study for SDSS SkyServer. Makiyama, V. H. 19

Term vectors are tables! Document Data Each document is an instance, each term an attribute. Often automatically tidy. Not limited to only terms and counts/frequencies. Additional attributes can represent: Time, location. Context. IDs / Classes. Hierarchies. 20

Transaction Data Variation of record data: Metadata plus set of items. Classic example: market basket analysis. TID Items 1 Bread, Coke, Milk 2 Beer, Bread 3 Beer, Coke, Diaper, Milk 4 Beer, Bread, Diaper, Milk 5 Coke, Diaper, Milk 21

Transaction Data Real cases are way more complex Preprocessing / item mapping and annotations may be required. Temporal indication may be very relevant. 22

Time Series Data Can be considered as a table, with an explicit temporal attribute. Other attributes: what was measured at that time. Consider richness of data: how many attributes associated to the time? 23

Time Series Data Often used for prediction and association. Different approaches for different problems: Windowing (each object is a slice of the time series). Change in representation (ex. Fourier descriptors, Wavelets). 24

Time Series (Coverage) Data Metadata. 25

Image Data There is no pixel data mining : we need to extract features from the images. Many different approaches: Local descriptors, texture, Hough, snakes, etc. Signal processing (quantization, wavelets, Fourier, etc). Bag-of-words (then problem is similar to text mining!) 26

Image Data Keypoints from images: SIFT: Scale-invariant Feature Transform SURF: Speeded-up Robust Features Automa>c Remotesensing Image Registra>on Using SURF. Bouchiha, R. & Besbes, K.. 27

Image Data Segmentation / OBIA Influência dos atributos espectrais, texturais e fator de iluminação na classificação baseada em objetos de áreas cafeeiras, Marujo, R. F. B. 28

Graph Data Data represented as Graphs (Networks) Objects and their relations. Not covered on this course (yet!) 29

Issues with Data Data may not be easily accessible E.g. Lattes CV Database Data may be unstructured or disorganized E.g. IMDB database dump Data structure may be complex E.g. software repositories Real nature may be much more complex E.g. tertiary and quaternary structures in molecules 30

Principles and Applications of Data Mining References

Recommended Sites Data sets: https://archive.ics.uci.edu/ml/datasets.html Challenges/rewards: https://www.kaggle.com/ DM information: http://www.kdnuggets.com/ Coursera: https://www.coursera.org/ Many more links and references at www.lac.inpe.br/~rafael.santos/cap359.html 32