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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
AI Augmentation Techniques with Liberty
ivargrimstad
0
180
AI時代のFlutter品質設計 — アプリ品質を守るQuality Layers
omatty198
0
320
全ての永続トークンを、生まれる前に消し去りたい!
sylph01
2
1.6k
Spec-driven Development with AI
simas
PRO
0
2.2k
SODA - FACT BOOK(JP)
sodainc
1
40k
Inertia Rails: The One-Person Framework with React & Friends
skryukov
0
200
golang-bob.pdf
iwatsukayura
0
150
Performance Optimization With LLMs
xleitix
0
230
SFCで実現する病院・医療システムの動的組み立て式UI
koukimiura
1
140
graphql-ruby を Spinel で速くしようとした話
mtsmfm
0
130
作って学ぶSpring BootのAuto Configuration / JJUG Night Seminar 2026-10-19
rshindo
0
210
ActionController meets Protocol Buffers
sorah
1
750
Featured
See All Featured
HDC tutorial
michielstock
2
990
Design in an AI World
tapps
1
380
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
77k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
New Earth Scene 8
popppiees
4
2.7k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
950
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
910
Marketing to machines
jonoalderson
1
5.9k
Thoughts on Productivity
jonyablonski
76
5.4k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
510
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.2k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.8k
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