Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
traP_新入生オリエンテーション_2024
Search
taxfree
April 29, 2024
120
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
traP_新入生オリエンテーション_2024
taxfree
April 29, 2024
More Decks by taxfree
See All by taxfree
ICML 2026 参加報告 AI for Science を中心に/icml-2026-conference-report-ai-for-science
taxfree_python
0
27
Evolving collaborative research ideas with multi-agent grounding in lab-specific contexts and literature
taxfree_python
0
27
研究開発のための Coding Agent 活用術
taxfree_python
0
95
R&D_UIのラストワンマイルをLLMで埋める
taxfree_python
0
45
AI for タギロン
taxfree_python
0
53
traP 2024 忘年会
taxfree_python
0
20
traP ユニークビジョン LT 会
taxfree_python
0
27
R.*u.*f.*f.*
taxfree_python
0
25
A Beginner's Guide to Quantum computing
taxfree_python
0
430
Featured
See All Featured
HDC tutorial
michielstock
2
960
For a Future-Friendly Web
brad_frost
184
10k
Are puppies a ranking factor?
jonoalderson
2
4.1k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
570
Writing Fast Ruby
sferik
630
63k
First, design no harm
axbom
PRO
2
1.3k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
How Software Deployment tools have changed in the past 20 years
geshan
2
35k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
500
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.2k
Transcript
自炊最適化 @tax_free
自己紹介 traQ: @tax_free 情報理工学院 数理・計算科学系 学士 3 年 昔は iGEM
をやってた traP では班に所属せず,料理を作るなどしてる
自己紹介
自己紹介
やりたいこと ヨーグルトに入れるフルーツの組み合わせと量を最適化したい 以下の組み合わせを最適化したい max. カロリー, min. コスト max. タンパク質, min.カロリー
使用するフルーツは以下の 4 種類 マンゴー ブルーベリー いちご パイナップル Optuna を使用して良い解を探索する
Optuna とは? オープンソースのハイパーパラメータ自動 最 適 化 フ レ ー ム
ワ ー ク Optuna は 、 ハイパーパラメータの値に関する試行錯誤 を自動化し、優れた性能を発揮する ハイパーパラメータの値を自動的に発見 します。(公式ページより)
定式化について コスト エネルギー たんぱく質 脂質 糖質 食物繊維 食塩相当量 マンゴー 129.168
61 0.5 0 14.2 0.9 0.0 ブルーベリー 200.16 55 0.53 0 12.0 2.3 0.0 いちご 185.76 34 0.9 0.1 7.1 1.4 0.0 パイナップル 142.56 57 0.6 0 13.0 1.2 0.0 これらの情報を基に Optuna を用いて多目的最適化を行う
実装
実行結果 目的関数 Calories := 単位カロリー * 量 Cost := 単価
* 量 探索範囲 それぞれ 0g - 50g の量で 4 つの フルーツの量を探索 パレート解 (5, 1, 1, 1) → 右下 a. (50, 50, 45, 48) → 左上 b. (50, 2, 3, 32) → 真ん中 c.
実行結果 目的関数 Calories := 単位カロリー * 量 Cost := 単価
* 量 探索範囲 それぞれ 0g - 50g の量で 4 つの フルーツの量を探索 パレート解 (5, 1, 1, 1) → 右下 a. (50, 50, 45, 48) → 左上 b. (50, 2, 3, 32) → 真ん中 c.
実行結果 目的関数 Protein := 単位タンパク質 * 量 Calories := 単位カロリー
* 量 探索範囲 それぞれ 0g - 50g の量で 4 つの フルーツの量を探索 パレート解 (1, 12, 1, 1) → 右下 a. (49, 50, 50, 42) → 左上 b. (4, 12, 50, 43) → 真ん中 c.
実行結果 目的関数 Protein := 単位タンパク質 * 量 Calories := 単位カロリー
* 量 探索範囲 それぞれ 0g - 50g の量で 4 つの フルーツの量を探索 パレート解 (1, 12, 1, 1) → 右下 a. (49, 50, 50, 42) → 左上 b. (4, 12, 50, 43) → 真ん中 c.
「“自炊“最適化」なのに 計算だけでいいの?
実際に作ってみた カロリーとコストのバランスを取った解を試してみる 配分: (マンゴー: 50, ブルーベリー: 2, いちご: 3, パイナップル:
32)
実際に作ってみた カロリーとコストのバランスを取った解を試してみる 配分: (マンゴー: 50, ブルーベリー: 2, いちご: 3, パイナップル:
32) マンゴーの繊維っぽい感じを感じ, パイナップルの酸とのバランスがいい感じ さっぱりしているので夏っぽい感じがする (沖縄県民感)
実際に作ってみた カロリーとタンパク質のバランスを取った解を試してみる 配分: (マンゴー: 4, ブルーベリー: 12, いちご: 50, パイナップル:
43)
実際に作ってみた カロリーとタンパク質のバランスを取った解を試してみる 配分: (マンゴー: 4, ブルーベリー: 12, いちご: 50, パイナップル:
43) パイナップルの酸をやや感じる いちごの感じはしない さっきの配合よりも主張が弱い?
まとめ 最適化は日常生活でも使える! みんなも(多目的)最適化で 健康で快適な生活を送ろう
みんなで料理を作って gps/jisui チャンネルで 共有しよう!!! ありがとうございました @tax_free