https://github.com/neoanarika/keras-implementation-of-1d-cnn-for-sentence-classification
This github repo uses keras 2.0 to create a 1D CNN for sentiment analysis from the IMDB dataset
https://github.com/neoanarika/keras-implementation-of-1d-cnn-for-sentence-classification
Last synced: 5 months ago
JSON representation
This github repo uses keras 2.0 to create a 1D CNN for sentiment analysis from the IMDB dataset
- Host: GitHub
- URL: https://github.com/neoanarika/keras-implementation-of-1d-cnn-for-sentence-classification
- Owner: Neoanarika
- Created: 2017-04-04T04:50:08.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-07-04T02:48:58.000Z (over 5 years ago)
- Last Synced: 2025-05-01T12:07:45.674Z (5 months ago)
- Language: Python
- Size: 1.62 MB
- Stars: 8
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Keras-Implementation-of-1D-CNN-for-sentence-classification
This github repo uses keras 2.0 to create a 1D CNN for sentiment analysis from the IMDB dataset.# How to run the program
```
git clone https://github.com/Neoanarika/Keras-Implementation-of-1D-CNN-for-sentence-classification.git
cd Keras-Implementation-of-1D-CNN-for-sentence-classification
python cnn_classification2.py
```# Dependencies
```
pip install numpy==1.16.1
```# Footnotes
1. The pretrain model I uploaded was only trained in 1 epoch I have not included the full 5 epochs yet.
2. The model is evaluated using logloss not accuracy