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
correlation-for-timeseries
Search
rrreeeyyy
July 14, 2016
Technology
280
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
correlation-for-timeseries
hbstyle/2016/07/14
rrreeeyyy
July 14, 2016
More Decks by rrreeeyyy
See All by rrreeeyyy
もう一度考える SRE チームの作り方・育て方 / Rethinking SRE #1: Building and Growing SRE Teams
rrreeeyyy
6
1k
Reliability in the Age of AI: Engineering for AI Velocity
rrreeeyyy
0
190
Rethinking Incident Response: Context-Aware AI in Practice - Incident Buddy Edition -
rrreeeyyy
0
270
Rethinking Incident Response: Context-Aware AI in Practice
rrreeeyyy
3
2.6k
Incident Response Practices: Waroom's Features and Future Challenges
rrreeeyyy
0
320
An Efficient Incident Response Training with AI / SRE NEXT 2024 Sponsor Session
rrreeeyyy
1
6.2k
カンファレンスから見る SRE トレンド 2024 / SRE Trends from Conferences in 2024 #SRE_Findy
rrreeeyyy
4
2.6k
信頼性の育て方 / mackerel-meetup-15
rrreeeyyy
10
3k
SRE の歩き方・進め方 / sre-walk-through-procedure
rrreeeyyy
0
9k
Other Decks in Technology
See All in Technology
JavaScript 研修 (2026)
recruitengineers
PRO
2
470
【CEDEC2026】ゲームシナリオライターを支援するAIツール開発の実践 ― 設計とプロンプトの工夫 ―
cygames
PRO
1
770
Redmine 7.0 新機能・機能強化解説(OSC2026京都ダイジェスト版)
vividtone
1
210
LLM・AIエージェントシステムベストプラクティス
shibuiwilliam
2
630
20260807_第6回_関東kaggler会LT_claw系bot xangiと始める、"寂しくない" kaggle
sugupoko
0
220
モバイルアプリ開発概論2026
recruitengineers
PRO
5
510
Issue設計から始める仕様駆動開発 / 20260731 Mizuki Hirata
shift_evolve
PRO
1
150
FPGAが実現する遠方宇宙の高空間分解能天体撮影 -大型地上望遠鏡の視力を補正する「補償光学」とは?-
komei_mt
0
190
Forza Horizon 6 のテレメトリ機能で 自動運転に使えそうな学習データを集める話
henjin0
0
150
Flutterをカメラで動かしたかった話
sony
1
130
Invisible to AI? Making TYPO3 Sites Quotable by AI Search Systems
wolfgangwagner
0
170
侵入は突然に 〜 IoTマルウェアと悪用される家庭の機器 ~ / When Intrusion Strikes: IoT Malware and the Abuse of Home Devices
nttcom
0
1.6k
Featured
See All Featured
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
480
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
1
390
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.9k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.1k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
200
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.8k
Practical Orchestrator
shlominoach
191
12k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
240
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
470
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
430
Raft: Consensus for Rubyists
vanstee
141
7.6k
Transcript
Correla'on(similarity) for 'meseries hbstyle 2016/07/14 - Yoshikawa Ryota ( @rrreeeyyy
) 1
Correla'on hbstyle 2016/07/14 - Yoshikawa Ryota ( @rrreeeyyy ) 2
ʦ໊ʧ(εϧ)ೋͭͷͷ͕ີʹ͔ ͔ΘΓ߹͍ͬͯΔ͜ͱɻ — σδλϧେࣙઘ hbstyle 2016/07/14 - Yoshikawa Ryota (
@rrreeeyyy ) 3
Why Correla+on for ops engineer? hbstyle 2016/07/14 - Yoshikawa Ryota
( @rrreeeyyy ) 4
hbstyle 2016/07/14 - Yoshikawa Ryota ( @rrreeeyyy ) 5
! hbstyle 2016/07/14 - Yoshikawa Ryota ( @rrreeeyyy ) 6
Why Correla+on for ops engineer? • everything is a ϝτϦΫε
• Ξϥʔτ͕ग़Δͨͼʹ݂؟ʹͳͬͯ૬ؔੑΛ୳͍ͯ͠Δ • ex.) ͜͜Ͱ Load average ্͕͕ͬͨͷʁCPU Sys ্͕͕͍ͬͯΔ͔Β...ʁͦΕͱ...ʁ • => ফ => ࣗಈͰΓ͍ͨ • ϝτϦΫε࣌ܥྻσʔλͷू߹ • ࣌ܥྻσʔλʹରͯ͠૬ؔੑΛఆٛग़དྷͳ͍͔ʁ • ԿΛ࣋ͬͯ૬ؔͱ͢Δ͔ʁ • ಉཻ͡ͷϝτϦΫε͔ΓͰͳ͍͚Ͳ૬ؔੑΛఆ͍ٛͨ͠ʁ • ࣌ܥྻσʔλͷڑΛఆٛͯ͠ྨࣅΛଌͬͯΈΔ hbstyle 2016/07/14 - Yoshikawa Ryota ( @rrreeeyyy ) 7
Distance 1 h$p:/ /www.intechopen.com/books/advances-in-data-mining-knowledge-discovery-and-applica<ons/similarity- measures-and-dimensionality-reduc<on-techniques-for-<me-series-data-mining hbstyle 2016/07/14 - Yoshikawa Ryota
( @rrreeeyyy ) 8
Methods examples • ࣌ܥྻσʔλͷڑΛܭࢉ͢Δදతͳख๏ • ACF(ࣗݾ૬ؔؔ) • COR(ϐΞιϯ૬ؔ) • EUCL(ϢʔΫϦουڑ)
• DWTWARP(DTWڑ) • ... hbstyle 2016/07/14 - Yoshikawa Ryota ( @rrreeeyyy ) 9
Methods examples • ࣌ܥྻσʔλͷڑΛܭࢉ͢Δදతͳख๏ • ACF(ࣗݾ૬ؔؔ) • COR(ϐΞιϯ૬ؔ) • EUCL(ϢʔΫϦουڑ)
• DWTWARP(DTWڑ) • ... hbstyle 2016/07/14 - Yoshikawa Ryota ( @rrreeeyyy ) 10
EUCL(ϢʔΫϦουڑ) • , ͱ͍͏࣌ܥྻσʔλΛൺֱ͢Δͱ͢Δ(࣌ܥྻͷͦ͞ΕͧΕ ͱ͢Δ) • ൪ͷσʔλΛͦΕͧΕ , ͱ͢Δ •
͜ͷ࣌ϢʔΫϦουڑ ͱఆٛͰ͖Δ • ܭࢉྔ • ൺֱ͢Δ 2 ͭͷ࣌ܥྻσʔλͷཻ͕ἧ͍ͬͯΔඞཁ͕͋Δ hbstyle 2016/07/14 - Yoshikawa Ryota ( @rrreeeyyy ) 11
1 h$p:/ /www.intechopen.com/books/advances-in-data-mining-knowledge-discovery-and-applica<ons/similarity- measures-and-dimensionality-reduc<on-techniques-for-<me-series-data-mining hbstyle 2016/07/14 - Yoshikawa Ryota (
@rrreeeyyy ) 12
DTWARP(DTWڑ) • , ͱ͍͏࣌ܥྻσʔλΛൺֱ͢Δͱ͢Δ (࣌ܥྻͷͦ͞ΕͧΕ , ͱ͢Δ) • ൪ͷσʔλΛͦΕͧΕ ,
ͱ͢Δ • ্هͷఆٛͷ࣌ɺ ͷ͕ DTW ڑͱఆٛͰ͖Δ • ܭࢉྔ • ࣌ܥྻσʔλͷྨࣅݕग़ਫ਼ߴ͍ • ϊΠζʹऑ͍ɾܭࢉྔ͕ଟ͍ͱ͍͏͋Δ • FastDTW ͷվྑ͞ΕͨΞϧΰϦζϜଘࡏ͢Δ • ॳظͷԻೝࣝͰΑ͘ΘΕͨ(ӅΕϚϧίϑϞσϧ͕ҰൠԽ͞ΕͯΘΕͳ͘ͳͬͨ) hbstyle 2016/07/14 - Yoshikawa Ryota ( @rrreeeyyy ) 13
1 h$p:/ /www.intechopen.com/books/advances-in-data-mining-knowledge-discovery-and-applica<ons/similarity- measures-and-dimensionality-reduc<on-techniques-for-<me-series-data-mining hbstyle 2016/07/14 - Yoshikawa Ryota (
@rrreeeyyy ) 14
2 h$p:/ /sinhrks.hatenablog.com/entry/2014/11/14/232603 hbstyle 2016/07/14 - Yoshikawa Ryota ( @rrreeeyyy
) 15
2 h$p:/ /sinhrks.hatenablog.com/entry/2014/11/14/232603 hbstyle 2016/07/14 - Yoshikawa Ryota ( @rrreeeyyy
) 16
Real world example hbstyle 2016/07/14 - Yoshikawa Ryota ( @rrreeeyyy
) 17
etsy/oculus example hbstyle 2016/07/14 - Yoshikawa Ryota ( @rrreeeyyy )
18
! hbstyle 2016/07/14 - Yoshikawa Ryota ( @rrreeeyyy ) 19
·ͱΊ • ࣌ܥྻσʔλͷ૬ؔ(ݫີʹྨࣅ)ʹؔͯ͠આ໌ • ͳͥΠϯϑϥΤϯδχΞ͕࣌ܥྻσʔλͷ૬ؔΛΔඞཁ͕͋Δͷ͔આ໌ • ࣌ܥྻσʔλͷྨࣅΛਤΔࢦඪΛ͍͔ͭ͘հ • ϢʔΫϦουڑʹ͍ͭͯৄ͘͠આ໌ •
DTW ڑʹ͍ͭͯৄ͘͠આ໌ • ࣌ܥྻσʔλͷྨࣅΛϝτϦΫεʹద༻͍ͯ͠Δ OSS ͷྫΛઆ໌ hbstyle 2016/07/14 - Yoshikawa Ryota ( @rrreeeyyy ) 20
ࢀߟจݙ • Package 'TSclust' • h1ps:/ /cran.r-project.org/web/packages/TSclust/TSclust.pdf • Making Time-series
ClassificaDon More Accurate Using Learned Constraints • h1p:/ /www.cs.ucr.edu/~eamonn/RATANAMC.pdf • ಈత࣌ؒ৳ॖ๏ / DTW (Dynamic Time Warping) ΛՄࢹԽ͢Δ • h1p:/ /sinhrks.hatenablog.com/entry/2014/11/14/232603 • Similarity Measures and Dimensionality ReducDon Techniques for Time Series Data Mining • h1p:/ /www.intechopen.com/books/advances-in-data-mining-knowledge-discovery-and-applicaDons/similarity-measures-and-dimensionality- reducDon-techniques-for-Dme-series-data-mining • {TSclust} Ͱ͡ΊΔ࣌ܥྻΫϥελϦϯά • h1p:/ /sinhrks.hatenablog.com/entry/2014/11/16/194012 • etsy/oculus • h1ps:/ /github.com/etsy/oculus hbstyle 2016/07/14 - Yoshikawa Ryota ( @rrreeeyyy ) 21