Coder Social home page Coder Social logo

eakmeans's Introduction

WHAT:
-------------------------------------------
* Implementations of fast exact k-means algorithms as described in http://arxiv.org/abs/1602.02514 and implementations of turbo-charged mini-batch k-means as described in http://arxiv.org/pdf/1602.02934

for interfaces
(LIB) Shared library with accompanying C++ header file
(EX) Command-line exectuble
(PY) Python library


REQUIREMENTS:
-------------------------------------------
Minimal installation requirements:
-- C++ compiler supporting C++11
-- Linux operating system

Optional but recommended:
-- BLAS implementation, we recommend this one : http://www.openblas.net/

Specific to Python library:
-- Python and Cython


CONFIGURATION:
-------------------------------------------
In Makefile, set USEBLAS to either NO or YES
if USEBLAS = YES, then set LIBBLASDIR, INCBLASDIR (unless blas paths will be found automatically)


BUILDING:
-------------------------------------------
For (LIB) and (EX) and (PY) : `make all'
For (EX) : `make main'
For (LIB) : `make lib'

USING: 
-------------------------------------------
(EX) If succesfully installed, you should find an executable in directory bin
Run the executable with -h flag to see the options

(LIB) You need to add lib directory to your LD_LIBRARY_PATH : put the following line in your ~/.bashrc file
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/path/to/kmeans/lib
 
(PY) If successfully installed, you should be able to `import kmeans' when in directory lib. 
To use from a different directory, 

(a) as per (LIB), and

(b) add the path to lib to your python path, either by
export PYTHONPATH=${PYTHONPATH}:/path/to/kmeans/lib
or directly in your python script : import sys, sys.path.insert(0,'/path/to/kmeans/lib')
Example use is found in examples/examples.py



DOESN'T WORK?
-------------------------------------------
Please contact me at [email protected]

eakmeans's People

Contributors

newling avatar

Watchers

James Cloos avatar kuangzhenxi avatar

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.