Giter Site home page Giter Site logo

devashish2002 / trajectoryclustering Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bednarikjan/trajectoryclustering

0.0 1.0 0.0 0 B

This application written in Python is capable of fully automatic clustering of 2D trajectory data.

Python 100.00%

trajectoryclustering's Introduction

TrajectoryClustering

This application is capable of fully automatic clustering of 2D trajectory data. Why is this useful? Many systems today rely on capturing the data with one main property - a time-varying location which can be thought of as a trajectory. Whether it is ecologists who track wild animals, meteorologists who track hurricane flows or traffic researchers who analyse the common patterns in traffic, they all work with huge amount of data wchich must be (auomatically) analyzed in order to derive meaningful information.

alt trajectory clustering 01

How it works?

The application performs either agglomerative or spectral clustering. The former requires the user to specify expected number of cluters wheras the latter is capable of finding the most suitable number of clusters automatically. It is based on the modified Hausdorff distance used as a semi-metric to define an affinity among different trajectories. For more detail see this paper: Clustering of vehicle trajectories

Dependencies

  • Python 2.7
  • NumPy
  • SciPy

Install and run

$ chmod +x trajectory_clustering.py
$ python trajectory_clustering.py

Controls

mouse <left>  draw a trajectory
key <a>		    agglomerative clustering (number of clusters must be specified)
key <s>		    spectral clustering (number of clusters is found automatically)
key <r>		    reset

Synopsis

trajectory_clustering num
		num		expected number of clusters (only required for agglomerative clustering)

trajectoryclustering's People

Contributors

bednarikjan avatar

Watchers

James Cloos avatar

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.