Skip to content

joannecylam/sentiment_analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sentiment Analysis using LSTM

Classify restaurant comments into positive and negative comments.

Dataset: AI Challenger: Restaurant Reviews in Chinese Language https://challenger.ai/competition/fsauor2018?type=myteam

Model

keras LSTM with tensorflow backend


Layer (type) Output Shape Param #

embedding_1 (Embedding) (None, 1173, 128) 256000


spatial_dropout1d_1 (Spatial (None, 1173, 128) 0


lstm_1 (LSTM) (None, 196) 254800


dense_1 (Dense) (None, 2) 394

Performance

Accuracy ~ 0.95

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published