Skip to content

indoor-analytics/path-clustering

Repository files navigation

@indoor-analytics/path-clustering

Clusters a bunch of paths with graph representation.

How to use

Add this line to ~/.npmrc to set up the package registry:

@indoor-analytics:registry=https://npm.pkg.github.com/indoor-analytics

In your project, install the package:

npm i --save @indoor-analytics/path-clustering

Import the function in your code:

import {clusterPaths} from '@indoor-analytics/path-clustering';

Algorithm formalization

  • Convert all inputs path into a graph;
  • Truncate graph nodes regarding the provided zone of interest;
  • cluster or split graph at will;
  • Convert graph remaining nodes into paths.

Cluster

TODO

Split

TODO

About

Clusters a bunch of paths with graph representation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published