Skip to content
This repository has been archived by the owner on Oct 18, 2019. It is now read-only.
/ spectre-divik Public archive

Python implementation of DiviK algorithm. This repository is deprecated and the project is continued at https://github.com/gmrukwa/divik

License

Notifications You must be signed in to change notification settings

spectre-team/spectre-divik

Repository files navigation

CodeFactor BCH compliance Maintainability Windows build status Linux build Status

Spectre

spectre-divik

Python implementation of Divisive iK-means (DiviK) algorithm.

Tools within this package

This section will be further developed soon.

  1. divik - runs DiviK in one of many scenarios
  2. kmeans - runs K-means
  3. linkage - runs agglomerative clustering
  4. inspect - visualizes DiviK result
  5. visualize - generates .png file with visualization of clusters
  6. spectral - generates spectral embedding of a dataset

Installation

Docker

The recommended way to use this software is through Docker. This is the most convenient way, if you want to use divik application, since it requires MATLAB Compiler Runtime and more dependencies.

To install latest stable version use:

docker pull gmrukwa/divik

To install specific version, you can specify it in the command, e.g.:

docker pull gmrukwa/divik:1.12.0

Python package

Prerequisites for installation of base package:

These are required for using divik application:

Installation process may be clearer with insight into Docker images used for application deployment:

Functional helpers should be installed with:

pip install git+https://github.com/gmrukwa/functional-helpers.git@2e68a8801f894a14601d70db76086ada723bac35#egg=functional_helpers

Having prerequisites installed, one can install latest base version of the package:

pip install git+https://github.com/spectre-team/spectre-divik.git@master#egg=spectre-divik

or any stable tagged version, e.g.:

pip install git+https://github.com/spectre-team/spectre-divik.git@v1.12.0#egg=spectre-divik

Installation of divik program dependencies can be validated via:

pip install git+https://github.com/spectre-team/spectre-divik.git@master#egg=spectre-divik[divik]

Note: Using zsh you may need to escape square brackets with \

If you want to take advantage of using Quilt for data management, you can install also this extra:

pip install git+https://github.com/spectre-team/spectre-divik.git@master#egg=spectre-divik[quilt_packages]

References

This software is part of contribution made by Data Mining Group of Silesian University of Technology, rest of which is published here.

About

Python implementation of DiviK algorithm. This repository is deprecated and the project is continued at https://github.com/gmrukwa/divik

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages