Skip to content

BishnoiAmit/Text-Classification-using-Convoluion-Nets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text-Classification-using-Convolution-Nets

Sequence based synthetic data is used to show convolution neural nets in action.

This is the source code which you can refer while going through the blog post. (http://xplordat.com/2019/01/30/sequence-based-text-classification-with-convolution-nets/)

The blog post illustrate the use of sequences for classification of text and it is being compared with the bag of words approach. Here, we are considering two models for the comaprison, first one is the Convolution Neural Network & 2nd one is traditional Naive Bayes model.

Dependencies

Tensorflow Keras Scikit-Learn Matplotlib Numpy

CNN

CNN is implemented using Keras with Tensorflow as its backend. Hyperparameters currently in use has been obtained after performing multiple simulations & by using different combinations of number of filters in convoution, Maxpooling layer as well the stride sizes.

Naive Bayes

Naive Bayes is implemented using Scikit-Learn.

About

Sequence based synthetic data is used to show convolution neural nets in action.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages