MiNDML validation ledger#
Status: validated for believe14 0.1.0.
Primary source: Lombardi et al., Minimum Neighbor Distance Estimators of Intrinsic Dimension, ECML PKDD 2011, LNCS 6912, 374–389, doi:10.1007/978-3-642-23783-6_24.
Statistic:
rho_i=T_1(i)/T_{k+1}(i)andg(r;k,d)=k d r^(d-1)(1-r^d)^(k-1). The summed log likelihood is evaluated withlog(-expm1(d log(rho))), then maximized continuously on the closed interval[1,max_dimension], including explicit endpoint comparisons.Convention: default
k=10; default upper bound is ambient feature count. The continuous maximum is returned without the integer rounding used by some secondary implementations.Output: one real
dimension_, normalized distances, maximized log likelihood, normalized score residual, optimizer evaluations, and an explicit boundary warning where applicable.Invariances: translation, orthogonal transformation, uniform scaling, and row permutation. Stable row index resolves equal-distance neighbor identity.
Failure policy: reject zero radii and, for
k>1, a tie between the first and(k+1)-st radii where the density vanishes. Fork=1, ties are admissible: the density isd*rho**(d-1), with valuedat one. No clipping, jitter, or observation removal is permitted. If a required exposed normalized radius underflows to zero, fitting raisesFloatingPointError. Likelihood and score evaluation preserve small complements of powers near one.Advertised regime: locally uniform sampling within the
(k+1)-neighbor ball; finite-sample boundary and high-dimension bias should be inspected via the retained likelihood and diagnostics.Complexity:
O(n^2(p + log n) + Tn)time andO(np + n^2)peak memory; symbols follow the method catalog. Rdimtools is not an oracle.Independent evidence: literal ratio/likelihood/score fixture, closed-bound checks, invariance and tie tests, and two-dimensional uniform recovery. The implementation was derived independently of Rdimtools.