CNN-text-classification-keras icon indicating copy to clipboard operation
CNN-text-classification-keras copied to clipboard

Text Classification by Convolutional Neural Network in Keras

CNN-text-classification-keras

It is simplified implementation of Implementing a CNN for Text Classification in TensorFlow in Keras as functional api

Requirements

Traning

Run the below command and it will run for 100 epochs if you want change it just open model.py

python model.py

For new data

You have to rebuild the vocabulary and then train.

For Citation

@misc{bhaveshoswal,
  author = {Bhavesh Vinod Oswal},
  title = {CNN-text-classification-keras},
  year = {2016},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/bhaveshoswal/CNN-text-classification-keras}},
}