danielegrattarola/twitter-sentiment-cnn

An implementation in TensorFlow of a convolutional neural network (CNN) to perform sentiment classification on tweets.

40
/ 100
Emerging

Implements a single-layer CNN with parallel 1D convolutions across configurable filter sizes, word embeddings, and dropout regularization, with TensorBoard integration for visualizing the computation graph. Includes automated dataset preprocessing (CSV parsing, vocabulary building), session checkpointing for model persistence, and protobuf export capabilities. Provides fine-grained control via command-line flags for architecture parameters (embedding size, filter counts, batch size) and training dynamics (epochs, validation frequency), enabling experimentation across different configurations.

158 stars. No commits in the last 6 months.

No License Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 8 / 25
Community 22 / 25

How are scores calculated?

Stars

158

Forks

51

Language

Python

License

Last pushed

Feb 08, 2018

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/nlp/danielegrattarola/twitter-sentiment-cnn"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.