C
C#9mo 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
crayy9mo ago
just shuffle the words in your text before transforming. It will mix things up but keep the size consistent
deem
deem9mo ago
:thistbh:
crayy
crayy9mo 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
DarkisadOP9mo ago
wdym by shuffle?
crayy
crayy9mo 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