ask what not how
play

Ask what, not how Kostas Tzoumas Data is an important asset video - PowerPoint PPT Presentation

Ask what, not how Kostas Tzoumas Data is an important asset video & audio streams, sensor data, RFID, GPS, user online behavior, scientific simulations, web archives, ... Volume Handle petabytes of data Velocity Handle high


  1. Ask “what,” not “how” Kostas Tzoumas

  2. Data is an important asset video & audio streams, sensor data, RFID, GPS, user online behavior, scientific simulations, web archives, ... Volume Handle petabytes of data Velocity Handle high data arrival rates Variety Handle many heterogeneous data sources Veracity Handle inherent uncertainty of data 2

  3. Data Analysis 3

  4. Four “I”s for Big Analysis text mining, interactive and ad hoc analysis, machine learning, graph analysis, statistical algorithms Iterative Model the data, do not just describe it Incremental Maintain the model under high arrival rates Interactive Step-by-step data exploration on very large data Integrative Fluent unified interfaces for different data models 4

  5. MapReduce and Hadoop (Romeo, 1) Reduce (Romeo, 1) (Romeo, (1,1,1)) (Romeo, 3) “Romeo, Romeo, Map (wherefore, 1) (art, (1,1)) (art, 2) wherefore art thou (art, 1) (thou, (1,1)) (thou, 2) Romeo?” (thou, 1) (Romeo, 1) (What, 1) Reduce (wherefore, 1) (wherefore, 1) Map “What, art thou (art, 1) (What, 1) (What, 1) hurt?” (thou, 1) (hurt, 1) (hurt, 1) (hurt, 1) Data written Data shuffled to disk over network 5

  6. SQL analytics with Hadoop Pitfalls: � Lacking in declarativity � HDFS-based data exchange Reduce Map � Sort the only Reduce Map grouping operator � Hadoop engine Reduce Map tailored to simple aggregations 6

  7. SQL MapReduce BigAnalytics BigSQL NoMapReduce

  8. Advanced Analytics Analytics that model the data to reveal hidden relationships , not just describe the data. E.g., machine learning, statistics, graph analysis Increasingly important from a market perspective. Very different than SQL analytics: different languages and access patterns (iterative vs. one-pass programs). Hadoop toolchain poor; R, Matlab, etc not parallel. 8

  9. Use case in Media and Communications Example: Risk management, analytics on phone call logs, risk management, all verticals sentiment analysis, clickstream and call analysis Manufacturing Travel and tourism Example: Data-driven quality Example: Improve personalized customer control and assurance, demand experience in hotels, estimate no-show in forecasting, sales and operation flights, route planning planning, process optimization Retail Social and e-commerce Example: Improve campaign ROI Example: Targeted customer experience, by optimizing advertising channels, explore new business models, real-time market basket analysis, fraud recommendations, social graph analysis, detection, social trend analysis, game analytics product recommendation 9

  10. Big data lives in Hadoop. Hadoop clusters offer very low effective storage cost , and are becoming a data vortex , attracting cross- departmental data . Companies want to perform advanced and predictive analytics to maximize ROI of their data assets by modeling the data, not just describing it. How do we bring advanced analytics to the world of big data? 10

  11. What, Big data consumers in the future not how Recipe for success: declarativity people with data analysis skills User specifies what information to extract out of the data, not how the system extracts the information. systems This is what relational databases programming experts pioneered in the 70s resulting in a Big data vibrant research community and a consumers now billion dollar industry. 11

  12. Desiderata for next-gen big data platforms: Usability 3 million “the market faces certain challenges R users such as unavailability 10 million of qualified and Excel users experienced work professionals , who can effectively handle the 70,000 Hadoop architecture.” Hadoop users 12

  13. Desiderata for next-gen big data platforms: Performance Stratosphere ! Hadoop ! 0 ! 100 ! 200 ! 300 ! 400 ! 500 ! 600 ! 700 ! Performance difference from days to minutes enables real time decision making and widespread use of data within the organization. 13

  14. How to lift declarativity from the closed world of relational algebra to the open world of advanced analytics. 14

  15. Step 1: Specify //"get"the"customers"with"their"debit" Unify data and val" debits:((String,(Double)(=( sql ( ((((" SELECT&customerId,&debit&FROM&customer_accounts; ") programming models in //"get"the"number"of"warned"invoices"in"the"last" a declarative abstraction. //"12"and"6"months val" warnings:((String,(Int,(Int)(=( sql """" " SELECT&R12.customerId,&R12.cnt,&R6.cnt &&&&&&&&&&&&FROM&(…)&R12&LEFT&OUTER&JOIN&(…)&R6 SQL for extracting &&&&&&&&&&&&&&ON&(R6.customerId&=&R12.customerId); ") //"number"of"contracts"a"customer"has enterprise data from val" numContracts(:((String,(Int)(=( sql ( ((((" SELECT&customerId,&numContracts&FROM&customers; ") databases. //"join"the"data"into"one"data"point General-purpose case"class" DataPoint(x:(Vector,(y:(Double) programming for feature val (dataPoints(=(numContracts( (( join (warnings extraction and (( where ({_._1}( isEqualTo ({_._1} (( join (debits normalization. (( where ({_._1}( isEqualTo ({_._1} ""map ({((x,y,z)(=>(DataPoint(Vector(x._2,(y._2,(y._3), ((((((((((((((((((((((((((((( if ((z._2(>(X)(1( else (0)(} Statistical libraries for //"run"regression"with"dimensionality"3"for"40"iterations val (weights:(Vector(=( logRegression (3,(dataPoints,(40) advanced analysis. 15

  16. First step for declarative analytics Scala: functional and object-oriented JVM language, excellent basis for domain-specific language development. Coolest kid in the block ☺ Feels like a scripting language, but is not restricted to a fixed data model like Pig, Hive, etc. Scala’s extensible compiler architecture is a good match for implementing optimizers. 16

  17. Step 2: Optimize Each color is a differently written Query optimizers: the program that produces the same result but has very different performance depending on small changes enabling technology for SQL in the data set and the analysis requirements data warehousing and BI Data characteristics change Successful industrial application of artificial intelligence Currently, no other system can optimize non-relational data analysis programs. Data characteristics change Complex Plan Diagram 17

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend