usecrate::{error::LtrError, DataSet};/// SVM-light format loader.
pubmodsvmlight;/// Defines the interface for loading and saving a dataset given a file path
/// It's useful because models can load datasets directly from a file path.
pubtraitLtrFormat{/// Loads a dataset from a file path.
////// # Arguments
/// * `path` - The path to the file.
////// # Returns
/// A `DataSet` with the data loaded from the file.
fnload(path:&str)->Result<DataSet, LtrError>;/// Saves a dataset to a file path.
////// # Arguments
/// * `path` - The path to the file.
/// * `dataset` - The dataset to be saved.
////// # Returns
/// A `Result` with the success of the operation.
fnsave(path:&str, dataset:&DataSet)->Result<(), LtrError>;}