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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
Reliability in the Age of AI: Engineering for AI Velocity
rrreeeyyy
0
140
Rethinking Incident Response: Context-Aware AI in Practice - Incident Buddy Edition -
rrreeeyyy
0
250
Rethinking Incident Response: Context-Aware AI in Practice
rrreeeyyy
3
2.5k
Incident Response Practices: Waroom's Features and Future Challenges
rrreeeyyy
0
310
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
2.9k
SRE の歩き方・進め方 / sre-walk-through-procedure
rrreeeyyy
0
9k
「信頼性」を保ちつつ大規模サービスをリニューアルする / cookpad-tech-kitchen-service-embedded-sres
rrreeeyyy
11
13k
Other Decks in Technology
See All in Technology
ACE-Step-1.5で見る 音楽生成AIのしくみと“破綻だけ直す”Retake機能の開発【zennfes spring 2026 登壇資料】
personabb
1
550
SONiCで構築・運用する生成AI向けパブリッククラウドネットワーク ~実装編~
sonic
0
320
ロボティクスの技術 / Robotics Technology
ks91
PRO
0
120
作る力から、見極める力へ — AI時代に広がるエンジニアの価値と役割
rince
0
250
MUSUBI 田中裕一『AIと共に行う「しごとのリデザイン」- スモールバックオフィス編』AI Ops Lab #4
musubi
0
280
脱SaaS!FDEを支えるプロビジョニングと分離設計
knih
0
250
水を運ぶ人としてのリーダーシップ
izumii19
3
630
20260619 私の日常業務での生成 AI 活用
masaruogura
1
240
いまさら聞けない「仕様駆動開発入門」 〜AI活用時代の開発プロセスを考える〜
findy_eventslides
2
170
AIネイティブな開発のサプライチェーンリスク対策 〜激動の開発現場でリスクに立ち向かう〜【ZennFes】
cscengineer
PRO
2
150
“詰む”前に仕組みを作れ 〜技術の波に溺れないためのキャッチアップ術〜
takasyou
6
2.8k
あなたの知らないPDFのアクセシビリティ
lycorptech_jp
PRO
0
230
Featured
See All Featured
A Soul's Torment
seathinner
6
3k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.9k
Designing for Performance
lara
611
70k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.9k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
170
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Why Our Code Smells
bkeepers
PRO
340
58k
Automating Front-end Workflow
addyosmani
1370
210k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.1k
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