Package: LCCkNN 0.1.0
LCCkNN: Adaptive k-Nearest Neighbor Classifier Based on Local Curvature Estimation
Implements the kK-NN algorithm, an adaptive k-nearest neighbor classifier that adjusts the neighborhood size based on local data curvature. The method estimates local Gaussian curvature by approximating the shape operator of the data manifold. This approach aims to improve classification performance, particularly in datasets with limited samples.
Authors:
LCCkNN_0.1.0.tar.gz
LCCkNN_0.1.0.zip(r-4.7)LCCkNN_0.1.0.zip(r-4.6)LCCkNN_0.1.0.zip(r-4.5)
LCCkNN_0.1.0.tgz(r-4.6-any)LCCkNN_0.1.0.tgz(r-4.5-any)
LCCkNN_0.1.0.tar.gz(r-4.7-any)LCCkNN_0.1.0.tar.gz(r-4.6-any)
LCCkNN_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
LCCkNN/json (API)
| # Install 'LCCkNN' in R: |
| install.packages('LCCkNN', repos = c('https://gabrielforest.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/gabrielforest/lccknn/issues
Last updated from:711eae6ed0. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 125 | ||
| source / vignettes | OK | 183 | ||
| linux-release-x86_64 | OK | 119 | ||
| macos-release-arm64 | OK | 165 | ||
| macos-oldrel-arm64 | OK | 121 | ||
| windows-devel | OK | 78 | ||
| windows-release | OK | 90 | ||
| windows-oldrel | OK | 144 | ||
| wasm-release | OK | 126 |
Exports:balanced_accuracy_scorecurvature_estimationkKNNpoint_curvature_estimationquantizesigmoid
Dependencies:bitopscaretcaToolsclasscliclockcodetoolscpp11data.tablediagramdigestdplyre1071farverFNNforeachfuturefuture.applygenericsggplot2globalsgluegowergplotsgtablegtoolshardhatipredisobanditeratorsKernSmoothlabelinglatticelavalifecyclelistenvlubridatemagrittrMASSMatrixMLmetricsModelMetricsnlmennetnumDerivparallellypillarpkgconfigplyrpROCprodlimprogressrproxypurrrR6RColorBrewerRcpprecipesreshape2rlangROCRrpartS7scalesshapesparsevctrsSQUAREMstringistringrsurvivaltibbletidyrtidyselecttimechangetimeDatetzdbutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Computes balanced accuracy. | balanced_accuracy_score |
| Computes the curvatures of all samples in the training set. | curvature_estimation |
| Computes the F1-score. | f1_score |
| Adaptive k-Nearest Neighbor Classifier | kKNN |
| Computes the curvature of a single test sample's neighborhood. | point_curvature_estimation |
| Quantizes real values to integer levels. | quantize |
| A helper sigmoid function. | sigmoid |
| Standard k-NN classifier. | testa_KNN |
