turicreate.Sketch.std — Turi Create API 6.4.1 documentation (original) (raw)

Turi Create API


Sketch. std()

Returns the standard deviation of the values in the SArray. Returns 0 on an empty array. Throws an exception if called on an SArray with non-numeric type.

Returns: out : float The standard deviation of all the values. Returns 0 if the sarray is empty.
Raises: RuntimeError If the sarray is a non-numeric type.