Emotion-Detection-ML-Example icon indicating copy to clipboard operation
Emotion-Detection-ML-Example copied to clipboard

Example code not working (happy and sad both NaN)

Open Connum opened this issue 7 years ago • 6 comments

Hi there,

I checked out the code, ran "npm install", then "node index.js", but I get the following output:

{ happy: NaN, sad: NaN }

Any idea what's going wrong? I'm running on Windows, if that matters.

Connum avatar Jun 25 '18 12:06 Connum

Hi @Connum , I'm gonna check it asap 😄

micheleriva avatar Jun 26 '18 07:06 micheleriva

Try to increase iteration number

momosetti avatar Oct 31 '18 05:10 momosetti

Did anyone figure out why this happens? I'm stuck as well.

nikkilr88 avatar Dec 12 '18 01:12 nikkilr88

broken lol

SpeedyCraftah avatar Nov 23 '19 18:11 SpeedyCraftah

It also doesnt work even running against "I am sad" which is one of the inputs

ceo0x avatar Mar 11 '20 14:03 ceo0x

It also doesnt work even running against "I am sad" which is one of the inputs

Yeah its not the best, the best approach would be to use nlp.js or use NLU with a public api or something

SpeedyCraftah avatar Mar 11 '20 16:03 SpeedyCraftah