Giter Club home page Giter Club logo

optics.js's Introduction

optics.js

optics.js is an open source JavaScript library which implements OPTICS clustering algorithm for browsers and node.js. For more detailed information about OPTICS clustering algorithm , refer to the below paper.

Ankerst, Mihael, et al. "OPTICS: ordering points to identify the clustering structure." ACM SIGMOD Record 28.2 (1999): 49-60.

Demo

Demo

Usage

optics(data, minPts, epsilon, getter, dist) returns an array of class Point.

  • data: An array of data to be clustered.
  • minPts: Defined in the forementioned paper.
  • epsilon Defined in the forementioned paper.
  • getter: Optional. If data contains other data structures (e.g. Object) rather than vectors (an array of numbers), you should specify how to get a vector from each element of data. The default value is an identity function (e.g. function(d){return d;}) which means each element of data is used as a vector.
  • dist: Optional. A distance function which computes the distance between two vectors. If not specified, the Euclidan distance function is used.

Class Point contains the result of OPTICS clustering for one element of data

  • point.datum
  • point.isProcessed
  • point.coreDistance
  • point.reachability
  • point.index

LICENSE

© 2014, Jaemin Jo. Released under BSD license.

optics.js's People

Contributors

e- avatar

Stargazers

DongHwa Shin avatar SEHI L'YI avatar

Watchers

James Cloos avatar  avatar

Forkers

wonderino

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.