Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Rでオセロ_tokyor_20230121/a_reversi-solver_in_R_ins...
Search
florets1
January 20, 2023
0
940
Rでオセロ_tokyor_20230121/a_reversi-solver_in_R_inspired_by_SQL
florets1
January 20, 2023
Tweet
Share
More Decks by florets1
See All by florets1
Rで学ぶデータハンドリング入門/Introduction_to_Data_Handling_with_R
florets1
0
110
人工知能はクロスジョインでできている/AI_Is_Built_on_Cross_Joins
florets1
0
69
仮説の取扱説明書/User_Guide_to_a_Hypothesis
florets1
4
410
複式簿記から純資産を排除する/eliminate_net_assets_from_double-entry_bookkeeping
florets1
1
430
カイ二乗検定は何をやっているのか/What_Does_the_Chi-Square_Test_Do
florets1
7
2.4k
直積は便利/direct_product_is_useful
florets1
3
440
butterfly_effect/butterfly_effect_in-house
florets1
1
250
データハンドリング/data_handling
florets1
2
250
カイ二乗検定との遭遇/The_path_to_encountering_the_chi-square_test
florets1
1
310
Featured
See All Featured
Facilitating Awesome Meetings
lara
57
6.6k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.6k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.8k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
GraphQLとの向き合い方2022年版
quramy
49
14k
Mobile First: as difficult as doing things right
swwweet
225
10k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.3k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
A better future with KSS
kneath
240
18k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.5k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
Transcript
1 2023.01.21 Tokyo.R #103 Rでオセロ
2 SQLの話
3 a b SELECT * FROM a, b
4 SELECT * FROM a, b WHERE a.no=b.no a b
5 SELECT 原因.* FROM 原因, 結果 WHERE 結果が成功 結果から原因がわかるのでは?
6 SELECT 局面1.* FROM 局面1, 局面2, 局面3, .., 最終局面 WHERE
最終局面が勝利 オセロの勝てる手がわかるのでは?
7
8 という気持ちをRで表現しました
9 うれしいこと 局面1と最終局面の関係がわかる 最終局面が勝利となる局面1がわかる
10 コード
11
12
13
14
15
16
17
18 おまけ
19
20
21
22