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
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.2k
Reliability in the Age of AI: Engineering for AI Velocity
rrreeeyyy
0
210
Rethinking Incident Response: Context-Aware AI in Practice - Incident Buddy Edition -
rrreeeyyy
0
280
Rethinking Incident Response: Context-Aware AI in Practice
rrreeeyyy
3
2.6k
Incident Response Practices: Waroom's Features and Future Challenges
rrreeeyyy
0
340
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
3k
SRE の歩き方・進め方 / sre-walk-through-procedure
rrreeeyyy
0
9k
Other Decks in Technology
See All in Technology
Deployment の 先にある AI Agent 基盤 - kagent vNext、Agent Substrate、Hermes から読み解く Agent Runtime の現在地 / k8s-matsuri-2-ai-agent-platform-amsy810
masayaaoyama
3
550
AI に書かせたその API、 “信頼” できますか?
nagix
0
110
アプリをもっと"iOSアプリっぽく"する小さな工夫 / Small Touches That Make Your App Feel More Like an iOS App
matsuji
1
890
2026-09-11 【Snowflake World Tour Tokyo 2026】Snowflakeを起点に、AI Agentが自律稼働し続ける未来へ / Driving AI Agents with Snowflake
civitaspo
0
400
負債のメタファと2026年 / Debt Metaphor in Agentic Engineering Age 202609 Edition
twada
PRO
3
1.9k
データ界隈LT祭 第1回LT登壇
taromatsui_cccmkhd
1
1.3k
Reactの設計論
uhyo
24
13k
山手線を徒歩で一周してわかった、 位置情報アプリは「足」が最強のデバッガー
hinakko
0
150
空間オーディオで過去の 自分(ゴースト)と競うランニング 〜HealthKitのルートを足音に変える実装〜
nao_randd
0
210
GoにおけるFFIのこれまでとこれから
goccy
5
3.2k
10分で知る最近のOmarchy
komagata
0
310
2026/09/10 Spring Bootから Jakarta EE/MicroProfileへの移行
megascus
0
370
Featured
See All Featured
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
420
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
880
Leo the Paperboy
mayatellez
10
2.3k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.2k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
Rails Girls Zürich Keynote
gr2m
96
14k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.8k
Why Our Code Smells
bkeepers
PRO
340
58k
Discover your Explorer Soul
emna__ayadi
2
1.3k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
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