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
correlation-for-timeseries
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
rrreeeyyy
July 14, 2016
Technology
290
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
1.3k
Reliability in the Age of AI: Engineering for AI Velocity
rrreeeyyy
0
230
Rethinking Incident Response: Context-Aware AI in Practice - Incident Buddy Edition -
rrreeeyyy
0
290
Rethinking Incident Response: Context-Aware AI in Practice
rrreeeyyy
3
2.6k
Incident Response Practices: Waroom's Features and Future Challenges
rrreeeyyy
0
350
An Efficient Incident Response Training with AI / SRE NEXT 2024 Sponsor Session
rrreeeyyy
1
6.3k
カンファレンスから見る SRE トレンド 2024 / SRE Trends from Conferences in 2024 #SRE_Findy
rrreeeyyy
4
2.7k
信頼性の育て方 / mackerel-meetup-15
rrreeeyyy
10
3.1k
SRE の歩き方・進め方 / sre-walk-through-procedure
rrreeeyyy
0
9.1k
Other Decks in Technology
See All in Technology
Conditional PED-ANOVA: Hyperparameter Importance in Hierarchical & Dynamic Search Spaces
pfn
PRO
0
130
AI駆動開発の時代になったのでトヨタ生産方式から見直す
terurou
7
6k
re:Invent初参加で変わったこと、2回目にやってみたいこと(JAWS-UG彩の国埼玉 #12)
mhrtech
2
220
"優秀な誰か"の下位互換にならないために
yut0naga1_fa
1
1.8k
Webの常識が通じないHTMLメールのダークモード
teamlab
PRO
0
120
二歩目のフロントエンド・ウェブアクセシビリティ
camiha
2
570
実体験から学ぶ分析エージェントの開発と運⽤
recruitengineers
PRO
8
2.4k
1つのリクエストを追って理解する - llm-dのP/D分離
akhino
1
160
Persisting Massive Data with Rails ~Designing for 60 billion rows, and fighting the bottlenecks~ Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
0
730
⾮構造化データを価値に変える AI エージェント基盤とその組織
ivry_presentationmaterials
0
190
宣言型部分更新は何を解決しどこへ向かうのか
shuta13
1
450
V8のArray.prototype.flatを最大約20倍速くするまでと、巨大OSSへの大規模コミットの道のり
riyaamemiya
0
290
Featured
See All Featured
Git: the NoSQL Database
bkeepers
PRO
433
67k
Everyday Curiosity
cassininazir
0
350
New Earth Scene 8
popppiees
4
2.7k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
The Limits of Empathy - UXLibs8
cassininazir
2
720
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
800
The Language of Interfaces
destraynor
162
27k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.3k
Embracing the Ebb and Flow
colly
88
5.2k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
310
Into the Great Unknown - MozCon
thekraken
41
2.8k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.2k
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