Skip to content

mapf0000/CnnTextClassifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

CnnTextClassifier

Character-level text classification using a convolutional neural network built with Keras.

Roughly inspired by Zhang et al. "Character-level Convolutional Networks for Text Classification" (https://papers.nips.cc/paper/5782-character-level-convolutional-networks-for-text-classification.pdf).

Implemented model uses a simplified architecture adapted for my use case (obfuscated text). Parameters and network topology probably need to be adjusted for your use case.

Data

Data can be supllied via the following text files (not included):

xtrain.txt - training examples
ytrain.txt - training labels

xtest.txt - examples for which predictions are expected

Requirements

python 3
numpy
keras

About

character-level text classification using a convolutional neural network built with Keras

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages