In the UNQ_C3 function,
this comment is missleading :
# Step 3: Convert indices to one-hot vectors, the shape of the results should be (Ty, n_values)
There is no conversion to one hot vectors is required for the “to_categorical”.
why such conversion is required ?