[][src]Function random_world::utils::load_data

pub fn load_data(
    fname: &str
) -> Result<(Array2<f64>, Array1<usize>), Box<dyn Error>>

Loads a CSV data file.

The file format should be, for each row: label, x1, x2, ... where x1, x2, ... are features forming a feature vector.