Package: intRinsic 1.1.2

intRinsic: 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, <doi:10.18637/jss.v106.i09>); Allegra et al. (2020, <doi:10.1038/s41598-020-72222-0>); Denti et al. (2022, <doi:10.1038/s41598-022-20991-1>); Facco et al. (2017, <doi:10.1038/s41598-017-11873-y>); Santos-Fernandez et al. (2021, <doi:10.1038/s41598-022-20991-1>).

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

intRinsic_1.1.2.tar.gz
intRinsic_1.1.2.zip(r-4.7-x86_64)intRinsic_1.1.2.zip(r-4.7-arm64)intRinsic_1.1.2.zip(r-4.6-x86_64)intRinsic_1.1.2.zip(r-4.6-arm64)intRinsic_1.1.2.zip(r-4.5-x86_64)
intRinsic_1.1.2.tgz(r-4.6-x86_64)intRinsic_1.1.2.tgz(r-4.6-arm64)intRinsic_1.1.2.tgz(r-4.5-x86_64)intRinsic_1.1.2.tgz(r-4.5-arm64)
intRinsic_1.1.2.tar.gz(r-4.7-arm64)intRinsic_1.1.2.tar.gz(r-4.7-x86_64)intRinsic_1.1.2.tar.gz(r-4.6-arm64)intRinsic_1.1.2.tar.gz(r-4.6-x86_64)
intRinsic_1.1.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
intRinsic/json (API)

# Install 'intRinsic' in R:
install.packages('intRinsic', repos = c('https://fradenti.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/fradenti/intrinsic/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

On CRAN:

Conda:

cppopenmp

3.89 score 13 stars 12 scripts 326 downloads 17 exports 38 dependencies

Last updated from:ae926a618e. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK153
linux-devel-x86_64OK139
source / vignettesOK228
linux-release-arm64OK147
linux-release-x86_64OK153
macos-release-arm64OK137
macos-release-x86_64OK357
macos-oldrel-arm64OK123
macos-oldrel-x86_64OK312
windows-devel-arm64OK253
windows-devel-x86_64OK178
windows-release-arm64OK244
windows-release-x86_64OK129
windows-oldrel-x86_64OK120
wasm-releaseOK134

Exports:autoplotclusteringcompute_muscredible_intervalsdgeragridegride_evolutionHidalgoid_by_classinitial_valuesposterior_meansposterior_mediansrgeraSwissrolltwonntwonn_decimatedtwonn_decimation

Dependencies:clicpp11dplyrevaluatefarverFNNgenericsggplot2gluegtablehighrisobandknitrlabelinglifecyclemagrittrpillarpkgconfigplyrR6RColorBrewerRcppRcppArmadilloreshape2rlangS7salsoscalesstringistringrtibbletidyselectutf8vctrsviridisLitewithrxfunyaml

Readme and manuals

Help Manual

Help pageTopics
Plot the simulated MCMC chains for the Bayesian 'Gride'autoplot.gride_bayes
Plot the evolution of 'Gride' estimatesautoplot.gride_evolution
Plot the simulated bootstrap sample for the MLE 'Gride'autoplot.gride_mle
Plot the output of the 'Hidalgo' functionautoplot.Hidalgo
Plot the output of the 'TWO-NN' model estimated via the Bayesian approachautoplot.twonn_bayes
Plot the output of the 'TWO-NN' model estimated via least squaresautoplot.twonn_linfit
Plot the output of the 'TWO-NN' model estimated via the Maximum Likelihood approachautoplot.twonn_mle
Auxiliary functions for the 'Hidalgo' modelauxHidalgo credible_intervals initial_values posterior_means posterior_medians
Posterior similarity matrix and partition estimationclustering plot.hidalgo_psm print.hidalgo_psm
Compute the ratio statistics needed for the intrinsic dimension estimationcompute_mus plot.mus print.mus print.mus_Nq
The Generalized Ratio distributiondgera generalized_ratios_distribution rgera
'Gride': the Generalized Ratios ID Estimatorgride plot.gride_bayes plot.gride_mle print.gride_bayes print.gride_mle print.summary.gride_bayes print.summary.gride_mle summary.gride_bayes summary.gride_mle
'Gride' evolution based on Maximum Likelihood Estimationgride_evolution plot.gride_evolution print.gride_evolution
Fit the 'Hidalgo' modelHidalgo plot.Hidalgo print.Hidalgo print.summary.Hidalgo summary.Hidalgo
Stratification of the 'id' by an external categorical variableid_by_class print.hidalgo_class
Generates a noise-free Swiss roll datasetSwissroll
'TWO-NN' estimatorplot.twonn_bayes plot.twonn_linfit plot.twonn_mle print.summary.twonn_bayes print.summary.twonn_linfit print.summary.twonn_mle print.twonn_bayes print.twonn_linfit print.twonn_mle summary.twonn_bayes summary.twonn_linfit summary.twonn_mle twonn
Estimate the decimated 'TWO-NN' evolution with halving steps or vector of proportionstwonn_decimated
Estimate the decimated 'TWO-NN' evolution with halving steps or vector of proportionsplot.twonn_dec_by plot.twonn_dec_prop print.twonn_dec_by print.twonn_dec_prop twonn_decimation