openml 0.1.2

A rust interface to [OpenML](http://openml.org/).
Documentation
use arff::dynamic::DataSet as ArffDataSet;

/// An arbitrary data set
#[derive(Debug)]
pub(crate) struct DataSet {
    pub(crate) arff: ArffDataSet,
    pub(crate) target: Option<String>,
}

impl DataSet {
    /// return two `ArffDataSet`s; one containing the features and the other containing the target
    /// variable.
    pub(crate) fn clone_split(&self) -> Option<(ArffDataSet, ArffDataSet)> {
        match self.target {
            None => None,
            Some(ref col) => {
                let data = self.arff.clone();
                Some(data.split_one(col))
            }
        }
    }
}