Data Science and Data Scientists
สำนักงานพัฒนารัฐบาลดิจิทัล
เนื้อหา
หน้า 1
Big D ata Analytics Assoc. Prof. Dr. Tiranee Achalakul Department of Computer Engineering, Faculty of Engineering King Mongkut ’ s University of Technology Thonburi
หน้า 2
Course objectives • Learners see practical examples of big data in action • Learners see the overview of current big data technology • Learners understand big data technology
หน้า 3
Schedule Module 1 : Introduction to Big Data Module 2: Introduction to Big Data Technology Data Mining Machine Learning Text Mining an NLP Apache Hadoop
หน้า 4
Introduction to Big Data
หน้า 5
Ask question Prospective Customer Call Center Online Store Cart Paid Enrolled Customer
หน้า 6
Traditional database
หน้า 7
More than just tables
หน้า 8
VOLUME Online & Offline Automatically generated Manually created VARIETY Unstructured Structured VELOCITY Speed of Generation Rate of Analysis VERACITY Untrusted Uncleansed Unclear Behavioral data - server logs, clickstream, ATM log Images & sounds - photographs, videos, Google street views images, medical images, handwriting images, voice recordings Languages - text messages, tweets, web content Records - medical records, large automated survey, tax Sensors - temperature, accelerometer, geolocation
หน้า 9
Big ! Ref: Mushroom Networks, Deep Blue Analytics, MBAOnline , IBM, Gartner Data from 2014
หน้า 10
Big Data Adoption Goal Creates new revenue sources Improves operational efficiency and drive productivity Business sustainability through customer satisfaction Improves profit through cost reduction
หน้า 11
Big Data Analytics A set of fundamental concepts/principles that underlie techniques for extracting useful knowledge from large datasets containing a variety of data types . To uncover hidden patterns, unknown correlations, market trends, customer preferences, and other useful business information
หน้า 12
http://fisherdaniel.com/ Analytics Capability Product Capability Big Data Maturity
หน้า 13
Big data challenge
หน้า 14
Big data analytics
หน้า 15
Gartner’s hype cycle 2011 Big Data and Extreme Information Social Analytics Predictive Analytics
หน้า 16
Gartner’s hype cycle 2016 Personal analytics Smart data discovery Machine learning
หน้า 17
Why big data? Increase of storage capacities Increase of processing power Availability of data
หน้า 18
Enabler: data storage Global data storage has grown significantly to digital after 2000
หน้า 19
Enabler: Computation capacity Computation capacity has also risen sharply
หน้า 20
Enabler: Data availability Companies in all sectors have at least 100 TB of stored data in US
หน้า 21
Type of available data
หน้า 22
หน้า 23
Data Warehouse Vs. Data Lake Structured, processed Data structured / semi - structured / unstructured, raw Schema - on - write Processing Schema - on - read Expensive for large data volumes Storage Designed for low - cost storage Less agile, fixed configuration Agility Highly agile, configure and reconfigure as needed Mature Security Maturing Business Professionals Users Data Scientist et. Al.
หน้า 24
https://www.linkedin.com/pulse/building - data - lake - using - open - source - technologies - aneel
หน้า 25
Big data in public transportation
หน้า 26
VOICE OF CUSTOMERS To understand customers and improve quality of services VOC Quality of Service Usage Behavior Interactive Usage Reports Customer Usage Behavior Groups Failure Pattern Interactive Failure Reports Failure Prediction Reports Payment Service Payment Behavior Interactive Payment Statistics Reports Late Payment Late Payment Prediction Reports Channel Recommendation
หน้า 27
• Databases of information about the state of the health of the general public can be built. • Genetic factors (Patient records) • Life style (social media, etc.) • Wearable sensor data • medical and insurance records • Person’s data can be compared and analyzed alongside thousands of others • Highlight specific threats and issues through patterns that emerge during the comparison • Enables sophisticated predictive modelling to take place Ref: http://www.forbes.com/sites/bernardmarr/ 2015 / 04 / 21 /how - big - data - is - changing - healthcare/ Health Predictive Modeling
หน้า 28
HEALTH RECOMMENDER SYSTEM In Collaboration with Sodsri - Saritwong Foundation แนะน ําเรื่องสุขภําพ แบบเฉพําะบุคคล
หน้า 29
DIALYSIS SOLUTION DELIVERY In Collaboration with NHSO • Goal: Optimize dialysis solution order and delivery • Methods – Treatment data exploration (cleaning, filtering, selection) – 300 M Records, 61 M people – Predictive model creation (predict time period dialysis state for each patients in the system) – Dialysis solution amount estimation – Delivery schedule optimization
หน้า 30
GENETIC ANALYSIS AUTOMATION Create software that can automate the genetic analysis process Convolutional Neural Network (Deep Learning) is applied A new startup is underway
หน้า 31
We need to farm smarter utilizing the latest and the greatest technologies www.beechamresearch.com To optimize the yield / unit of farming land 31 ICT - based decision support systems SMART FARMING
หน้า 32
Machine - to - machine (M 2 M) telemetry plays an essential part in the Internet of Things revolution that is rapidly reshaping farming http://www.designnews.com/ TECHNOLOGY INTEGRATION
หน้า 33
Precision Farming Data • Optimize farming decisions in order to maximize yields. • Farmers can make proactive decisions based on future conditions • when to plant, fertilize and harvest crops • Adopt wireless, cloud - connected systems, and place sensors throughout the fields • Provide real - time monitoring: measure temperature and humidity of the soil and air • Take pictures of fields using satellite imagery and robotic drones. The images over time show crop maturity. • Predictive weather modeling show pinpoint conditions 24 - 48 hours in advance • Automate everyday agriculture operations • Provide data analysis for smart decision making (day - to - day, season - to - season)
หน้า 34
WHAT 2 GROW By NECTEC
หน้า 35
Big Data For HR • Talent acquisition, retention, placement, promotion, compensation, or workforce and succession planning. • Analyzing the skills and attributes of high performers in the present; build a template for future quality hiring. • Non - traditional data gathering sources • Social media channels where prospective candidates usually leave their digital ‘ thought prints ’ . • Statistical analysis of productivity and turnover • Old indicators (such as GPA and education) were far less critical to performance and retention. Ref: Forbe
หน้า 36
Big Data and Learning The measurement, collection, analysis and reporting of data about learners and their contexts . • Focuses on applying techniques at larger scales in instructional systems . Track what students know or does not know Monitor student behaviors through level of engagement Track individual student performance in each class through opinions and scores Track course outcomes and student achievements • Questions that can be answered: When are students ready to move on to the next topic When is a student at risk to not completing a course What grade is a student likely to receive without intervention Should a student be referred to a counselor for help
หน้า 37
Expert Teachers Selected Documents and Tags ML BOT Documents and stories from Thai Schools Auto - tagging documents Learn tagging schema And how to tag like experts Machine Learning Knowledge Portal Page Parents, teachers, strategists Problem - Base Learning Mathematic Teaching Creative Thinking Search BUILD A PEDAGOGY PORTAL In Collaboration with The Knowledge Management Institute
หน้า 38
THE OBSTACLES • The absence of data • Lack of data gathering tools • Existing data quality (consistency, accuracy, completeness, conformity) • Lack of concept understanding • Data sharing within and across organizations • Competing instead of collaborating among internal teams • Maintainability after initiatives Initiations requires that • Managers understand the principles well enough to envision data science opportunities. • A diverse team of data scientists and business analysts be formed and work closely together. • The business problem be well specified. • Data teams be educated and trained on the science of data. • Community be built for show and share of experiences. • Management commits to prototyping efforts and initial investments.
หน้า 39
Introduction to Big Data Technology 13:00 – 16:00
หน้า 40
DATA ANALYTIC PROCESS Data Aggregation Data Selection, cleaning and filtering Exploratory Analysis Insight Derivation Model Feasibility Model Construction Deployment Prediction Validation
หน้า 41
Data Mining The Computational process of discovering patterns in large data sets involving methods at the intersection of statistics, machine learning, and database systems . Text Analytics The process of deriving high - quality information from text . High - quality information is typically derived through the devising of patterns and trends through means such as statistical pattern learning . Machine Learning / Deep Learning The science of getting computers to learn from data without having to be explicitly programmed by humans . Machine model can teach themselves to grow and change when exposed to new data . Big Data Technology Technology designed to manage and process extremely large data sets that may be analyzed computationally to reveal patterns, trends, and associations, especially relating to human behavior and interactions . Analytic Methods
หน้า 42
DATA MINING Turn raw data into useful information. By using software to look for patterns in large batches of data, businesses can learn more about their customers and develop more effective marketing strategies.
หน้า 43
1. Classification predict, for each individual in a population, which of a set of classes this individual belongs to. • Among the customers of Telco, which are likely to respond to a given offer ? (Classes: will respond, will not respond) 2. Regression produce a model that, given an individual, estimates the value of the particular variable specific to that individual. • How much will a given customer use the service? (variable: service usage) 3. Similarity matching identify similar individuals based on data know about them. Similarity underlie solutions to other tasks. • Finding people who are similar to you in terms of products they have purchased. Common Tasks
หน้า 44
4. Clustering group individuals in a population by their similarity (not driven by any specific purpose). • Do our customers form natural groups or segments? 5. Co - occurrence grouping find associations between entities based on transactions involving them. • What items are commonly purchased together? 6. Profiling characterize the typical behavior of an individual, group, or population. • What is the typical cell phone usage of this customer segment ? • Used to establish behavior norms for anomaly detection (fraud detection) Common Tasks
หน้า 45
หน้า 46
Answer Business Questions • Who are the most profitable customers? • A straightforward database query, if “profitable” can be defined clearly. • Is there really a difference between the profitable customers and the average customer? • Statistical Hypothesis testing • But who really are these customers? Can I characterize them? • Automated pattern finding • Will some new customer be profitable ? How much revenue can I expect? • Predictive model of profitability
หน้า 47
Ref: https://practicalanalytics.wordpress.com/ 2015 / 05 / 25 /big - data - analytics - use - cases/ Knowledge
หน้า 48
MACHINE LEARNING Learn from data and make predictions about data by using statistics to develop self learning algorithm
หน้า 49
MACHINE LEARNING Machine learning is surrounding you • Google search • Auto Facebook photo tagging • Email Spamming • Games • Chat bot • Recommender Machine Learning “ The science of getting computers to learn from data without having to be explicitly programmed by humans. ”
หน้า 50
ML Basic Understanding • It’s all about taking in the ‘input’, pushing out the ‘output’ prediction • Example: given the robot’s sensor and camera input, the algorithm pushes out the appropriate movement command. • Example: given the search engine terms as input, the algorithm output predictions of what the person is looking for. • It’s all about letting computer learns what ‘input’ is associated to what ‘output’.
หน้า 51
Machine Learns to Do House Chores
หน้า 52
How is machine p erception done? Image Vision features Detection Images/video Audio Audio features Speaker ID Audio Text Text Text features Text classification, Machine translation, Information retrieval, .... Slide courtesy of Andrew Ng, Stanford University
หน้า 53
Early Use Cases Image Classification, Object Detection, Localization Face Recognition Speech & Natural Language Processing Medical Imaging & Interpretation Seismic Imaging & Interpretation Recommendation
หน้า 54
There are so many models around ... Ref: machinelearningmastery.com
หน้า 55
TEXT MINING AND NLP Deriving high - quality information from text by devising of patterns and trends through means such as statistical pattern learning.
หน้า 56
Text Classification and Clustering • Classification To assign a document to one or more classes or categories. • Clustering: The application of cluster analysis to textual documents
หน้า 57
Sentiment Analysis • To determine the attitude of a writer with respect to some topic or the overall contextual polarity of a document. • Widely applied to reviews and social media for a variety of applications, ranging from marketing to customer service
หน้า 58
Topic Discovery • Characterizes document according to topics Discover topics mentioned about “ ประชํามติ ” on the social network Discover topics mentioned about “ พร้อม เพย์ ” on the social network
หน้า 59
Influencer Analysis • An influencer is an individual who has above - average impact on a specific niche process. • On the social network, a influencer can referred to the most shaping a discussion about a brand or topic.
หน้า 60
Social Analytics Keep tracking your brand & competitors Real - time monitoring your feedback Knows your feedback sentiment Knows where your target audiences are Find out who influences your brand Real - time detect anomaly issues
หน้า 61
หน้า 62
The data analysis is not testing a simple hypothesis, but the data are explored with the hope that something useful will be discovered. Principles and techniques for understanding phenomena via the analysis of data. Accessing and processing of massive - scale data flexibly and efficiently with Big Data technologies DDD = practice of basing decision on the analysis of data, rather than intuition
หน้า 63
Hadoop Big Data Platform
หน้า 64
Introduction to Hadoop Hadoop is apache open source framework which provides reliable, scalable, distributed storage and processing of large data sets across clusters of computers using simple programming models
หน้า 65
Hadoop Timeline Hadoop is based to a large degree on ideas crafted by Google. Possibly to develop a competitive market Google published many technical papers describing the technologies driving the world ’ s largest search engine provider – and data acquirer of modern times 65
หน้า 66
Hadoop C ore Concept ( 1 ) • Big data (Social network, scientific, Clickstream, etc.) is here and we are struggling to store, access, and analyze it. • To reduce reading/writing time from/to data storage, multiple disks may be used in parallel. The chunks are replicated 3 times And scattered amongst the disks The data file is broken up into chunks Ref: http://reportbank.com/
หน้า 67
Hadoop Core Concept (2) • Applications are written in high - level code • Developers do not worry about network programming, temporal dependencies etc. • Nodes talk to each other as little as possible • Developer should not write code which communicates between nodes • “ Share Nothing ” architecture • Data is spread among machines in advance • Computation happens where the data us stored, whenever possible • Data is replicated multiple times on the system for increased availability and reliability 67
หน้า 68
Hadoop vs. Traditional RDBMS RDBMS • Refined • Has a lot of features • Accelerates very fast • Pricey • Expensive to maintain Hadoop • Rough • Missing a lot of “ luxury ” • Slow to accelerate • Carries almost anything • Moves a lot of stuff very efficiently http://www.hadoopsphere.com/2012/08/analogies - romans - train - dabbawalla - oil.html 68
หน้า 69
Core Components of Hadoop • Shared storage – HDFS (Hadoop Distributed File System) • Data processing – MapReduce • Resource management – YARN* (Yet Another Resource Negotiator) 69
หน้า 70
Hadoop : HDFS • HDFS, the Hadoop Distributed File System, is responsible for storing data on the cluster . • Data files are split into blocks and distributed across multiple nodes in the cluster . • Each block is replicated multiple times, with the default set to three times. Replicas are stored on different nodes, which ensures both reliability and availability 70
หน้า 71
Hadoop HDFS • HDFS is a file system written in Java. It is based on Google ’ GFS. • HDFS sits on top of a native file system, e.g. ext 3 , ext 4 , xfs etc. • It provides redundant storage for massive amounts of data, using cheap, unreliable computers. https://developer.yahoo.com/hadoop/tutorial/module 2 .html 71
หน้า 72
Hadoop MapReduce • MapReduce is a programming model which enables batch processing for large volumes of data on a cluster of computers. • The processing is split into two phases, allowing the computation to run in parallel across multiple nodes. https://developer.yahoo.com/hadoop/tutorial/module 4 .html 72
หน้า 73
Hadoop : MapReduce • MapReduce is a system (one of many) used to process data in the Hadoop cluster . • It consists of two phases: Map and then Reduce . • Each Map task operates on a discrete portion of the overall dataset, typically one HDFS data block . • After all Maps are complete, the MapReduce system distributes the intermediate data to fewer nodes which perform the Reduce Phase. 73
หน้า 74
Apache Hadoop is an open - source software framework for distributed storage and distributed processing of very large data Cloudera was the first commercial software vendor to release a Hadoop Distribution with enterprise features security and governance
หน้า 75
Presentation Data Visualization and Reporting Client Tools Application Analytics Apps Transactional Apps Analytics Middleware Data Processing Batch Processing Real Time Stream Processing Search and Indexing Data Management Distributed Storage Non - relational Database Distributed Processing Structured In - Memory Infrastructure Virtualization Compute / Storage / Network Data Integration Real Time Ingestion Batch Ingestion Data Connectors Metadata Services Security Data Isolation Access Management Data Encryption Operations Workflow and Scheduling Management and Monitoring Data Processing Batch Processing (MapReduce, Hive, Pig) Real Time Stream Processing (Spark) Search and Indexing ( S olr ) Data Management Distributed Storage (HDFS) Non - relational Database (HBASE) Distributed Processing (MapReduce) Structured In - Memory (Spark) Data Integration Real Time/batch Ingestion (Flume, Sqoop Kafka) Data Connectors (Flume, Sqoop ) Metadata Services (HDFS) 75
หน้า 76
Hadoop and Ecosystem Overview • Data Storage: HDFS • Processing Framework: MapReduce , • Workload Management: • Coordinator and Workflow Scheduling: ZooKeeper , Oozie • Data Integration: Flume, Sqoop , Kafka
หน้า 77
Hadoop and Ecosystem Overview • SQL Engine and Analytics: Hive, Impala • Search and Indexing: • NoSQL Storage: Hbase • User Interface: HUE
หน้า 78
The right components for the right solution Full Text Search and Indexing Interactive Analytic SQL Engine Batch/Real - time Processing NoSQL Storage
หน้า 79
Infrastructure Analytics, Visualization BIG DATA Ecosystem for Data Lake Solutions Sentiment Analytics Integration Messaging, and Web Services EDW, OLTP, OLAP Social Media, Weblogs Machine Devices, Sensors
หน้า 80
Big Data In The cloud • “ Picking between Spark or Hadoop isn ’ t the key to big data success. Picking the right infrastructure is ” , www.infoworld.com. • The key is running both real - time and batch processing on elastic infrastructure. Thus, cloud has a big role in big data analytics. • Hundreds of terabytes or petabytes of data are hard to move across the network, Hadoop clusters should be on premise and on various clouds. • Analytics should be performed wherever the bulk of the data has landed. • When the newer data sets (social network data, machine and sensor data) originate outside the enterprise, the public cloud becomes a natural place to do the processing. • Cloud service providers can offer Hadoop clusters that scale automatically with the demand of the customer for a cost.
หน้า 81
“ Information is the oil of the 21 st century, and analytics is the combustion engine ” Peter Sondergaard , Senior Vice President, Gartner
ข้อความถอดจากไฟล์ต้นฉบับโดยอัตโนมัติ อาจมีข้อผิดพลาด โปรดยึดต้นฉบับของหน่วยงาน