/intRinsic

Public repository for the R package intRinsic

Primary LanguageROtherNOASSERTION

intRinsic

R-CMD-check

A package with functions to estimate the intrinsic dimension of a dataset via likelihood-based approaches. Specifically, the package implements the TWO-NN and Gride estimators and the Hidalgo Bayesian mixture model.

To install the package from CRAN, run

install.packages("intRinsic")

To install the package from this GitHub repository, run

# install.packages("remotes")

#Turn off warning-error-conversion regarding package versions
Sys.setenv("R_REMOTES_NO_ERRORS_FROM_WARNINGS" = "true")

#install from github
remotes::install_github("Fradenti/intRinsic")

Simple example on Swissroll dataset

library(intRinsic)
X <- Swissroll(2000)
twonn(X)

The updated vignette for this package is available on ArXiv, at this link.

Please note that the original version of the package (v0.1.0) is still available under the GitHub release with tag v0.1.0 at this page.