Giter Site home page Giter Site logo

ogeagla / clj-dstream Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 7.58 MB

DStream clustering algorithm implementation in Clojure

License: Eclipse Public License 1.0

Clojure 99.79% Shell 0.21%
dstream clustering-algorithm clojure clustering-methods clustering

clj-dstream's Introduction

clj-dstream

Build Status

What Is It

Density-based data stream clustering for arbitrary dimension data written in Clojure.

Reference paper.

Sample clustering for time-series data with moving hotspot: Moving Stream GIF

Running Tests

lein test

Note: If you install imagemagick for your platform, which supplies the command convert, animated gifs (like in this README) will be generated by the tests in addition to heatmaps of clusters and grid density data.

In addition to the unit tests, there are tests which use generated data, each of which creates an output directory that will contain heatmaps in a time-series for the clusters at a given time and the grid densities at a given time.

Integration

You can run integration tests of the RPC server running a DStream clustering server instance:

./run_docker_compose_stack.sh

Crater Dataset

When faced with data shapes like a crater, which can look like so: Crater Grids SVG

Clustering results, where each cluster has a distinct color: Crater Clusters GIF

Visualizing Clusters For High-Dimensional Data

When dimensionality is greater than 2, we use t-SNE to reduce the dimensionality of the clusters at a given time to 2. We can then create plots like this, which are 3 different clusters in 5-dimensional space staying static through time, demonstrating the non-deterministic nature of t-SNE, but also how valuable visualizing its results can be: TSNE Clusters

License

Copyright © 2017 FIXME

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

clj-dstream's People

Contributors

ogeagla avatar

Watchers

 avatar  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.