package sklearn

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val stable_cumsum : ?axis:Py.Object.t -> ?rtol:Py.Object.t -> ?atol:Py.Object.t -> arr:Ndarray.t -> unit -> Py.Object.t

Use high precision for cumsum and check that final value matches sum

Parameters ---------- arr : array-like To be cumulatively summed as flat axis : int, optional Axis along which the cumulative sum is computed. The default (None) is to compute the cumsum over the flattened array. rtol : float Relative tolerance, see ``np.allclose`` atol : float Absolute tolerance, see ``np.allclose``

OCaml

Innovation. Community. Security.