Element wise squaring of array-likes and sparse matrices.
Whether to create a copy of X and operate on it or to perform inplace computation (default behaviour).
Return the element-wise square of the input.
Examples
>>> from sklearn.utils import safe_sqr >>> safe_sqr([1, 2, 3]) array([1, 4, 9])
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