"My ridiculous dog is amazing." [sentiment: positive]
With all of the tweets circulating every second it is hard to tell whether the sentiment behind a specific tweet will impact a company, or a person's, brand for being viral (positive), or devastate profit because it strikes a negative tone. Capturing sentiment in language is important in these times where decisions and reactions are created and updated in seconds. But, which words actually lead to the sentiment description? In this competition you will need to pick out the part of the tweet (word or phrase) that reflects the sentiment.
- src
conig.py- fast testing configcross_val.py- cross validationdataload.py- torch dataloaderengine.py- loop for batcherror_analyze.py- error analyzerinference.py- inference testing setmodel.py- basic modelmoldel_gcnn.py- gcnn structure modelmodel_linear.py- linear gcnn structurener.py- ner testing (from another kaggle)sentencepiece_pb2.py- utils for tokenizertrain.py- train modelunsupervise.py- amazing unsupervise solution (from another kaggler)utils.py- utils
- notebooks
EDA.ipynb- EDAError_analysis.py- visualize error_anaylzethresh.ipythb- Optimizer threshold
A Python implementation based on the links above, and matched with the output of the C# implementation on the back end, is provided below.
- Public score : 0.71691 (144th/2227)
- Private score : 0.71558 (625th/2227)
