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
ヒューリスティックの世界へようこそ
Search
ardririy
October 15, 2023
35
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
ヒューリスティックの世界へようこそ
ardririy
October 15, 2023
Featured
See All Featured
Designing Experiences People Love
moore
143
24k
Into the Great Unknown - MozCon
thekraken
41
2.8k
Building the Perfect Custom Keyboard
takai
2
910
Typedesign – Prime Four
hannesfritz
42
3.2k
KATA
mclloyd
PRO
35
16k
It's Worth the Effort
3n
188
29k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
410
Optimising Largest Contentful Paint
csswizardry
37
4k
Raft: Consensus for Rubyists
vanstee
142
7.8k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
500
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
760
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
Transcript
ヒューリスティックの 世界へようこそ ardririy
お前誰? 名前: りり 所属: RiPPro, RiST Twitter(新X): @ardririy Rust(競プロ), Rails(業務)
など.. 2
目次 イントロ ヒューリスティックとはなにか ヒュコンの面白いところ アプローチ おわりに 3
ヒューリスティックとはなにか アルゴリズム:正しい答えを出力する ヒューリスティック:形式さえ合っていればなんでもOK! 「スコア」や「マラソン」ともいわれる 4
問題の例 丸紅プログラミングコンテスト2023 (AHC024) 隣接関係を保ったまま地図を小さくしたい! 5
最適解は得るのは困難 すべての色の配置を求めるのは現実的に困難 プログラムの実行時間制限(2秒)以内にどれだけ地図を 小さくできるか? 6
ヒューリスティックコンテストが何が面白いのか 1. 簡単に点数を得られる 「外側を削るだけ」でもOK! (seed=0, score=348) 7
実は... 入力をそのまま返すだけでも点数がもらえる場合がある! E = 0 でも, E + 1 =
1 なので 1テストケースごとに1点もらえる計算に 8
ヒューリスティックコンテストが何が面白いのか 2. ビジュアライザがついている この動いてる感じが楽しい 9
ヒューリスティックコンテストが何が面白いのか 3. プログラムを改善していく感じが楽しい ビジュアライザで目で見てわかる+点数が上がる = 最高に楽しい 10
そのほか - 期間が長い - 典型アルゴリズムを学ぶきっかけに - ヒューリスティック的アプローチ(!= 機械学習)を知れる 11
ヒューリスティック的アプローチ ・山登り法 今の状態をチョットだけ変更 ⇒ 点数が上がったら採用! これをたくさんするだけで点数が上がる 12 これも山登り
ヒューリスティック的アプローチ - モンテカルロシミュレーション 「実際にやってみる」手法 今の状態から試してみて、一番良くなったものを採用する 13
なんと いまAHC025始まってます!!!!!!!!!!! 参加登録しましょう!!!!!!!!!!!!!!!!! 14
まとめ - ヒューリスティック面白いので始めてみませんか? 15
ご清聴 ありがとうございました 16