Module fbleau::utils [−][src]
Utility routines for loading and storing data into files.
Functions
estimate_random_guessing | Estimates the priors on a vector of labels, and computes the random guessing error as 1 - max priors. |
has_integer_support | Returns true if all the elements of the array can be converted into integers without loss. |
load_data | Loads a CSV data file. |
prepare_data | Prepare training and evaluation data. |
scale01 | Scales columns' values in [0,1] with min-max scaling. |
vectors_to_ids | Represents d-dimensional vector objects into 1-dimentional unique ids. |