min_pos
- sklearn.utils.arrayfuncs.min_pos(X)
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.
- Parameters:
- X : ndarray of shape (n,)
Input array.
- Returns:
- min_val : float