scikit-learn 0.22.dev0 Other versions
Please cite us if you use the software.
sklearn.utils.extmath
sklearn.utils.extmath.
density
Compute density of a sparse vector
The sparse vector
The density of w, between 0 and 1