package sklearn

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val get_py : string -> Py.Object.t

Get an attribute of this module as a Py.Object.t. This is useful to pass a Python function to another function.

val assign_rows_csr : x:Py.Object.t -> x_rows:Py.Object.t -> out_rows:Py.Object.t -> out:Py.Object.t -> unit -> Py.Object.t

Densify selected rows of a CSR matrix into a preallocated array.

Like outout_rows = XX_rows.toarray() but without copying. No-copy supported for both dtype=np.float32 and dtype=np.float64.

Parameters ---------- X : scipy.sparse.csr_matrix, shape=(n_samples, n_features) X_rows : array, dtype=np.intp, shape=n_rows out_rows : array, dtype=np.intp, shape=n_rows out : array, shape=(arbitrary, n_features)

OCaml

Innovation. Community. Security.