Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
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
880
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
直積は便利/direct_product_is_useful
florets1
3
270
butterfly_effect/butterfly_effect_in-house
florets1
1
95
データハンドリング/data_handling
florets1
2
140
カイ二乗検定との遭遇/The_path_to_encountering_the_chi-square_test
florets1
1
190
率の平均を求めてはいけない/Do_Not_Average_Rates
florets1
11
15k
請求と支払を照合する技術/using_full_join_in_r
florets1
2
210
応用セッション_同じデータでもP値が変わる話/key_considerations_in_NHST_2
florets1
1
1.1k
お名前から性別を推測する/Guessing_gender_from_name
florets1
1
450
バタフライ効果/butterfly_effect
florets1
0
230
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
[RailsConf 2023] Rails as a piece of cake
palkan
52
4.9k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
44
2.2k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
A designer walks into a library…
pauljervisheath
203
24k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
33k
Six Lessons from altMBA
skipperchong
27
3.5k
Teambox: Starting and Learning
jrom
133
8.8k
A better future with KSS
kneath
238
17k
The Pragmatic Product Professional
lauravandoore
31
6.3k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
47
2.1k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
370
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