-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
What is wrong?
Output of my LSTM sometimes contains keywords stop-input and start-output.
I would expect if I ask it to run on my input that it just gives the expected output.
For instance, I expect:
var net = new brain.recurrent.LSTM();
net.train([
{ input: 'I feel great about the world!', output: 'happy' },
{ input: 'The world is a terrible place!', output: 'sad' },
]);
var output = net.run('I feel great about');
To output "happy" or "sad", but instead it outputs "he world is a terrible place!stop-inputstart-outputsad"
What is up with this output 'clutter' and why is it there? It's odd that I'd have to do string splitting to get the actual output.
Metadata
Metadata
Assignees
Labels
No labels