'Args:
filename (str): input file
shuffle (bool): shuffle the data'

def __init__(self, filename, shuffle=True):

    import sklearn.datasets
    (self.X, self.y) = sklearn.datasets.load_svmlight_file(filename)
    self.X = np.asarray(self.X.todense())
    self.shuffle = shuffle
