Likelihood-Based Intrinsic Dimension Estimators

Provides 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. In addition, the first reference contains an extended vignette on the usage of the 'TWO-NN' and 'Hidalgo' models. References: Denti (2023, ); Allegra et al. (2020, ); Denti et al. (2022, ); Facco et al. (2017, ); Santos-Fernandez et al. (2021, ).


intRinsic v1.1.2

CRAN LastCommit Downloads(monthly) Downloads(total) JSS

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 vignette for this package has been published in the Journal of Statistical Software. The article can be found at this link.

Please help me improve this package by reporting suggestions, typos, and issues at this link.

Please note that the previous versions of the package (from v0.1.0 to v1.1.1) are still available as GitHub Releases at this page.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("intRinsic")

1.1.2 by Francesco Denti, 10 months ago


https://github.com/Fradenti/intRinsic


Report a bug at https://github.com/fradenti/intRinsic/issues


Browse source code at https://github.com/cran/intRinsic


Authors: Francesco Denti [aut, cre, cph] (ORCID: , Andrea Gilardi [aut]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports dplyr, FNN, ggplot2, knitr, Rcpp, reshape2, rlang, stats, utils, salso

Linking to Rcpp, RcppArmadillo


See at CRAN