Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Amazon SageMaker で Optuna を用いた ハイパーパラメータ最適化を実装する / Optuna on Amazon SageMaker

Amazon SageMaker で Optuna を用いた ハイパーパラメータ最適化を実装する / Optuna on Amazon SageMaker

[AWS Blog] Amazon SageMaker で Optuna を用いた ハイパーパラメータ最適化を実装する http://amzn.to/2TGO7yP
の内容について話しました。

5c772b62f1974e9da3a88fbb4ef02696?s=128

Yoshitaka Haribara

March 30, 2019
Tweet

Transcript

  1. © 2019, Amazon Web Services, Inc. or its Affiliates. ©

    2019, Amazon Web Services, Inc. or its Affiliates. 1'%/ "  # "+)$-  !#"#   Optuna on Amazon SageMaker Amazon SageMaker  Optuna , # #*0&(. Twitter: @_hariby 2019/3/30 Chainer Meetup #9
  2. © 2019, Amazon Web Services, Inc. or its Affiliates. Amazon

    SageMaker       Optuna 
  3. © 2019, Amazon Web Services, Inc. or its Affiliates. SageMaker

    ' %  → Optuna  $&!#"    Amazon SageMaker Training container Amazon S3 Data Model artifact
  4. © 2019, Amazon Web Services, Inc. or its Affiliates. !

     HPO  →     MySQL PostgreSQL  [docs] Amazon SageMaker Training containers Amazon S3 Data Model artifact …
  5. © 2019, Amazon Web Services, Inc. or its Affiliates. AWS

     • Amazon RDS (Relational Database Service) • MySQL, PostgreSQL  • Amazon Aurora • MySQL, PostgreSQL % → " Amazon Aurora MySQL   (Aurora Serverless ' !&RDS #$)
  6. © 2019, Amazon Web Services, Inc. or its Affiliates. 

     ( ) →    Amazon SageMaker Training containers Amazon S3 Data Model artifact … Amazon RDS/Aurora
  7. © 2019, Amazon Web Services, Inc. or its Affiliates. !#

     ! )$*" ( (%&, -+'  )
  8. © 2019, Amazon Web Services, Inc. or its Affiliates. AWS

    (/  G [amzn.to/2TGO7yP] • (/  Optuna example  Chainer 1% SageMaker D@ • 9FC1% if __name__ == “__main__”: 4 • Python -)$A *0%,0:>&1  • S3 #1 /+#.5   Path ?= (#'.$  /opt/ml 32B78>5<) • SageMaker training job ID  Optuna  user attribute ?  • ; best_trial_id → user_attr → job_id → best_model on S3 5< SageMaker "!146E G
  9. © 2019, Amazon Web Services, Inc. or its Affiliates. ©

    2019, Amazon Web Services, Inc. or its Affiliates. Thank you!  examples    https://github.com/aws-samples/amazon-sagemaker-optuna-hpo-blog