All Projects → pabitralenka → Customer-Feedback-Analysis

pabitralenka / Customer-Feedback-Analysis

Licence: Apache-2.0 license
Multi Class Text (Feedback) Classification using CNN, GRU Network and pre trained Word2Vec embedding, word embeddings on TensorFlow.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Customer-Feedback-Analysis

yunyi
2018“云移杯- 景区口碑评价分值预测
Stars: ✭ 29 (+61.11%)
Mutual labels:  text-classification, rnn
ML2017FALL
Machine Learning (EE 5184) in NTU
Stars: ✭ 66 (+266.67%)
Mutual labels:  text-classification, rnn
automatic-personality-prediction
[AAAI 2020] Modeling Personality with Attentive Networks and Contextual Embeddings
Stars: ✭ 43 (+138.89%)
Mutual labels:  text-classification, rnn
Dense BiLSTM
Tensorflow Implementation of Densely Connected Bidirectional LSTM with Applications to Sentence Classification
Stars: ✭ 48 (+166.67%)
Mutual labels:  rnn, sentence-classification
Tf Rnn Attention
Tensorflow implementation of attention mechanism for text classification tasks.
Stars: ✭ 735 (+3983.33%)
Mutual labels:  text-classification, rnn
NSP-BERT
The code for our paper "NSP-BERT: A Prompt-based Zero-Shot Learner Through an Original Pre-training Task —— Next Sentence Prediction"
Stars: ✭ 166 (+822.22%)
Mutual labels:  text-classification, sentence-classification
medical-diagnosis-cnn-rnn-rcnn
分别使用rnn/cnn/rcnn来实现根据患者描述,进行疾病诊断
Stars: ✭ 39 (+116.67%)
Mutual labels:  text-classification, rnn
Text Classification Cnn Rnn
CNN-RNN中文文本分类,基于TensorFlow
Stars: ✭ 3,613 (+19972.22%)
Mutual labels:  text-classification, rnn
Multi Class Text Classification Cnn Rnn
Classify Kaggle San Francisco Crime Description into 39 classes. Build the model with CNN, RNN (GRU and LSTM) and Word Embeddings on Tensorflow.
Stars: ✭ 570 (+3066.67%)
Mutual labels:  text-classification, rnn
Rmdl
RMDL: Random Multimodel Deep Learning for Classification
Stars: ✭ 375 (+1983.33%)
Mutual labels:  text-classification, rnn
Text classification
all kinds of text classification models and more with deep learning
Stars: ✭ 7,179 (+39783.33%)
Mutual labels:  text-classification, sentence-classification
Eda nlp
Data augmentation for NLP, presented at EMNLP 2019
Stars: ✭ 902 (+4911.11%)
Mutual labels:  text-classification, rnn
Pytorch Rnn Text Classification
Word Embedding + LSTM + FC
Stars: ✭ 112 (+522.22%)
Mutual labels:  text-classification, rnn
TLA
A comprehensive tool for linguistic analysis of communities
Stars: ✭ 47 (+161.11%)
Mutual labels:  text-classification
trove
Weakly supervised medical named entity classification
Stars: ✭ 55 (+205.56%)
Mutual labels:  text-classification
classifier multi label seq2seq attention
multi-label,classifier,text classification,多标签文本分类,文本分类,BERT,ALBERT,multi-label-classification,seq2seq,attention,beam search
Stars: ✭ 26 (+44.44%)
Mutual labels:  text-classification
Relation-Classification
Relation Classification - SEMEVAL 2010 task 8 dataset
Stars: ✭ 46 (+155.56%)
Mutual labels:  text-classification
Research-Paper-Categorization
Research paper classification using machine learning and NLP
Stars: ✭ 23 (+27.78%)
Mutual labels:  text-classification
sp2cp
Imageboard bot with recurrent neural network (RNN, GRU)
Stars: ✭ 23 (+27.78%)
Mutual labels:  rnn
TextFeatureSelection
Python library for feature selection for text features. It has filter method, genetic algorithm and TextFeatureSelectionEnsemble for improving text classification models. Helps improve your machine learning models
Stars: ✭ 42 (+133.33%)
Mutual labels:  text-classification

Customer Feedback Analysis, IJCNLP'17

  • Our goal is to determine what class(es) the customer feedback sentences should be annotated with five-plus-one-classes categorization (comment, request, bug, complaint, meaningless and undetermined) as in four languages i.e. English, French, Japanese and Spanish.
  • This is one of the shared tasks of IJCNLP - 2017. For more details about the task, please visit here.

Citing the paper

If you are using this code for any sort of research, please cite our paper


Dataset

Training Data samples for CNN (training.tsv) from different languages used

tag consumer_complaint_narrative
comment Rooms and sitting area was always immaculate.
request :) Deberían abrir vacantes para beta-testers :)
meaningless il beug tou le temp
complaint シャンプーが泡立たない

Test Data samples for CNN (test.tsv) from different languages used

id consumer_complaint_narrative
en-test-0002 You can't go wrong!!!
es-test-0004 La habitación súper grande! muy cómoda..
fr-test-0006 La salle de bains est splendide.
jp-test-0016 日々の忙しさを忘れて、娘が優しくされると優しくなれるね

Training Data samples for CNN + RNN (training.tsv) from different languages used

Category Descript
comment Rooms and sitting area was always immaculate.
request :) Deberían abrir vacantes para beta-testers :)
meaningless il beug tou le temp
complaint シャンプーが泡立たない

Test Data samples for CNN + RNN (test.tsv) from different languages used

id Descript
en-test-0002 You can't go wrong!!!
es-test-0004 La habitación súper grande! muy cómoda..
fr-test-0006 La salle de bains est splendide.
jp-test-0016 日々の忙しさを忘れて、娘が優しくされると優しくなれるね

Running the Code

For CNN

Train
  • Command : python3 train.py training.tsv parameters.json
  • A directory will be created during training, and the best model will be saved in this directory.
Test
  • Provide the model directory (created when running train.py) and test data to predict.py
  • Command : python3 predict.py trained_model_1505467324/ test.tsv

For CNN + RNN

Train
  • Command : python3 train.py training.tsv training_config.json
  • A directory will be created during training, and the best model will be saved in this directory.
Test
  • Provide the model directory (created when running train.py) and test data to predict.py
  • Command : python3 predict.py trained_results_1505468375/ test.tsv

Reporting Doubts and Errors

  • For any queries, please drop me an email at [email protected].
  • Please refer to the publication for detailed results and model performances.

Credits

  • I would like to thank Jie Zhang and Denny Britz for sharing their code.
  • We have used their code and modified according to our need by incorporating pre-trained Word2Vec embedding.
  • Deepak Gupta has also contributed to this code repository.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].