scikit-dimension is a Python module for intrinsic dimension estimation built according to the scikit-learn API. It provides estimators for global and local intrinsic dimension, supporting methods like MLE, DANCo, kNN, and others. Current version 0.3.4 is released under the 3-Clause BSD license. Release cadence is irregular.
pip install scikit-dimensionVerified import paths — ran on the pinned version, not inferred.
Basic usage of MLE estimator on random data.
Replace `.predict(X)` with `.transform(X)` or use `fit_transform(X)`.
Use `from skdim.id import kNN`.
Ensure input data is scaled/normalized appropriately, and consider using the `denoising` parameter if available.
Use `from skdim.local import ...` for local estimators, or check the documentation for the recommended API.