package modelkit

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

Module Modelkit.Leave_one_out

Exhaustive single-row testing in source order.

type t
type params = unit
val create : unit -> t

Requires at least two rows. Each row is tested once against all remaining training rows. RNG, targets, and groups are ignored. Views are emitted eagerly and require quadratic total index storage. Single-row scores such as R-squared can be undefined; select an appropriate scorer.

include SPLITTER with type t := t and type params := params and type target = unit and type rng = Rng.t
include SPECIFICATION with type t := t with type params := params
val clone : t -> t
val params : t -> params
type target = unit
type rng = Rng.t
val split : t -> rng:rng -> ?groups:Groups.t -> x:Matrix.t -> y:target option -> unit -> ((Row_view.t * Row_view.t) array, Error.t) result