package sklearn

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

## module Array.Int

Build a dense Array containing integers. The integers are actually stored as nativeints inside the Array.

val vector : int array -> t

### vector

Build a vector from an OCaml int array.

val matrix : int array array -> t

### matrix

Build a dense matrix from an OCaml int array array.

### of_bigarray

Build a dense tensor from a bigarray. The data is not copied, and is shared between the bigarray and the Pyhon Array. You may find Owl useful for building the bigarray.

val matrices : int array array list -> List.t

### matrices

Build a Python list of Arrays, with each Array being a matrix initialized from an OCaml int array array.

val vectors : int array list -> List.t

### vectors

Build a Python list of Arrays, with each Array being a vector initialized from an OCaml int array.

OCaml

Innovation. Community. Security.