Skip to main content

Package for end to end setiment analysis using Neural Architectures

Project description

sentiment_analysys_csci_e89

This package was designed to enable its users to perform end to end sentiment analysis with state of the art techniques.
The api assumes a common data model that is described in great detail in the documentation. In short, the modules expect tabular datasets with the following fields for training data:

  1. text_id
  2. text
  3. label

and the folling fields for live test data:

  1. text_id
  2. text

The api contains 5 main modules:

  1. data_cleaning: A class that was written to support a number of popular machine learning datasets. It cleans the raw data and structures it in a way that the other modules can use.
  2. pre_processing : A class that provides a number of high level functions to perform sophisticated data transformations and cleaning. This class is responsible for preparing the raw text data for our Neural architectures.
  3. modeling : A class that provides a number of methods each dedicated to training a certain type of architecture. Refer to the documentation for the eaxact specification of each of the architectures provided.
  4. pretrained_embeddings : A class that provides methods to prepare well known and popular word embeddings (GloVe adn word2vec) in a format that our netoworks can work with. We require that the user download the raw data from the appropriate sources.Once again, details are included in the documentation.
  5. predict_newdata: A class that provides methods to use our trained networks to make prediction on live data. live data as I define it here can be thought of test data that is processed and prepared outside of the original efforts that processed the data our model was trained and validated against.

A number of different neural architectures are provided with easy to call methods, thereby allowing you to train sophisticated models with no more than a few lines of code.Some of the architectures implement transfer learning and require that certain files be downloaded locally.

Please refer to the documentation anf the tutorial script

Installation

Run the following to install:

pip install setiment_analysis_csci_e89

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

sentiment_analysis_csci_e89-0.0.1.tar.gz (36.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sentiment_analysis_csci_e89-0.0.1-py3-none-any.whl (27.6 kB view details)

Uploaded Python 3

File details

Details for the file sentiment_analysis_csci_e89-0.0.1.tar.gz.

File metadata

  • Download URL: sentiment_analysis_csci_e89-0.0.1.tar.gz
  • Upload date:
  • Size: 36.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.6

File hashes

Hashes for sentiment_analysis_csci_e89-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4be51cec1546fb9a595169151859d554800b9a7af5191a10b60d65d073b42b11
MD5 15e1661cdbfda112f72ce085c8abc1b1
BLAKE2b-256 c19c232f3925f3f90ddbc7c44a722fa94d563e8a9303823271920459bf82be2b

See more details on using hashes here.

File details

Details for the file sentiment_analysis_csci_e89-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: sentiment_analysis_csci_e89-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 27.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.6

File hashes

Hashes for sentiment_analysis_csci_e89-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 badf1a89c32948f7367396ff47fa57ba8cbfe21dfea29cfea1fe8124c9fe581d
MD5 ea5e6afa4919210e9be85379aed1969c
BLAKE2b-256 52bc6bce9d89486ad32d1fe043fc70848034841d3348cb95bf4bb956b7c6e834

See more details on using hashes here.

Supported by

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