BagOfWords.Transform (accord.net)
when i transformed my string array, array's size is changed. ik that it should change but i want to load it in neuro so size outputs should be equal inputs size. how i can do it?
5 Replies
just shuffle the words in your text before transforming. It will mix things up but keep the size consistent
:thistbh:
also u ca use a random number generator to fill the rest of the vector if its too short or u can randomly remove elements if it's too long just test it a little.
wdym by shuffle?
I mean like when you shuffle cards for a magic trick
you shuffle it
to test it properly