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

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

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