amazon-sagemaker-examples icon indicating copy to clipboard operation
amazon-sagemaker-examples copied to clipboard

Example of RStudio Rmd to train-tune-deploy

Open georschi opened this issue 3 years ago • 27 comments

Example of RStudio Rmd to train-tune-deploy. The example uses the widely used Abalone dataset. Uses R to visualise and preprocess the data and then uses SageMaker built-in XGBoost algorithm to train, tune and deploy a model.

georschi avatar Nov 17 '21 15:11 georschi

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-examples-code-formatting
  • Commit ID: 18c6f4da6a283cc6780ca1815e5f01014b7a9868
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

sagemaker-bot avatar Nov 17 '21 15:11 sagemaker-bot

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-examples-grammar
  • Commit ID: 18c6f4da6a283cc6780ca1815e5f01014b7a9868
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

sagemaker-bot avatar Nov 17 '21 15:11 sagemaker-bot

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-examples-link-check
  • Commit ID: 18c6f4da6a283cc6780ca1815e5f01014b7a9868
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

sagemaker-bot avatar Nov 17 '21 15:11 sagemaker-bot

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-examples-grammar
  • Commit ID: 18c6f4da6a283cc6780ca1815e5f01014b7a9868
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

sagemaker-bot avatar Nov 17 '21 15:11 sagemaker-bot

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-examples-link-check
  • Commit ID: 18c6f4da6a283cc6780ca1815e5f01014b7a9868
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

sagemaker-bot avatar Nov 17 '21 15:11 sagemaker-bot

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-examples-grammar
  • Commit ID: 18c6f4da6a283cc6780ca1815e5f01014b7a9868
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

sagemaker-bot avatar Nov 17 '21 15:11 sagemaker-bot

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-examples-code-formatting
  • Commit ID: 18c6f4da6a283cc6780ca1815e5f01014b7a9868
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

sagemaker-bot avatar Nov 17 '21 15:11 sagemaker-bot

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-examples-code-formatting
  • Commit ID: 18c6f4da6a283cc6780ca1815e5f01014b7a9868
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

sagemaker-bot avatar Nov 17 '21 15:11 sagemaker-bot

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-examples-link-check
  • Commit ID: 18c6f4da6a283cc6780ca1815e5f01014b7a9868
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

sagemaker-bot avatar Nov 17 '21 15:11 sagemaker-bot

What is the HTML file? It seems very large, I wonder if it contains embedded images that can be added as standalone relative PNG files. Why is the notebook itself not sufficient?

jkroll-aws avatar Mar 22 '22 18:03 jkroll-aws

Looking at the code - in accordance with the rest of the codebase, can you convert main.R to a R Jupyter notebook? I think it would be more beneficial to customers if you include an explanation of the code and they can see the output of various lines of code.

Also, we want to test this code daily to make sure that it works. It only tests notebooks, so this is another benefit to having the main code in a Jupyter notebook

atqy avatar Mar 23 '22 16:03 atqy

@jkroll-aws good point on the HTML, instead I am rendering it in .md and will add to the commit. The reason for adding it is only for readability reasons. The HTML file contains a run version of the notebook so the reader can see how the notebook run and what outputs to expect.

georschi avatar Mar 29 '22 09:03 georschi

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-examples-grammar
  • Commit ID: 5c4d2f1f34e8a0fb9fd00027532a092dbe4da293
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

sagemaker-bot avatar Mar 29 '22 10:03 sagemaker-bot

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-examples-link-check
  • Commit ID: 5c4d2f1f34e8a0fb9fd00027532a092dbe4da293
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

sagemaker-bot avatar Mar 29 '22 10:03 sagemaker-bot

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-examples-code-formatting
  • Commit ID: 5c4d2f1f34e8a0fb9fd00027532a092dbe4da293
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

sagemaker-bot avatar Mar 29 '22 10:03 sagemaker-bot

For readability purposes I changed the output from HTML to markdown so that it can also render nicely on github.com

Unfortunately RStudio does not support R Jupyter Notebooks so converting the example in such a file would not be an option at this point.

georschi avatar Mar 29 '22 10:03 georschi

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-examples-link-check
  • Commit ID: 5c4d2f1f34e8a0fb9fd00027532a092dbe4da293
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

sagemaker-bot avatar Mar 29 '22 10:03 sagemaker-bot

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-examples-grammar
  • Commit ID: 5c4d2f1f34e8a0fb9fd00027532a092dbe4da293
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

sagemaker-bot avatar Mar 29 '22 10:03 sagemaker-bot

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-examples-code-formatting
  • Commit ID: 5c4d2f1f34e8a0fb9fd00027532a092dbe4da293
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

sagemaker-bot avatar Mar 29 '22 10:03 sagemaker-bot

AWS CodeBuild CI Report

  • CodeBuild project: amazon-sagemaker-examples-pr
  • Commit ID: 5c4d2f1f34e8a0fb9fd00027532a092dbe4da293
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

sagemaker-bot avatar Mar 29 '22 10:03 sagemaker-bot

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-examples-link-check
  • Commit ID: 06397912c2c9141709d7d37e030607dd3d4111af
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

sagemaker-bot avatar Apr 05 '22 19:04 sagemaker-bot

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-examples-code-formatting
  • Commit ID: 06397912c2c9141709d7d37e030607dd3d4111af
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

sagemaker-bot avatar Apr 05 '22 19:04 sagemaker-bot

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-examples-grammar
  • Commit ID: 06397912c2c9141709d7d37e030607dd3d4111af
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

sagemaker-bot avatar Apr 05 '22 19:04 sagemaker-bot

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-examples-grammar
  • Commit ID: 06397912c2c9141709d7d37e030607dd3d4111af
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

sagemaker-bot avatar Apr 05 '22 19:04 sagemaker-bot

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-examples-link-check
  • Commit ID: 06397912c2c9141709d7d37e030607dd3d4111af
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

sagemaker-bot avatar Apr 05 '22 19:04 sagemaker-bot

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-examples-code-formatting
  • Commit ID: 06397912c2c9141709d7d37e030607dd3d4111af
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

sagemaker-bot avatar Apr 05 '22 19:04 sagemaker-bot

AWS CodeBuild CI Report

  • CodeBuild project: amazon-sagemaker-examples-pr
  • Commit ID: 06397912c2c9141709d7d37e030607dd3d4111af
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

sagemaker-bot avatar Apr 05 '22 19:04 sagemaker-bot