Intrinsic Dimension Estimation Using Packing Numbers.
pack
estimates intrinsic dimension of given dataset based on the packing number.
pack(x, k1 = NULL, k2 = NULL, greedy = TRUE, eps = 0.01, DM = FALSE)
x |
data matrix or distance matrix given by as.matrix(dist(x)). |
k1 |
first radius parameter. If one of |
k2 |
second radius parameter. |
greedy |
logical. If |
eps |
accuracy parameter. |
DM |
whether |
A variant of fractal dimension called the capacity dimension is considered. The capacity dimension is defined by using the notion of covering number, which is hard to calculate in general. In this function, the packing number of the data space is used as the surrogate of the covering number. The packing number is estimated by greedy manner or by hierarchical clustering.
Estimated global intrinsic dimension.
Hideitsu Hino hideitsu.hino@gmail.com
B. Kegl. Intrinsic dimension estimation using packing numbers. Advances in Neural Information Processing Systems 15, 2002.
B. Eriksson and M. Crovella. Estimating intrinsic dimension via clustering. IEEE Statistical Signal Processing Workshop, 2012.
x <- gendata(DataName='SwissRoll',n=300) estpackG <- pack(x=x,greedy=TRUE) ## estimate the packing number by greedy method print(estpackG) estpackC <- pack(x=x,greedy=FALSE) ## estimate the packing number by cluttering print(estpackC)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.