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
dotdotdot_in_predict_function
Search
bk
June 04, 2022
Programming
1.1k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
dotdotdot_in_predict_function
https://watagusa.hatenablog.com/entry/2022/06/06/092437
bk
June 04, 2022
More Decks by bk
See All by bk
Befriending Kurtosis with R
bk_18
1
1k
tidy_rpart
bk_18
1
1.7k
Introduction_of_GoogleAnalytics_with_R
bk_18
2
1k
web scraping with polite package
bk_18
2
830
start-salesforce-with-r
bk_18
0
910
Missspell Detection
bk_18
1
170
About Missing Values
bk_18
1
410
Other Decks in Programming
See All in Programming
LaravelLive Japan の裏方のすべて — 第188回 PHP勉強会@東京 (2026-06-24)
suguruooki
2
150
Hatena Engineer Seminar #37「言語モデルの活用に関する研究」
slashnephy
0
490
Skillsは効率化、Agentsは"自分の拡張"——Builder時代のエージェント編成(CC Night 2026)
wemra
1
200
Dataformのリポジトリを立ち上げるときにまずやること / dataform-day0-2026
snhryt
0
210
関数型プログラミングのメリットって何だろう?
wanko_it
0
140
初めてのKubernetes 本番運用でハマった話
oku053
0
110
Welcome to the "Parametricity" 🏙️ − Generic だけど Specific な世界 −
guvalif
1
110
Vite+ Unified Toolchain for the Web
naokihaba
0
670
はてなアカウント基盤 State of the Union
cockscomb
1
1.3k
地域 SRE コミュニティ最前線 - ホンマでっかSRE勉強会
tk3fftk
0
110
Creating Composable Callables in Contemporary C++
rollbear
0
190
IBM Bobを活用したレガシーアプリの最新化
oniak3ibm
PRO
1
240
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
640
Tell your own story through comics
letsgokoyo
1
990
Reality Check: Gamification 10 Years Later
codingconduct
0
2.2k
Exploring anti-patterns in Rails
aemeredith
3
440
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
480
30 Presentation Tips
portentint
PRO
1
340
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
170
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
890
How to build a perfect <img>
jonoalderson
1
5.8k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.6k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
220
Transcript
ʙ predictؔͰ͍᪴ͨdot-dot-dot ʙ ɾɾɾ
࣍ 2 తɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾp.3 predictؔΛ͍ͬͯͨ࣌ͷ͜ͱɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾp.4ʙ10 ʮ…ʯͱɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾp.11ʙ18 ·ͱΊɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾp.19 ࢀߟจݙɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾɾp.20
త 3 త ͋·Γ͞ͳ͍͜ͱ • …ͱԿ͔ΛΔ͜ͱ • …ΛҾʹ࣋ͭؔͰԿʹؾΛ ͚ͭΔ͖ͳͷ͔Δ͜ͱ •
Ҿʹ…Λ࣋ͨͤͨ߹ͷ͍ํ
predictؔΛ͍ͬͯͨ࣌ͷ͜ͱ
predictؔ 5 penguinsσʔλΛֶशσʔλͱݕূσʔλʹׂ
predictؔ 6 rpartͰֶश͠ɺݕূσʔλʹద༻
predictؔ 7 predictؔͷRDocumentationΛௐΔ predict.rpart function - RDocumentation, https://www.rdocumentation.org/packages/rpart/versions/4.1.16/topics/predict.rpart
predictؔ 8 predictͷҾΛݟฦ͢
predictؔ 9 newdataʹԿࢦఆ͍ͯ͠ͳ͍ͱͲ͏ͳΔͷ͔ predict.rpart function - RDocumentation, https://www.rdocumentation.org/packages/rpart/versions/4.1.16/topics/predict.rpart
predictؔ 10 “data”ʹͨ͠ͷͲ͜ʹ͍ͬͨͷ͔ʁ predict.rpart function - RDocumentation, https://www.rdocumentation.org/packages/rpart/versions/4.1.16/topics/predict.rpart
ʮ…ʯͱ
…ͱ 12 Advanced R 6 Functions | Advanced R, https://adv-r.hadley.nz/functions.html#fun-dot-dot-dot
RDocumentation dotsMethods function - RDocumentation, https://www.rdocumentation.org/packages/methods/versions/3.6.2/topics/dotsMethods
…ͱ 13 Advanced R 6 Functions | Advanced R, https://adv-r.hadley.nz/functions.html#fun-dot-dot-dot
RDocumentation dotsMethods function - RDocumentation, https://www.rdocumentation.org/packages/methods/versions/3.6.2/topics/dotsMethods 13
…ͱ 14 ར ࣄલʹࢦఆͰ͖ͳ͍ҾΛॊೈʹड͚औΔ͜ͱ͕Ͱ͖Δ ҙ Ҿ໊͕ޡ͍ͬͯͯΤϥʔͳ͘ड͚औͬͯ͠·͏
…ͷҙ 15 sumͷҾ sum function - RDocumentation, https://www.rdocumentation.org/packages/base/versions/3.6.2/topics/sum
…ͷҙ 16 sumͷҾna.rmͷεϖϧΛؒҧ͑ͨ߹
…ͷ͍ํ 17 listͱؙͯ͠͝ͱड͚औΔ
…ͷ͍ํ 18 ..NͰҾͷॱ൪Λࢦఆͯ͠ड͚औΔ
·ͱΊ 19 • ҾͷεϖϧΛ֬ೝ͢Δ • dot-dot-dotͰड͚औͬͨΒwarning͍͍͋ͬͯؾ͕
ࢀߟจݙ 20 • RDocumentation, predict.rpart function - RDocumentation, https://www.rdocumentation.org/packages/rpart/versions/4.1.16/ topics/predict.rpart
• RDocumentation, dotsMethods function - RDocumentation, https://www.rdocumentation.org/packages/methods/versions/ 3.6.2/topics/dotsMethods • RDocumentation, sum function - RDocumentation, https://www.rdocumentation.org/packages/base/versions/3.6.2/topics/sum • Advanced R, 6 Functions | Advanced R, https://adv-r.hadley.nz/functions.html • My Life as a Mock Quant, ࡾ࿈υοτ(..., dot-dot-dot, ellipsis)ͷऔΓѻ͍, https://teramonagi.hatenablog.com/entry/ 20160817/1471418554 • ࣺͯΒΕͨϒϩά, R ͷ dot-dot-dot ΦϒδΣΫτ, https://blog.recyclebin.jp/archives/3823 • ੴా ج, ࢢ ଠ༞, ߴ༄ ৻Ұ, ౡ ਅଠ࿕, Rݴޠపఈղઆ, https://www.amazon.co.jp/gp/product/432012393X/
None