micheleriva / micheleriva/Emotion-Detection-ML-Example

Example code not working (happy and sad both NaN)

Open
#2 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
30
Forks
9
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running npm install and node index.js, then inspect index.js to trace why both reported values become NaN. Use the existing output as the reproduction case and determine what input or calculation produces the invalid values. Done means the example runs without NaN and reports numeric happy and sad values.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.