Hi everyone!
I need to inverse an label transform with sklearn. I found this example on web:
from sklearn.preprocessing import LabelEncoder
np.random.seed(1)
y = np.random.randint(0, 2, (10, 7))
y = y[np.where(y.sum(axis=1) != 0)[0]]
array([[1, 1, 0, 0, 1, 1, 1],
[1, 1, 0, 0, 1, 0...