Big Data Workshops: Analytics and Models por Esteban Moro y Alejandro Llorente

1,212
-1

Published on

Big Data Workshops: Analytics and Models por Esteban Moro y Alejandro Llorente

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,212
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
24
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Big Data Workshops: Analytics and Models por Esteban Moro y Alejandro Llorente

  1. 1. Analytics & Models Esteban Moro Alejandro Llorente
  2. 2. Index ① Introduction to cartographic data ② Getting Points of Interest ③ Extracting data from Innova Challenge API ④ Merging activity and cartography ⑤ Building a recommender system ⑥ From analytics to the app: RShiny INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  3. 3. Introduction to cartographic data in R
  4. 4. Loading and filtering Shapefiles INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  5. 5. Loading and filtering Shapefiles plot(map) INNOVA CHALLENGE plot(mapMadrid) Workshop TallerthOctober 30 8 Octubre
  6. 6. Getting points of interest
  7. 7. Google Points Of Interest Parameters INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  8. 8. Google Points Of Interest Obtaining places information INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  9. 9. Google Points Of Interest Obtaining POI around Puerta del Sol and color them by type INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  10. 10. Google Points Of Interest Using Google Maps as background INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  11. 11. Google Points Of Interest INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  12. 12. Extracting data from Innova Challenge API
  13. 13. Connecting to the API Parameters INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  14. 14. Connecting to the API Extracting data INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  15. 15. Connecting to the API Building the adjacency list INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  16. 16. Connecting to the API Building and plotting the graph INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  17. 17. Connecting to the API INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  18. 18. Merging activity and cartography
  19. 19. Data + Cartography Reading files INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  20. 20. Data + Cartography Merging & plotting data and maps INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  21. 21. Data + Cartography INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  22. 22. Data + Cartography Building our own polygons: a regular grid INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  23. 23. Data + Cartography INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  24. 24. Building a recommender system
  25. 25. Recommending by profile INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  26. 26. Recommending by profile Getting data from the API INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  27. 27. Recommending by profile Reading and preprocessing data INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  28. 28. Recommending by profile Parameters Result of preprocessing INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  29. 29. Recommending by profile Recommendation map INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  30. 30. Recommending by profile INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  31. 31. Recommending by origin postal code INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  32. 32. Recommending by origin postal code Getting data from the API INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  33. 33. Recommending by origin postal code Analogous data preprocessing and visualizing results INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  34. 34. Combining classifiers Geographic and demographic based recommender system INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  35. 35. Combining classifiers Getting and merging recommendations INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  36. 36. Combining classifiers INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  37. 37. From analytics to the app: RShiny
  38. 38. What’s RShiny 1 Web development framework with R. 2 Declarative user interface definition. 3 Server processing as servlets. 4 Agile prototyping. INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  39. 39. Installing Shiny INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  40. 40. Shiny project structure ui.R: definition of user interface. • Layout • Plots • Control panels and filters • Tabs server.R: definition of functions that generate the output to visualize in ui.R INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  41. 41. Our Goal INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  42. 42. Our Goal INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  43. 43. Our Goal INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  44. 44. User interface definition Requirements 1. Title of the application 2. Tabs to handle visualizations 3. Conditional panels 4. Filters: radio buttons, sliders and selectors INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  45. 45. ui.R Layout, title and beginning of the control panel INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  46. 46. ui.R Control panel definition INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  47. 47. ui.R Control panel definition Main panel definition INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  48. 48. server.R Importing modules and first line INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  49. 49. server.R Output definitions INNOVA CHALLENGE Workshop TallerthOctober 30 8 Octubre
  50. 50. And it works! Recommender system @estebanmoro @llorentealex INNOVA CHALLENGE esteban.moro@iic.uam.es alejandro.llorente@iic.uam.es Workshop TallerthOctober 30 8 Octubre

×