package modelkit
Module Modelkit.Null_mask
Immutable rank-two missing-value identity aligned to a feature matrix.
true identifies a source null. The mask is kept separately from feature values so adapters can preserve the distinction between an explicit null and a genuine IEEE NaN.
val init :
rows:int ->
columns:int ->
(int -> int -> bool) ->
(t, Data_error.t) resultval of_arrays : bool array array -> (t, Data_error.t) resultval rows : t -> intval columns : t -> intval shape : t -> int * intval get : t -> int -> int -> boolval null_count : t -> intval to_arrays : t -> bool array array