Giter VIP home page Giter VIP logo

2014-summer-travels's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

2014-summer-travels's Issues

clustering-scikitlearn.ipynb

When I change number of samples to 20 in the code,
db = DBSCAN(eps=epsilon, min_samples=20, algorithm='ball_tree', metric='haversine').fit(np.radians(coords))

I am getting the error, IndexError: list index out of range on the line in get_centermost_point(cluster)
----> 2 centroid = (MultiPoint(cluster).centroid.x, MultiPoint(cluster).centroid.y)

Distance metric used in the DBSCAN

Hi,

I am just curious to know, what distance metric would the initial call for the clustering method would take. The documentation says that it would by default take the euclidean distance.

class sklearn.cluster.DBSCAN(eps=0.5, min_samples=5, metric='euclidean', algorithm='auto', leaf_size=30, p=None, random_state=None)[source]

Would that mean, the initial clusters are formed by the euclidean dist by taking lat/long data?

Thanks,
Vamshi

Output Cluster IDs

Hi,

Was wondering if there was an easy way to modify the output file for the clustering script to modify the input file and show the centroid lat/lons that are assigned to the original lat/lons and possibly assign IDs to those centroid lat/longs (i.e. - Original Lat | Original Lon | Centroid Lat | Centroid Lon | Cluster ID (1,2,3,etc.))

Thank you,

Jay

geolocation/2014 summer travel.

When I run your function reverse_geocode to get the geocode_data from latlng as
df['geocode_data'] = df['latlng'].map(reverse_geocode)
all the results of geocode_data are emplty, which mean that there is no returned object.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.