Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing the efficiency of Sentiment Analysis models #185

Open
kimttfung opened this issue Jan 15, 2020 · 0 comments
Open

Testing the efficiency of Sentiment Analysis models #185

kimttfung opened this issue Jan 15, 2020 · 0 comments

Comments

@kimttfung
Copy link

kimttfung commented Jan 15, 2020

I used the sentiment analysis model here to analyse the amazon reviews dataset.

However, some of the data leads to a BoundsError

ERROR: BoundsError: attempt to access 32×5000 Array{Float32,2} at index [Base.Slice(Base.OneTo(32)), 5001]

For those, I skipped and ignored them.

Hence, out of the 400000 sets of data, 399703 were interpreted, and out of those, 207103 were interpreted correctly by the model, hence giving an accuracy of 51.814222059879455%

Accuracy: 0.5181422206
Precision: 0.5159145929
Recall: 0.5916847176
F1 Score: 0.5512079636
(Thanks PseudoCodeNerd for introducing these numbers to me! Find more about them here)

Thanks :)

Related to #160 #184 #84 #182

@kimttfung kimttfung changed the title Testing the efficiency of TextAnalysis.jl Sentiment Analysis models Testing the efficiency of Sentiment Analysis models Jan 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant