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
dotdotdot_in_predict_function
Search
bk
June 04, 2022
Programming
1.2k
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.8k
Introduction_of_GoogleAnalytics_with_R
bk_18
2
1k
web scraping with polite package
bk_18
2
850
start-salesforce-with-r
bk_18
0
930
Missspell Detection
bk_18
1
170
About Missing Values
bk_18
1
420
Other Decks in Programming
See All in Programming
Findy - エンジニア向け会社紹介/Findy Company Deck
findyinc
6
400k
[2026-09-26]空論ジェネリックプロセス~テスト資産とAIで紡ぐ、再現可能なパフォーマンスチューニングの話~
tosite
0
250
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
440
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Rails World 2026, Austin, Texas
marcoroth
0
190
IBM Bob Dojo #1 仕様駆動開発入門
oniak3ibm
PRO
0
350
phperだってパンチカードでコーディングしたい
o0h
PRO
0
200
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
2
1.5k
パーソナライズPodcastを作った話
repunit11
0
120
設計次第でAIコードの読む量は減らせる / designing-for-code-reading
minodriven
34
15k
FreeBSDでZabbixを動かす
kenkino
0
350
Jetpack Compose Mechanisms
skydoves
2
320
モデルのリファクタリングが難しいと思ったら、そもそも複雑だったのはビジネス仕様だった ? / is-the-business-domain-the-real-complexity
hatsu38
0
440
Featured
See All Featured
A Modern Web Designer's Workflow
chriscoyier
699
190k
The Cost Of JavaScript in 2023
addyosmani
55
10k
sira's awesome portfolio website redesign presentation
elsirapls
0
440
Making Projects Easy
brettharned
120
6.8k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.1k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Facilitating Awesome Meetings
lara
57
7.2k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Google's AI Overviews - The New Search
badams
0
1.6k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
350
Testing 201, or: Great Expectations
jmmastey
46
8.3k
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