{"id":15296145,"url":"https://github.com/mlampros/kernelknn","last_synced_at":"2025-04-13T19:31:53.707Z","repository":{"id":56934472,"uuid":"63012191","full_name":"mlampros/KernelKnn","owner":"mlampros","description":"Kernel k Nearest Neighbors in R","archived":false,"fork":false,"pushed_at":"2023-01-07T05:33:56.000Z","size":441,"stargazers_count":17,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-13T03:54:04.202Z","etag":null,"topics":["cpp11","distance-metric","kernel-methods","knn","r","rcpparmadillo"],"latest_commit_sha":null,"homepage":"https://mlampros.github.io/KernelKnn/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mlampros.png","metadata":{"funding":{"github":["mlampros"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null},"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}},"created_at":"2016-07-10T18:13:38.000Z","updated_at":"2023-07-11T19:05:50.000Z","dependencies_parsed_at":"2023-02-06T12:45:20.955Z","dependency_job_id":null,"html_url":"https://github.com/mlampros/KernelKnn","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/mlampros%2FKernelKnn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlampros%2FKernelKnn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlampros%2FKernelKnn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlampros%2FKernelKnn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mlampros","download_url":"https://codeload.github.com/mlampros/KernelKnn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248767963,"owners_count":21158565,"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":["cpp11","distance-metric","kernel-methods","knn","r","rcpparmadillo"],"created_at":"2024-09-30T18:09:33.973Z","updated_at":"2025-04-13T19:31:53.134Z","avatar_url":"https://github.com/mlampros.png","language":"R","readme":"\n[![tic](https://github.com/mlampros/KernelKnn/workflows/tic/badge.svg?branch=master)](https://github.com/mlampros/KernelKnn/actions)\n[![codecov.io](https://codecov.io/github/mlampros/KernelKnn/coverage.svg?branch=master)](https://codecov.io/github/mlampros/KernelKnn?branch=master)\n[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/KernelKnn)](http://cran.r-project.org/package=KernelKnn)\n[![Downloads](http://cranlogs.r-pkg.org/badges/grand-total/KernelKnn?color=blue)](http://www.r-pkg.org/pkg/KernelKnn)\n\u003ca href=\"https://www.buymeacoffee.com/VY0x8snyh\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" height=\"21px\" \u003e\u003c/a\u003e\n[![](https://img.shields.io/docker/automated/mlampros/kernelknn.svg)](https://hub.docker.com/r/mlampros/kernelknn)\n[![Dependencies](https://tinyverse.netlify.com/badge/KernelKnn)](https://cran.r-project.org/package=KernelKnn)\n\n\n## KernelKnn\n\u003cbr\u003e\n\nThe KernelKnn package extends the simple k-nearest neighbors algorithm by incorporating numerous kernel functions and a variety of distance metrics. The package takes advantage of 'RcppArmadillo' to speed up the calculation of distances between observations. More details on the functionality of KernelKnn can be found in the [blog-post](http://mlampros.github.io/2016/07/10/KernelKnn/) and in the package Vignettes ( *scroll down for information on how to use the* **docker image** ).\n\u003cbr\u003e\u003cbr\u003e\n\nTo install the package from CRAN use, \n\n```R\n\ninstall.packages(\"KernelKnn\")\n\n\n```\n\u003cbr\u003e\n\nand to download the latest version from Github use the *install_github* function of the devtools package,\n\u003cbr\u003e\u003cbr\u003e\n\n```R\n\ndevtools::install_github('mlampros/KernelKnn')\n\n\n```\n\u003cbr\u003e\n\nUse the following link to report bugs/issues,\n\u003cbr\u003e\u003cbr\u003e\n\n[https://github.com/mlampros/KernelKnn/issues](https://github.com/mlampros/KernelKnn/issues)\n\n\n\u003cbr\u003e\n\n**UPDATE 29-11-2019**\n\n\u003cbr\u003e\n\n**Docker images** of the *KernelKnn* package are available to download from my [dockerhub](https://hub.docker.com/r/mlampros/kernelknn) account. The images come with *Rstudio* and the *R-development* version (latest) installed. The whole process was tested on Ubuntu 18.04. To **pull** \u0026 **run** the image do the following,\n\n\u003cbr\u003e\n\n```R\n\ndocker pull mlampros/kernelknn:rstudiodev\n\ndocker run -d --name rstudio_dev -e USER=rstudio -e PASSWORD=give_here_your_password --rm -p 8787:8787 mlampros/kernelknn:rstudiodev\n\n```\n\n\u003cbr\u003e\n\nThe user can also **bind** a home directory / folder to the image to use its files by specifying the **-v** command,\n\n\u003cbr\u003e\n\n```R\n\ndocker run -d --name rstudio_dev -e USER=rstudio -e PASSWORD=give_here_your_password --rm -p 8787:8787 -v /home/YOUR_DIR:/home/rstudio/YOUR_DIR mlampros/kernelknn:rstudiodev\n\n\n```\n\n\u003cbr\u003e\n\nIn the latter case you might have first give permission privileges for write access to **YOUR_DIR** directory (not necessarily) using,\n\n\u003cbr\u003e\n\n```R\n\nchmod -R 777 /home/YOUR_DIR\n\n\n```\n\n\u003cbr\u003e\n\nThe **USER** defaults to *rstudio* but you have to give your **PASSWORD** of preference (see [https://rocker-project.org](https://rocker-project.org/) for more information).\n\n\u003cbr\u003e\n\nOpen your web-browser and depending where the docker image was *build / run* give, \n\n\u003cbr\u003e\n\n**1st. Option** on your personal computer,\n\n\u003cbr\u003e\n\n```R\nhttp://0.0.0.0:8787 \n\n```\n\n\u003cbr\u003e\n\n**2nd. Option** on a cloud instance, \n\n\u003cbr\u003e\n\n```R\nhttp://Public DNS:8787\n\n```\n\n\u003cbr\u003e\n\nto access the Rstudio console in order to give your username and password.\n\n\u003cbr\u003e\n\n### **Citation:**\n\nIf you use the **KernelKnn** R package in your paper or research please cite [https://CRAN.R-project.org/package=KernelKnn/citation.html](https://CRAN.R-project.org/package=KernelKnn/citation.html):\n\n\u003cbr\u003e\n\n```R\n@Manual{,\n  title = {{KernelKnn}: Kernel k Nearest Neighbors},\n  author = {Lampros Mouselimis},\n  year = {2021},\n  note = {R package version 1.1.5},\n  url = {https://CRAN.R-project.org/package=KernelKnn},\n}\n```\n\n\u003cbr\u003e\n\n","funding_links":["https://github.com/sponsors/mlampros","https://www.buymeacoffee.com/VY0x8snyh"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlampros%2Fkernelknn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmlampros%2Fkernelknn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlampros%2Fkernelknn/lists"}