Does tensorflow have something similar to scikit learn\'s one hot encoder for processing categorical data? Would using a placeholder of tf.string behave as categorical data
numpy does it!
numpy
import numpy as np np.eye(n_labels)[target_vector]