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
940
Missspell Detection
bk_18
1
180
About Missing Values
bk_18
1
430
Other Decks in Programming
See All in Programming
ハーネス設計入門 〜 基礎知識の整理から実務へのステップアップ 〜
kinopeee
28
35k
npm との違いを手がかりにGo の依存管理を理解したい
optim
0
1k
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
460
[2026-09-26]空論ジェネリックプロセス~テスト資産とAIで紡ぐ、再現可能なパフォーマンスチューニングの話~
tosite
0
280
HTML-in-Canvasで作る未来のWeb UI表現
clockmaker
5
5.3k
自サークルのIdPからログアウトできるようになるまで
taiseiue
1
150
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
2
1.7k
Groovy as a human and AI friendly programming language
paulk
0
110
コードで差別化できない時代の ソフトウェアエンジニアリング / Software Engineering in an Era Where Code Doesn’t Differentiate
kishida
2
190
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
8
2.3k
FactoryBotをやめればRSpecは速くなるのか?
yuta_onishi_97
0
1.1k
複雑なUIコンポーネントとの ⻑い付き合い⽅:波及するバグからテスト戦略を経て、安全な再設計へ
mixplace
0
450
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
580
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
Music & Morning Musume
bryan
48
7.4k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
230
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
460
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.6k
Docker and Python
trallard
47
4.2k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
590
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