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

        with open('%s/sample_y.npy'%dir) as yin:
            y = np.load(yin)
            y_tmp = []
            for e in y:
                if e > 150:
                    y_tmp.append(e)

            y_tmp = np.asarray(y_tmp)
            y_tmp = make_one_hot(y_tmp, 1998)

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