package cpm

  1. Overview
  2. Docs
module L = BatList
val with_in_file : string -> (in_channel -> 'a) -> 'b
val with_out_file : string -> (out_channel -> 'a) -> 'b
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 -> 'b list * 'b 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 -> ('b list * 'b list) list
OCaml

Innovation. Community. Security.