{"id":21726451,"url":"https://github.com/agung96tm/learn-knn","last_synced_at":"2026-05-17T00:02:22.990Z","repository":{"id":262804754,"uuid":"888408441","full_name":"agung96tm/learn-knn","owner":"agung96tm","description":"Python implementation of the K-Nearest Neighbors (KNN) algorithm.","archived":false,"fork":false,"pushed_at":"2024-11-14T10:58:26.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T19:30:47.414Z","etag":null,"topics":["knn","knn-algorithm","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agung96tm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-14T10:52:19.000Z","updated_at":"2024-11-14T11:00:06.000Z","dependencies_parsed_at":"2024-11-14T11:48:06.351Z","dependency_job_id":null,"html_url":"https://github.com/agung96tm/learn-knn","commit_stats":null,"previous_names":["agung96tm/learn-knn"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agung96tm%2Flearn-knn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agung96tm%2Flearn-knn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agung96tm%2Flearn-knn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agung96tm%2Flearn-knn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agung96tm","download_url":"https://codeload.github.com/agung96tm/learn-knn/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244706528,"owners_count":20496570,"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":["knn","knn-algorithm","python"],"created_at":"2024-11-26T03:27:20.902Z","updated_at":"2025-10-20T03:33:03.863Z","avatar_url":"https://github.com/agung96tm.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Learn KNN\n========================================\nPython implementation of the K-Nearest Neighbors (KNN) algorithm.\n\n## How To Run\n\n```shell\npython3 -m venv venv\npip install -r requirements.txt\npython main.py\n#  output: results/result.csv\n```\n\n\n## Results\n```\n| X1  | X2  | Result |      |      | X1  | X2  | Predicted_Result |\n| --- | --- | ------ | ---- | ---- | --- | --- | ---------------- |\n| 1   | 2   | True   |      |      | 9.0 | 9.0 | True             |\n| 3   | 5   | False  |      |      | 4.0 | 4.0 | True             |\n| 4   | 3   | True   |      |      | 3.0 | 5.0 | False            |\n| 5   | 3   | True   |      |      |     |     |                  |\n| 6   | 4   | False  |      |      |     |     |                  |\n| 7   | 5   | True   |      |      |     |     |                  |\n| 1   | 6   | True   |      |      |     |     |                  |\n| 3   | 7   | False  |      |      |     |     |                  |\n| 5   | 9   | True   |      |      |     |     |                  |\n| 6   | 9   | True   |      |      |     |     |                  |\n\n```\n\n\n## Contributors\n* Agung Yuliyanto: [Github](https://github.com/agung96tm), [LinkedIn](https://www.linkedin.com/in/agung96tm/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagung96tm%2Flearn-knn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagung96tm%2Flearn-knn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagung96tm%2Flearn-knn/lists"}