C
C#8mo 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
crayy8mo ago
just shuffle the words in your text before transforming. It will mix things up but keep the size consistent
deem
deem8mo ago
:thistbh:
crayy
crayy8mo 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
DarkisadOP8mo ago
wdym by shuffle?
crayy
crayy8mo ago
I mean like when you shuffle cards for a magic trick you shuffle it to test it properly
Want results from more Discord servers?
Add your server