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.
Input array.
of the input dtype if no positive values are found.
Examples
>>> import numpy as np >>> from sklearn.utils.arrayfuncs import min_pos >>> X = np.array([0, -1, 2, 3, -4, 5]) >>> min_pos(X) 2.0
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4