项目作者: dpfens

项目描述 :
Sequential KMeans algorithm implementation
高级语言: C
项目地址: git://github.com/dpfens/SKM.git
创建时间: 2019-06-26T02:28:40Z
项目社区:https://github.com/dpfens/SKM

开源协议:

下载


K-Means Clustering for Sequential Data

A somewhat parallel implementation (using OpenMP) of The SKM Algorithm: A K-Means Algorithm for Clustering Sequential Data for the purpose of creating language bindings.

Testing

  1. make test
  2. ./bin/test

To customize the data that is used, open src/test.c to modify the data that is used by sequential_kmeans.

Python

The implementation now includes Python bindings. The Python method signature is as follows:

  1. skm(list sequences, int k, int max_iterations, int verbose=0)

Installation

To use/install the implementation from Python, execute in the following bash command to build the bindings with Cython and install the module:

  1. make python