package sklearn

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type tag = [
  1. | `Sequence
]
type t = [ `Object | `Sequence ] Obj.t
val of_pyobject : Py.Object.t -> t
val to_pyobject : [> tag ] Obj.t -> Py.Object.t
val get_item : index:Py.Object.t -> [> tag ] Obj.t -> Py.Object.t

None

val iter : [> tag ] Obj.t -> Dict.t Seq.t

None

val count : value:Py.Object.t -> [> tag ] Obj.t -> Py.Object.t

S.count(value) -> integer -- return number of occurrences of value

val index : ?start:Py.Object.t -> ?stop:Py.Object.t -> value:Py.Object.t -> [> tag ] Obj.t -> Py.Object.t

S.index(value, start, [stop]) -> integer -- return first index of value. Raises ValueError if the value is not present.

Supporting start and stop arguments is optional, but recommended.

val to_string : t -> string

Print the object to a human-readable representation.

val show : t -> string

Print the object to a human-readable representation.

val pp : Format.formatter -> t -> unit

Pretty-print the object to a formatter.

OCaml

Innovation. Community. Security.