@classmethod
def load_matlab(cls, fname):
    """Create a dataset by reading a Matlab file containing one variable
        called 'data' which is an array of nSamples * nFeatures + 1 and
        contains the class in the first column."""
    from mlabwrap import mlab
    d = mlab.load(fname)
    return cls(d.data[:, (0)], d.data[:, 1:])
