[−][src]Function fbleau::utils::load_data
pub fn load_data<T>(
fname: &str
) -> Result<(Array2<T>, Array1<Label>), Box<dyn Error>> where
T: FromStr,
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.