package sklearn

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val check_random_state : seed:[ `Int of int | `RandomState of Py.Object.t | `None ] -> unit -> Py.Object.t

Turn seed into a np.random.RandomState instance

Parameters ---------- seed : None | int | instance of RandomState If seed is None, return the RandomState singleton used by np.random. If seed is an int, return a new RandomState instance seeded with seed. If seed is already a RandomState instance, return it. Otherwise raise ValueError.

module Deprecated : sig ... end
val random_choice_csc : ?class_probability:Py.Object.t -> ?random_state:Py.Object.t -> n_samples:Py.Object.t -> classes:Py.Object.t -> unit -> Py.Object.t

DEPRECATED: random_choice_csc is deprecated in version 0.22 and will be removed in version 0.24.

OCaml

Innovation. Community. Security.