package modelkit

  1. Overview
  2. Docs
Portable classical machine learning workflows for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

modelkit-0.5.0.tbz
sha256=1fe8fa7c7f904dd098a21a2ca30fd69230750b8cf8aa2ae481b97a16531b47b4
sha512=c946cd1ac014726f4d21791e14d806a205680e6edfa2f80ed8d3680f24f48ca3c5a2f89d5afa68c11eac4053ead448b6381fb3d06dc8ff129097af6c69b262fb

doc/modelkit/Modelkit/Data_error/index.html

Module Modelkit.Data_error

Typed failures raised while admitting and aligning data.

type t =
  1. | Negative_dimension of {
    1. name : string;
    2. value : int;
    }
  2. | Ragged_matrix of {
    1. row : int;
    2. expected_columns : int;
    3. observed_columns : int;
    }
  3. | Length_mismatch of {
    1. name : string;
    2. expected : int;
    3. observed : int;
    }
  4. | Index_out_of_bounds of {
    1. name : string;
    2. index : int;
    3. upper_bound : int;
    }
  5. | Non_finite of {
    1. name : string;
    2. index : int;
    3. value : float;
    }
  6. | Negative_weight of {
    1. index : int;
    2. value : float;
    }
  7. | All_zero_weights
  8. | Empty_feature_name of {
    1. index : int;
    }
  9. | Duplicate_feature_name of {
    1. name : string;
    2. first_index : int;
    3. duplicate_index : int;
    }
  10. | Csr_row_offset_mismatch of {
    1. position : int;
    2. expected : int;
    3. observed : int;
    }
  11. | Invalid_csr_row_offset of {
    1. position : int;
    2. previous : int;
    3. observed : int;
    4. nonzero_count : int;
    }
  12. | Invalid_csr_column_order of {
    1. row : int;
    2. previous : int;
    3. observed : int;
    }
val pp : Format.formatter -> t -> unit
val to_string : t -> string