def __init__(self, **kwargs):
        dir = '/home/stuwzhz/datasets/spectral-features/npy2'

        with open('%s/sample_y.npy'%dir) as yin, \
            open('%s/sample_X.npy'%dir) as Xin:
            y = np.load(yin)
            y = make_one_hot(y, 1998)
            X = np.load(Xin)

        super(I2R_Posterior_NoisyFeat_Sample, self).__init__(X=X, y=y, **kwargs)
dataset/ETHPy150Open hycis/Pynet/pynet/datasets/i2r.py/I2R_Posterior_NoisyFeat_Sample.__init__/original