knn circuit using libsnark
a zero-knowledge proof of K-Nearest Neighbor Algorithm
complete installation of libsnark
complete build
you can make change and design your circuit and compile
rm -rf build
mkdir build && cd build &&cmake ..
make
You can find the "knn" binary under the build/knn folder.
cd build
./knn/knn