C
C#3mo ago
Darkisad

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?
No description
5 Replies
crayy
crayy3mo ago
just shuffle the words in your text before transforming. It will mix things up but keep the size consistent
deem
deem3mo ago
:thistbh:
crayy
crayy3mo ago
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.
Darkisad
Darkisad3mo ago
wdym by shuffle?
crayy
crayy3mo ago
I mean like when you shuffle cards for a magic trick you shuffle it to test it properly