chlorochrule / cknn

Implementation of Continuous k-Nearest Neighbors in Python

Home Page:https://chlorochrule.github.io/cknn/cknn.html#

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Continuous k-Nearest Neighbors in Python

Note: This package supports Python 3.6 or newer.

This is a Python implementation of Continuous k-Nearest Neighbors(CkNN) proposed in the paper 'Consistent Manifold Representation for Topological Data Analysis' (https://arxiv.org/pdf/1606.02353.pdf)

license Build Status

Installation

This package only depends on numpy and scipy. The package can be installed via pip:

$ pip install git+https://github.com/chlorochrule/cknn

Usage

X is a data matrix. A simple example is like:

from cknn import cknneighbors_graph

ckng = cknneighbors_graph(X, n_neighbors=5, delta=1.0)

License

MIT

About

Implementation of Continuous k-Nearest Neighbors in Python

https://chlorochrule.github.io/cknn/cknn.html#

License:MIT License


Languages

Language:Python 95.5%Language:Shell 4.5%