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"
- Host: GitHub
- URL: https://github.com/jeonghunyoon/text-classification-keras
- Owner: jeonghunyoon
- Created: 2018-09-03T17:00:09.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-12-07T13:59:28.000Z (over 7 years ago)
- Last Synced: 2025-01-24T14:18:12.025Z (over 1 year ago)
- Topics: cnn, cnn-classification, cnn-keras, cnn-text-classification, deep-learning, text-classification
- Language: Python
- Homepage:
- Size: 215 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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