sklearn.utils.safe_sqr(X, copy=True)
[source]
Element wise squaring of array-likes and sparse matrices.
Parameters: |
|
---|---|
Returns: |
|
© 2007–2018 The scikit-learn developers
Licensed under the 3-clause BSD License.
http://scikit-learn.org/stable/modules/generated/sklearn.utils.safe_sqr.html