R/estimate_incisingball.R
estimate_incisingball.Rd
Incising ball methods exploits the exponential relationship of the number of samples contained in a ball and the radius of the incising ball.
est.incisingball(X)
an \((n\times p)\) matrix or data frame whose rows are observations.
a named list containing containing
estimated intrinsic dimension.
Fan M, Qiao H, Zhang B (2009). “Intrinsic Dimension Estimation of Manifolds by Incising Balls.” Pattern Recognition, 42(5), 780--787.
# \donttest{
## create an example data with intrinsic dimension 2
X = cbind(aux.gensamples(dname="swiss"),aux.gensamples(dname="swiss"))
## acquire an estimate for intrinsic dimension
output = est.incisingball(X)
sprintf("* est.incisingball : estimated dimension is %d.",output$estdim)
#> [1] "* est.incisingball : estimated dimension is 2."
# }