Skip to main content

FastSent is one of the solution for Sentiment classification using Recurrent Neural Networks(GRU)

Project description

FastSent is Sentiment Classification python library. It uses Sequential model for Sentiment classfication. FastSent is developed using GRU(Gated Recurrent Unit) model.

Requirement

FastSent support Python 3.6 or newer.

Installation

pip install FastSent

Example

This package is being developed for sentiment classfication using Sequential model GRU(Gated Recurrent Unit).

data = 'Sample.csv'
labels = 'sentiment'
text = 'content'

f = FastSent()
X_train, X_test, y_train, y_test = f.train_test_split(data, labels, text)
trained_model = f.fit_train(X_train, y_train, 500, 50, 7789, 5, 4)
prediction = f.predict(trained_model, X_test, y_train, 4)

where sample is a training file containing labels and text.

References

DataSet Information


[1] Sample DataSet is being used for research purpose from  `*data.world* <https://data.world/crowdflower/sentiment-analysis-in-text>`.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

FastSent-0.2.0.tar.gz (1.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page