package cpm

  1. Overview
  2. Docs
module L = BatList
val with_in_file : string -> (in_channel -> 'a) -> 'a
val with_out_file : string -> (out_channel -> 'a) -> 'a
val get_command_output : ?debug:bool -> string -> string
val lines_of_file : string -> string list
val train_test_split : float -> 'a list -> 'a list * 'a list
val shuffle_then_cut : int -> float -> 'a list -> 'a list * 'a list
val list_nparts : int -> 'a list -> 'a list list
val cv_folds : int -> 'a list -> ('a list * 'a list) list
val shuffle_then_nfolds : int -> int -> 'a list -> ('a list * 'a list) list
OCaml

Innovation. Community. Security.