Module rustlearn::utils
[−]
[src]
Internal utils.
Used mostly for checking the inputs to model fitting routines.
Made public to make extending rustlearn easier, but should be treated as semi-public and subject to change.
Structs
EncodableRng |
Wrapper for making random number generators serializable. Does no actual encoding, and merely creates a new generator on decoding. |
Functions
check_data_dimensionality |
Check compatibility of the model dimensions and the number of columns in X. |
check_matched_dimensions | |
check_valid_labels |
Check that the input array contains valid binary classification labels. |