Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CityGravity

Nikita Kirnosov
October 12, 2015
120

 CityGravity

Nikita Kirnosov

October 12, 2015
Tweet

Transcript

  1. How  do  tourists     make  plans?   1. Decide  what

     interests                them.   2.  Book  a  nice  hotel   What’s  missing?   OpBmal  accommodaBon   allows  you  to  spend  minimum  Bme  traveling   to  interesBng  stuff  
  2. Find  a  center  of  gravity   and  stay  close  to

     it!   Let’s  do    it!   TransportaBon  Bmes   AIracBons  I’ll  see  
  3. How  to  opBmally  group  the  aIracBons?      Not  realisBc:

      you  do  not  go  to  hotel  aPer   each  aIracBon      Not  achievable:   ~  1,000,000  Google  API  calls   for  California  
  4. Calculate  the  distance  matrix    and     apply  

     DBSCAN  clustering.   Density  condiBon:  distance  <  1  mi   The  cluster     is  too  big…   How  to  opBmally  group  the  aIracBons?    
  5. Apply  hierarchical  clustering     to  the  big  cluster  to

     achieve   subcluster  diameter  <  2  mi   ~  40,000  Google  API  calls   for  California   How  to  opBmally  group  the  aIracBons?    
  6.   What  are  we  looking  for?   Get  further  –

      ride  longer   I  am  the  middle,  how  do  I   get  out?   Total  (Travel  1me  *  Number  of  objects)