This is documentation for an old release of Scikit-learn (version 1.2). Try the latest stable release (version 1.6) or development (unstable) versions.

sklearn.utils.arrayfuncs.min_pos

sklearn.utils.arrayfuncs.min_pos()

Find the minimum value of an array over positive values

Returns the maximum representable value of the input dtype if none of the values are positive.