{"id":19750197,"url":"https://github.com/wepe/knncp","last_synced_at":"2026-05-15T10:04:28.490Z","repository":{"id":87469965,"uuid":"42250262","full_name":"wepe/KnnCP","owner":"wepe","description":" KNN, C++ implement and Python binding","archived":false,"fork":false,"pushed_at":"2015-09-10T14:47:00.000Z","size":136,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-10T21:26:07.200Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wepe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-10T14:40:03.000Z","updated_at":"2018-06-09T07:31:03.000Z","dependencies_parsed_at":"2023-03-03T21:00:26.129Z","dependency_job_id":null,"html_url":"https://github.com/wepe/KnnCP","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wepe%2FKnnCP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wepe%2FKnnCP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wepe%2FKnnCP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wepe%2FKnnCP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wepe","download_url":"https://codeload.github.com/wepe/KnnCP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241080289,"owners_count":19906258,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T02:31:23.590Z","updated_at":"2026-05-15T10:04:23.458Z","avatar_url":"https://github.com/wepe.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"###C++ implement of KNN and Python binding (a practice)\n\n\n- `knn.h`,`knn.cpp`\n- `utils.h`,`utils.cpp`\n- `main.cpp`\n- `makefile`, compile and generate `main`\n- `knn.i`,use swig to wrap c++ for python. ( **still some bug to fix**)\n\n\t- https://github.com/swig/swig/tree/master/Examples/python\n\n\t- http://www.swig.org/Doc3.0/SWIGDocumentation.html#SWIGPlus_class_extension\n\t- other tools:  ctypes,cython\n\n- `X.dat`,`y.dat`，data file.\n\n\n###TO DO\n\n- apply Eigen matrix instead of  ` vector\u003cvector\u003c\u003e \u003e `\n\n- task parallelism (mainly the `predict` method).\n- KDTree\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwepe%2Fknncp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwepe%2Fknncp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwepe%2Fknncp/lists"}