imshashank

imshashank / SentimentAnalysisPositiveNeutralNegative / 0.1.1

Sentiment Analysis for product reviews(Positive, Neutral & Negative)

Royalty Free API Calls - 79
Predict sentiment for product reviews
No Tags
Language
Python 2.x
Permissions
The Algorithm Platform License is the set of terms that are stated in the Software License section of the Algorithmia Application Developer and API License Agreement. It is intended to allow users to reserve as many rights as possible without limiting Algorithmia's ability to run it as a service. Learn More
This is necessary for algorithms that rely on external services, however it also implies that this algorithm is able to send your input data outside of the Algorithmia platform.

Run an Example

Input
Output
"\"{\\n    \\\"prediction\\\": \\\"positive\\\",\\n    \\\"confidence_score\\\": {\\n        \\\"positive\\\": \\\"55.62\\\",\\n        \\\"neutral\\\": \\\"14.38\\\",\\n        \\\"negative\\\": \\\"30.0\\\"\\n    }\\n}\\n\\n\""

Install and Use

Install

Install the Algorithmia CLI client by running:

curl -sSLf https://algorithmia.com/install.sh | sh

Then authenticate by running:

algo auth
# Enter API Key: YOUR_API_KEY
CLI Install Docs

Use



algo run imshashank/SentimentAnalysisPositiveNeutralNegative/0.1.1 -d '"So expectations for the Vive are high — and the headset both exceeds and falls short of them."' --timeout 300
  
CLI Docs