An open API service indexing awesome lists of open source software.

https://github.com/jeonghunyoon/text-classification-keras

Kears implementation of "Convolutional Neural Networks for Sentence Classification"
https://github.com/jeonghunyoon/text-classification-keras

cnn cnn-classification cnn-keras cnn-text-classification deep-learning text-classification

Last synced: over 1 year ago
JSON representation

Kears implementation of "Convolutional Neural Networks for Sentence Classification"

Awesome Lists containing this project

README

          

# Text-classification-kears

## Data

- UCI repository (https://www.kaggle.com/uciml/sms-spam-collection-dataset)
- For new data, please change the *classifier.py* and *data_helpers.py*.

## Train

In *classifier.py*, ```IS_EMBEDDING = True```, then the model use the **word2vec** embedding vector.

Check and change the hyper parameters in *hyper_params.py*.

Run as following.

```
python classifier.py
```

## Author

Jeonghun Yoon