Amazon Sagemaker
Amazon SageMaker is a fully-managed platform that enables developers and data scientists to quickly and easily build, train, and deploy machine learning models at any scale. With Amazon SageMaker, all the barriers and complexity that typically slow down developers who want to use machine learning are removed. The service includes models that can be used together or independently to build, train, and deploy your machine learning models.

Geographical Entity Sentiment Analysis
By:
Latest Version:
3.2
Deep Learning based solution which predicts positive, negative or neutral sentiments around geographical entities (city, state, country)
Product Overview
Geographical Entity Sentiment Analysis identifies positive, negative or neutral sentiments related to geographical entities such as cities, states, countries etc. Polarity scores are calculated by identifying named entities in text and modeling sentiments to respective entities. This solution can be used to identify sentiments around specific locality or a comparative study between two locations based on different features like property rates, local facilities, proximity with prominent localities etc. This can help user determine location attractiveness for businesses or travel.
Key Data
Version
By
Type
Model Package
Highlights
Geographical Entity Sentiment Analyzer aims to identify opinion polarity toward a specific location. This model uses lexical, syntactic & semantic understanding of input text, with a combination of linguistics and deep learning methods with respect to given location for sentiment prediction.
State-of-the-Art Transformer based models that capture context and helps in comparative study of different geographical locations. This can help determine location attractiveness for businesses or travel.
Mphasis HyperGraf is an omni-channel customer 360 analytics solution. Need customized Deep Learning/NLP solutions? Get in touch!
Not quite sure what you’re looking for? AWS Marketplace can help you find the right solution for your use case. Contact us
Pricing Information
Use this tool to estimate the software and infrastructure costs based your configuration choices. Your usage and costs might be different from this estimate. They will be reflected on your monthly AWS billing reports.
Contact us to request contract pricing for this product.
Estimating your costs
Choose your region and launch option to see the pricing details. Then, modify the estimated price by choosing different instance types.
Version
Region
Software Pricing
Model Realtime Inference$8.00/hr
running on ml.m4.xlarge
Model Batch Transform$16.00/hr
running on ml.m4.xlarge
Infrastructure PricingWith Amazon SageMaker, you pay only for what you use. Training and inference is billed by the second, with no minimum fees and no upfront commitments. Pricing within Amazon SageMaker is broken down by on-demand ML instances, ML storage, and fees for data processing in notebooks and inference instances.
Learn more about SageMaker pricing
With Amazon SageMaker, you pay only for what you use. Training and inference is billed by the second, with no minimum fees and no upfront commitments. Pricing within Amazon SageMaker is broken down by on-demand ML instances, ML storage, and fees for data processing in notebooks and inference instances.
Learn more about SageMaker pricing
SageMaker Realtime Inference$0.24/host/hr
running on ml.m4.xlarge
SageMaker Batch Transform$0.24/host/hr
running on ml.m4.xlarge
Model Realtime Inference
For model deployment as Real-time endpoint in Amazon SageMaker, the software is priced based on hourly pricing that can vary by instance type. Additional infrastructure cost, taxes or fees may apply.InstanceType | Realtime Inference/hr | |
---|---|---|
ml.m4.4xlarge | $8.00 | |
ml.m5.4xlarge | $8.00 | |
ml.m4.16xlarge | $8.00 | |
ml.m5.2xlarge | $8.00 | |
ml.p3.16xlarge | $8.00 | |
ml.m4.2xlarge | $8.00 | |
ml.c5.2xlarge | $8.00 | |
ml.p3.2xlarge | $8.00 | |
ml.c4.2xlarge | $8.00 | |
ml.m4.10xlarge | $8.00 | |
ml.c4.xlarge | $8.00 | |
ml.m5.24xlarge | $8.00 | |
ml.c5.xlarge | $8.00 | |
ml.p2.xlarge | $8.00 | |
ml.m5.12xlarge | $8.00 | |
ml.p2.16xlarge | $8.00 | |
ml.c4.4xlarge | $8.00 | |
ml.m5.xlarge | $8.00 | |
ml.c5.9xlarge | $8.00 | |
ml.m4.xlarge Vendor Recommended | $8.00 | |
ml.c5.4xlarge | $8.00 | |
ml.p3.8xlarge | $8.00 | |
ml.m5.large | $8.00 | |
ml.c4.8xlarge | $8.00 | |
ml.p2.8xlarge | $8.00 | |
ml.c5.18xlarge | $8.00 |
Usage Information
Fulfillment Methods
Amazon SageMaker
Usage Methodology for the algorithm: 1) The input must be 'csv' file. 2) The csv file should contain column named "text". 3) The file should follow 'utf-8' encoding.
General instructions for consuming the service on Sagemaker: 1) Access to AWS SageMaker and the model package 2) An S3 bucket to specify input/output 3) Role for AWS SageMaker to access input/output from S3
Input
Supported content types: text/csv
|-----------------------------------------------text-----------------------------------------------|
we have been reaserching neighborhoods and so far New York seems to be the best..
New York is really nice if you can afford it
new york is a bad place , dallas is ok but a bit out of the way
i have never had a problem in New York even waiting for a night bus at 2am in morning
Output
Content type: text/csv
--------------text----------------------------------------------|----entity----|---sentiment---
we have been reaserching neighborhoods and .. new york Positive
New York is really nice if you can afford it. new york Positive
new york is a bad place , dallas is ok but a bit out of the.. new york Negative
new york is a bad place , dallas is ok but a bit out of the.. dallas Positive
....
Invoking endpoint
AWS CLI Command
You can invoke endpoint using AWS CLI:
aws sagemaker-runtime invoke-endpoint --endpoint-name $model_name --body fileb://$file_name --content-type 'text/csv' --region us-east-2 output.csv
Substitute the following parameters:
"endpoint-name"
- name of the inference endpoint where the model is deployedinput.csv
- input file to do the inference ontext/csv
- Type of input dataoutput.csv
- filename where the inference results are written to
Resources
Sample Notebook : https://tinyurl.com/y3qufjul Sample Input : https://tinyurl.com/y3d8n6rx Sample Output: https://tinyurl.com/y2qedbrj
Additional Resources
End User License Agreement
By subscribing to this product you agree to terms and conditions outlined in the product End user License Agreement (EULA)
Support Information
Geographical Entity Sentiment Analysis
For any assistance reach out to us at:
AWS Infrastructure
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.
Learn MoreRefund Policy
Currently we do not support refunds, but you can cancel your subscription to the service at any time.
Customer Reviews
There are currently no reviews for this product.
View allWrite a review
Share your thoughts about this product.
Write a customer review