DATA MINING INTRO LECTURE. Introduction

Similar documents
CAS CS 565, Data Mining

Introduction to Data Mining

Foundations of Artificial Intelligence. Introduction to Data Mining

CSE4334/5334 Data Mining Lecturer 2: Introduction to Data Mining. Chengkai Li University of Texas at Arlington Spring 2016

Introduction to Data Mining. Lijun Zhang

Information Management course

CAP4773/CIS6930 Projects in Data Science, Fall 2014 [Review] Overview of Data Science

Data Mining: Introduction. Lecture Notes for Chapter 1. Slides by Tan, Steinbach, Kumar adapted by Michael Hahsler

Danny Wang, Ph.D. Vice President of Business Strategy and Risk Management Republic Bank

B490 Mining the Big Data. 0 Introduction

Extreme Computing. Big Data. Stratis Viglas. School of Informatics University of Edinburgh Stratis Viglas Extreme Computing 1

Knowledge Discovery and Data Mining. Structured vs. Non-Structured Data

Sunnie Chung. Cleveland State University

The Data Mining Process

Big Data & Analytics: Your concise guide (note the irony) Wednesday 27th November 2013

APPM4720/5720: Fast algorithms for big data. Gunnar Martinsson The University of Colorado at Boulder

Keywords Big Data; OODBMS; RDBMS; hadoop; EDM; learning analytics, data abundance.

How to Rank Higher on Google & Get More Leads. Alec Shekhar

Data Mining: Introduction

Data, Measurements, Features

Big Data Analytics. Prof. Dr. Lars Schmidt-Thieme

Web analytics: Data Collected via the Internet

CSC590: Selected Topics BIG DATA & DATA MINING. Lecture 2 Feb 12, 2014 Dr. Esam A. Alwagait

Statistical Challenges with Big Data in Management Science

Similarity Search in a Very Large Scale Using Hadoop and HBase

Doing Multidisciplinary Research in Data Science

Real Time Analytics for Big Data. NtiSh Nati

Chapter 20: Data Analysis

Concept and Applications of Data Mining. Week 1

How To Scale Out Of A Nosql Database

Statistics for BIG data

Collaborations between Official Statistics and Academia in the Era of Big Data

Topics in basic DBMS course

The Scientific Data Mining Process

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

Big Data a threat or a chance?

Lecture 6 - Data Mining Processes

Using Data Mining and Machine Learning in Retail

Open source large scale distributed data management with Google s MapReduce and Bigtable

A Performance Evaluation of Open Source Graph Databases. Robert McColl David Ediger Jason Poovey Dan Campbell David A. Bader

The Big Data Paradigm Shift. Insight Through Automation

Big Data Analytics and Healthcare

Data Mining Introduction

Data Mining: An Overview. David Madigan

Data-intensive HPC: opportunities and challenges. Patrick Valduriez

Integrating Big Data into the Computing Curricula

Mining Big Data. Pang-Ning Tan. Associate Professor Dept of Computer Science & Engineering Michigan State University

Information Processing, Big Data, and the Cloud

COMP3420: Advanced Databases and Data Mining. Classification and prediction: Introduction and Decision Tree Induction

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

What happens when Big Data and Master Data come together?

Extracting Information from Social Networks

Introduction to Engineering Using Robotics Experiments Lecture 17 Big Data

NoSQL for SQL Professionals William McKnight

PSG College of Technology, Coimbatore Department of Computer & Information Sciences BSc (CT) G1 & G2 Sixth Semester PROJECT DETAILS.

Oracle Big Data SQL Technical Update

Oracle Advanced Analytics 12c & SQLDEV/Oracle Data Miner 4.0 New Features

B669 Sublinear Algorithms for Big Data

Congrats to Game Winners. How can computation use data to solve problems? What topics have we covered in CS 202? Part 1: Completed!

Sense Making in an IOT World: Sensor Data Analysis with Deep Learning

Monitis Project Proposals for AUA. September 2014, Yerevan, Armenia

Topological Properties

BIG DATA ANALYTICS REFERENCE ARCHITECTURES AND CASE STUDIES

CIS 4930/6930 Spring 2014 Introduction to Data Science Data Intensive Computing. University of Florida, CISE Department Prof.

Big Data Systems CS 5965/6965 FALL 2015

Introduction to Artificial Intelligence G51IAI. An Introduction to Data Mining

Software Engineering for Big Data. CS846 Paulo Alencar David R. Cheriton School of Computer Science University of Waterloo

Journal of Environmental Science, Computer Science and Engineering & Technology

Big Trouble. Does Big Data spell. for Lawyers? Presented to Colorado Bar Association, Communications & Technology Law Section Denver, Colorado

Axibase Time Series Database

BIG DATA FUNDAMENTALS

Sharing the experiences of teaching business analytics in a University course

Sanjeev Kumar. contribute

Exploratory Data Analysis with #codemash

Methods of Social Media Research: Data Collection & Use in Social Media

Search Engines are #1 Way to be Found

Alexander Nikov. 5. Database Systems and Managing Data Resources. Learning Objectives. RR Donnelley Tries to Master Its Data

COM CO P 5318 Da t Da a t Explora Explor t a ion and Analysis y Chapte Chapt r e 3

Data Mining in the Swamp

Leveraging Social Media

A U T H O R S : G a n e s h S r i n i v a s a n a n d S a n d e e p W a g h Social Media Analytics

Semantic Search in E-Discovery. David Graus & Zhaochun Ren

Open source Google-style large scale data analysis with Hadoop

Data Warehousing and Data Mining in Business Applications

Big Data from a Database Theory Perspective

Why Your Business Needs a Website: Ten Reasons. Contact Us: Info@intensiveonlinemarketers.com

Big Data and Complex Networks Analytics. Timos Sellis, CSIT Kathy Horadam, MGS

Big Data. Patrick Derde. Use Cases and Architecture

Introduction of Information Visualization and Visual Analytics. Chapter 4. Data Mining

Infrastructures for big data

An Introduction to Data Mining. Big Data World. Related Fields and Disciplines. What is Data Mining? 2/12/2015

CS Data Science and Visualization Spring 2016

The Need for Training in Big Data: Experiences and Case Studies

Can we Analyze all the Big Data we Collect?

Introduction. A. Bellaachia Page: 1

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

Sisense. Product Highlights.

Introduction to Data Mining and Machine Learning Techniques. Iza Moise, Evangelos Pournaras, Dirk Helbing

The 4 Pillars of Technosoft s Big Data Practice

BENCHMARKING CLOUD DATABASES CASE STUDY on HBASE, HADOOP and CASSANDRA USING YCSB

Transcription:

DATA MINING INTRO LECTURE Introduction

Instructors Aris (Aris Anagnostopoulos) Yiannis (Ioannis Chatzigiannakis)

Mailing list Register to the list of Pierpaolo Brutti.

What is Data Science?

What is Data Science? Boh

What is Data Science?

What is Data Science?

What is Data Science? From Wikipedia: Data science incorporates varying elements and builds on techniques and theories from many fields, including signal processing, mathematics, probability models, machine learning, computer programming, statistics, data engineering, pattern recognition and learning, visualization, uncertainty modeling, data warehousing, and high performance computing with the goal of extracting meaning from data and creating data products.

Applications Applications in a lot of areas: Computer science Biology Epidemiology Medicine Social sciences Politics Let s see what we can do with data science!

Politics Nate Silver

Politics Obama campaign Obama performed a targeted campaign. They gathered data and demographic info from voters They controlled tweets They would send related messages to voters

Recommender systems You buy something in Amazon and they propose other items you may be interested in. You watch youtube videos, it will recommend others. You make a google query, it will propose others. How do they do it? (They analyze what previous similar users have done!)

Google and PageRank

Google and PageRank

Google and PageRank

Google flu

Google and stockmarket

Google translate

People tweet about anything Tweets provide a LOT of info Can we use it to obtain info about places, events, etc.?

Event detection with twitter

Psychology and Sociology Psychological and sociology studies have been revolutionalized with the incorporation of data science techniques Before based on surveys Now, with systems such as facebook, online games, etc. we can observe the behavior of hundreds of millions of people

What can fb say about relationships?

Are emotions contagious? In 2014, some FB researchers studied if emotions spread in FB They selected 150K users (group P) and they increased the number of positive posts that they see They selected other 150K users (group N) and they increase the number of negative posts that they see They studied what messages do these 300K users post Finding: users in group P, increased the number of positive posts and decreased the number of negative The opposite happened to group N

Journalism Journalism is based on more and more data Twitter Wikileaks

Literature and history Researchers analyzed the words of thousands of books written in the 20 th century. The studied the words that express emotions over time.

Literature and history

Literature and history

Intro Web page: http://aris.me and follow the links Lectures Books What do you need to know Office hours Exams Collaboration policy

What is data mining? After years of data mining there is still no unique answer to this question. A tentative definition: Data mining is the use of efficient techniques for the analysis of very large collections of data and the extraction of useful and possibly unexpected patterns in data.

Why do we need data mining? Really, really huge amounts of raw data!! In the digital age, TB of data are generated by the second Mobile devices, digital photographs, web documents. Facebook updates, Tweets, Blogs, User-generated content Transactions, sensor data, surveillance data Queries, clicks, browsing Cheap storage has made possible to maintain this data Need to analyze the raw data to extract knowledge

Why do we need data mining? Large amounts of data can be more powerful than complex algorithms and models Google has solved many Natural Language Processing problems, simply by looking at the data Example: misspellings, synonyms Data is power! Today, collected data is one of the biggest assets of an online company Query logs of Google The friendship and updates of Facebook Tweets and follows of Twitter Amazon transactions We need a way to harness the collective intelligence Data are transforming many other fields: biology, sociology, marketing

Types of Data Structured 5-10% of the data SQL Semi-structured 5-10% of the data XML, CSV, JSON Unstructured 80% of the data

The data are very complex Multiple types of data: tables, time series, images, graphs, etc. Spatial and temporal aspects Interconnected data of different types: From the mobile phone we can collect, location of the user, friendship information, check-ins to venues, opinions through twitter, images though cameras, queries to search engines

Example: transaction data Billions of real-life customers: WALMART: 20 million transactions per day AT&T 300 million calls per day Credit card companies: billions of transactions per day. The point cards allow companies to collect information about specific users

Example: document data Web as a document repository: estimated 50 billions of web pages Wikipedia: 5 million english articles (and counting) Online news portals: steady stream of 100 s of new articles every day Twitter: >500 million tweets every day

Example: network data Web: 50 billion pages linked via hyperlinks Facebook: 1.5 billion users Twitter: 300 million active users Instant messenger: ~1 billion users WhatsApp: 900 million users Blogs: 250 million blogs worldwide, presidential candidates run blogs

Example: genomic sequences http://www.1000genomes.org/page.php Full sequence of 1000 individuals 3*10 9 nucleotides per person 3*10 12 nucleotides Lots more data in fact: medical history of the persons, gene expression data

Example: environmental data Climate data (just an example) http://www.ncdc.noaa.gov/ghcnm/ A database of temperature, precipitation and pressure records managed by the National Climatic Data Center, Arizona State University and the Carbon Dioxide Information Analysis Center 6000 temperature stations, 7500 precipitation stations, 2000 pressure stations Spatiotemporal data

Example: behavioral data Mobile phones today record a large amount of information about the user behavior GPS records position Camera produces images Communication via phone and SMS Text via facebook updates Association with entities via check-ins Amazon collects all the items that you browsed, placed into your basket, read reviews about, purchased. Google and Bing record all your browsing activity via toolbar plugins. They also record the queries you asked, the pages you saw and the clicks you did. Data collected for millions of users on a daily basis

10 So, what is Data? Collection of data objects and their attributes Attributes T id R e f u n d M a r it a l T a x a b le S t a t u s In c o m e C h e a t 1 Y e s S in g le 125K No An attribute is a property or characteristic of an object Examples: eye color of a person, temperature, etc. Attribute is also known as variable, field, characteristic, or feature A collection of attributes describe an object Object is also known as record, point, case, sample, entity, or instance Objects 2 No M a r r ie d 100K No 3 No S in g le 70K No 4 Y e s M a r r ie d 120K No 5 No D iv o r c e d 95K Y e s 6 No M a r r ie d 60K No 7 Y e s D iv o r c e d 220K No 8 No S in g le 85K Y e s 9 No M a r r ie d 75K No 10 No S in g le 90K Y e s Size: Number of objects Dimensionality: Number of attributes Sparsity: Number of populated object-attribute pairs

Types of Attributes There are different types of attributes Categorical Examples: eye color, zip codes, words, rankings (e.g, good, fair, bad), height in {tall, medium, short} Nominal (no order or comparison) vs Ordinal (order but not comparable) Numeric Examples: dates, temperature, time, length, value, count. Discrete (counts) vs Continuous (temperature) Special case: Binary attributes (yes/no, exists/not exists)

Numeric Record Data 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 n-by-d data matrix, where there are n rows, one for each object, and d 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

10 Categorical Data Data that consists of a collection of records, each of which consists of a fixed set of categorical attributes Tid Refund Marital Status Taxable Income Cheat 1 Yes Single High No 2 No Married Medium No 3 No Single Low No 4 Yes Married High No 5 No Divorced Medium Yes 6 No Married Low No 7 Yes Divorced High No 8 No Single Medium Yes 9 No Married Medium No 10 No Single Medium Yes

Document Data Each document becomes a `term' vector, 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. Bag-of-words representation no ordering season timeout lost wi n game score ball pla y coach team Document 1 3 0 5 0 2 6 0 2 0 2 Document 2 0 7 0 2 1 0 0 3 0 0 Document 3 0 1 0 0 1 2 2 0 3 0

Transaction Data Each record (transaction) is a set of items. T I D I t e m s 1 B r e a d, C o k e, M ilk 2 B e e r, B r e a d 3 B e e r, C o k e, D ia p e r, M ilk 4 B e e r, B r e a d, D ia p e r, M ilk 5 C o k e, D ia p e r, M ilk A set of items can also be represented as a binary vector, where each attribute is an item. A document can also be represented as a set of words (no counts) Sparsity: average number of products bought by a customer

Ordered Data Genomic sequence data GGTTCCGCCTTCAGCCCCGCGCC CGCAGGGCCCGCCCCGCGCCGTC GAGAAGGGCCCGCCTGGCGGGCG GGGGGAGGCGGGGCCGCCCGAGC CCAACCGAGTCCGACCAGGTGCC CCCTCTGCTCGGCCTAGACCTGA GCTCATTAGGCGGCAGCGGACAG GCCAAGTAGAACACGCGAAGCGC TGGGCTGCCTGCTGCGACCAGGG Data is a long ordered string

Ordered Data Time series Sequence of ordered (over time ) numeric values.

Graph Data Examples: Web graph and HTML Links 5 2 2 5 1 <a href="papers/papers.html#bbbb"> Data Mining </a> <li> <a href="papers/papers.html#aaaa"> Graph Partitioning </a> <li> <a href="papers/papers.html#aaaa"> Parallel Solution of Sparse Linear System of Equations </a> <li> <a href="papers/papers.html#ffff"> N-Body Computation and Dense Linear System Solvers

Types of data Numeric data: Each object is a point in a multidimensional space Categorical data: Each object is a vector of categorical values Set data: Each object is a set of values (with or without counts) Sets can also be represented as binary vectors, or vectors of counts Ordered sequences: Each object is an ordered sequence of values. Graph data

What can you do with the data? Suppose that you are the owner of a supermarket and you have collected billions of market basket data. What information would you extract from it and how would you use it? TID Items 1 Bread, Coke, Milk 2 Beer, Bread 3 Beer, Coke, Diaper, Milk 4 Beer, Bread, Diaper, Milk 5 Coke, Diaper, Milk What if this was an online store? Product placement Catalog creation Recommendations

What can you do with the data? Suppose you are a search engine and you have a toolbar log consisting of pages browsed, queries, pages clicked, ads clicked Ad click prediction Query reformulations each with a user id and a timestamp. What information would you like to get our of the data?

What can you do with the data? Suppose you are a stock broker and you observe the fluctuations of multiple stocks over time. What information would you like to get our of your data? Clustering of stocks Correlation of stocks Stock Value prediction

Basics of Computer Architecture Hard Disk (HD) Processor (CPU) Memory (RAM)

The Cloud There exist large datacenters for storing data and making computations Gmail, dropbox,

The Cloud

The Cloud

Some useful numbers Operation Main memory reference Send 2K bytes over 1 Gbps network Read 1 MB sequentially from memory Round trip within same datacenter Disk seek Read 1 MB sequentially from disk Send packet CA->Netherlands->CA Time 100ns 250ns 150μs 500μs 4ms 2ms 150ms

Topics we will cover 3 Units Text Text mining Document Clustering Searching Graphs and networks Graph mining Epidemics Sequences of actions Frequent itemset mining Recommendation systems Anomaly detection

Laboratory Via Tiburtina 205, aula 16, 10.15 13.30 Mostly done by Yannis Collaboration policy Mostly Python (but also shell programming, SQL, ) Programming: You need to work a lot on it especially in the beginning