I am looking for a model, a sort of onehotencoding, that could mix columns of the same category in a single vector.
- Having the Data
[5,8,1,3] - it will gives me :
[0,1,0,1,0,1,0,0,1,0,0,0]
with an arbitrary size set at 12.
I looked at bagofword but I did not find how to set the vector size independently of the input data.
If somebody can gives me some clues, it will be find.