Implementation of k-nearest neighbors algorithm in Python.
Number of neighbors is parametrized using env MODEL_PARAM_k
.
Works only on single node yet.
compute
Run: ./build.sh
Run: captain test
Run: ./publish.sh
WARNING: unit tests can fail nondeterministically on AttributeError: can't set attribute
because of some error
in Titus port to Python 3
Create symlink from python-knn
to mip_helper
module from python-mip
ln -s ~/projects/python-base-docker-images/python-mip/mip_helper/mip_helper mip_helper
Run unit tests
find . -name \*.pyc -delete
(cd tests; docker-compose run test_suite -x --ff --capture=no)