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.

Autocode Java Code Recommender
By:
Latest Version:
3.0
A Deep Learning based solution which provides syntactically and semantically correct Java code recommendations for an input text query.
Product Overview
Autocode Text To Java Code Recommender takes a code related user text query as input and returns 3 optimal Java code recommendations from Github that will be syntactically and semantically correct. Considering the ever increasing number of programming languages and the frameworks that are built around them, it is very difficult to be technically fluent in all of them. Another challenge is the amount of code development time and effort spent on looking up efficient solutions to solve a problem. This solution helps in addressing these practical problems faced by the developer community.
Key Data
Version
By
Type
Model Package
Highlights
This solution helps accelerate the application development cycle by providing developers with targeted code recommendations.
The system uses a similarity-based distance measure to find the most correct and efficient Java code sample for the user query. The query should be coherent and focused on a single topic.
Autocode is a Deep Learning based automated software development platform for rapid prototyping that can help software developers, testers and support teams. Need customized Deep Learning 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$10.00/hr
running on ml.p2.xlarge
Model Batch Transform$20.00/hr
running on ml.p3.2xlarge
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$1.125/host/hr
running on ml.p2.xlarge
SageMaker Batch Transform$3.825/host/hr
running on ml.p3.2xlarge
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.p2.xlarge Vendor Recommended | $10.00 | |
ml.r5d.2xlarge | $10.00 | |
ml.g4dn.4xlarge | $10.00 | |
ml.g4dn.16xlarge | $10.00 | |
ml.p2.16xlarge | $10.00 | |
ml.p3.16xlarge | $10.00 | |
ml.r5.large | $10.00 | |
ml.r5.4xlarge | $10.00 | |
ml.r5d.large | $10.00 | |
ml.g4dn.2xlarge | $10.00 | |
ml.r5.12xlarge | $10.00 | |
ml.r5d.12xlarge | $10.00 | |
ml.p3.8xlarge | $10.00 | |
ml.r5.xlarge | $10.00 | |
ml.r5d.xlarge | $10.00 | |
ml.r5d.4xlarge | $10.00 | |
ml.p3.2xlarge | $10.00 | |
ml.p2.8xlarge | $10.00 | |
ml.g4dn.8xlarge | $10.00 | |
ml.g4dn.12xlarge | $10.00 | |
ml.g4dn.xlarge | $10.00 | |
ml.r5.2xlarge | $10.00 | |
ml.r5.24xlarge | $10.00 | |
ml.r5d.24xlarge | $10.00 |
Usage Information
Fulfillment Methods
Amazon SageMaker
Input
Supported content types: text/plain
As such there is no character limit on the query. The query should be coherent and focused on a single topic. The system may have problem in capturing context across multiple sentences so it is advised to stick to a single sentence query
Sample Input queries :
- Create confusion matrix ?
- How to input a csv file in Java ?
- Convert a date string into yyyymmdd format
Output
Content type: text/csv
Sample Output:
| Result | Function Name | URL
|----------|------------------- |-------------------------------------------------------
| Result 1| Create | https://github.com/cloudfoundry/sample.java/....
Invoking endpoint
AWS CLI Command
If you are using real time inferencing, please create the endpoint first and then use the following command to invoke it:
!aws sagemaker-runtime invoke-endpoint --endpoint-name $model_name --body fileb://$input.json--content-type 'text/plain' --region us-east-2 output.csv
Substitute the following parameters:
"endpoint-name"
- name of the inference endpoint where the model is deployedinput.json
- input json with queryapplication/json
- MIME type of the given inputout.json
- filename where the inference results are written to.
Resources
Link to Instructions Notebook: https://tinyurl.com/str99ss Link to Sample Input: https://tinyurl.com/utsqgbz Link to Sample Output: https://tinyurl.com/rznuxsw
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
Autocode Java Code Recommender
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