multi-class-text-classification-cnn
multi-class-text-classification-cnn copied to clipboard
Classify Kaggle Consumer Finance Complaints into 11 classes. Build the model with CNN (Convolutional Neural Network) and Word Embeddings on Tensorflow.
Could you provide some example code how to get class output for given text input? I was able to get all code working with ./data/small_samples.json but output is accuracy percent...
Hi, 1. I ran code with my dataset and accuracy is coming zero. What if i have few dataset(in hundred). 2. There's one variable in parameters.json file named as evaluate_every,...
Hi, As per your flow, I substitute my own corpus,But additionally I add embedding matrix in between your code and then train the data.Purpose of adding embedding matrix is to...
please help me, as how can I use softmax in place of argmax() to get raw probability distribution for the predicted classes
What code should be added so that the word embedding and confusion matrix at each step could be visualized in tensorboard?
Is this running on CPU or GPU? If CPU, how can I make this run on GPU?
If I want to change the labels, say I want to classify 7 labels, do I just change labels.json?

In you codes, the accuracy on test set is based on the latest model after all the train step finished, **not** based on the best model saved in checkpoint. Am...
should be: num_batches_per_epoch = int(math.ceil(float(data_size) / batch_size))