The likelihood of the rate parameter of the Poisson process, which characterize the behaviour of
the distance from a point to another point in the given dataset, is considered, and the maximum likelihood estimator (MLE) for the intrinsic dimension is derived.
The original method proposed by Levina and Bickel contains a known bias, and it is corrected by Mackay and Ghahramani. This function implements both, with the default the bias corrected estimate.
References
E. Levina and P. J. Bickel. Maximum likelihood estimation of
intrinsic dimension. Advances in Neural Information Processing Systems 17, 2005.