diff --git a/DSD/auto_training/images/auto_training_diagram.svg b/DSD/auto_training/images/auto_training_diagram.svg index bb3b894..20341e0 100644 --- a/DSD/auto_training/images/auto_training_diagram.svg +++ b/DSD/auto_training/images/auto_training_diagram.svg @@ -2,12 +2,12 @@ + inkscape:current-layer="layer1"> + + + + + + + + id="layer1" + transform="translate(-18.303502)"> + id="g828" + transform="translate(318.64803,35.45671)"> Detect States List + id="tspan824">Detect States List Raw Trace + id="tspan830">Raw Trace + d="M 370.01218,18.957201 V 69.180984" + id="path834" /> + Rules + Protos - + id="g902" + transform="translate(638.28942,35.45671)"> + Detect States List + + Raw Trace + + + + Compute Protos + id="tspan918">Compute Protos + + Rules + Protos + + id="g976" + transform="translate(957.9308,35.45671)"> + Detect States List + + Raw Trace + + + + + + Compute Protos + + + Detect States Occurences + id="tspan1000">Detect States Occurences + + Rules + Protos + + id="g1050" + transform="translate(1277.5722,35.45671)"> + Detect States List + + Raw Trace + + + + + + + Compute Protos + + + + Detect States Occurences + + + Detect Rules On Detect Rules On States Occurences + id="tspan1084">States Occurences + + Rules + Protos + - + id="g7100"> + + + Detect States List + Raw Trace + + + + + + + Compute Protos + + + + Detect States Occurences + + + + Detect Rules On States Occurences + + + + Remove Non-Recurent Remove Non-Recurent States + + + + + States + style="fill:#000000;stroke:none;stroke-width:0.0494585" + x="1829.5042" + y="190.21289" + id="tspan1180">Rules + Protos + - - - - Rules + style="fill:#000000;stroke:none;stroke-width:0.0494585" + x="32.364265" + y="14.707717" + id="tspan7110">Raw Trace + + Protos + style="fill:#000000;stroke:none;stroke-width:0.0494585" + x="231.29726" + y="190.21289" + id="tspan7164">Rules + Protos + diff --git a/DSD/auto_training/images/clustering.pdf b/DSD/auto_training/images/clustering.pdf new file mode 100644 index 0000000..b72db72 Binary files /dev/null and b/DSD/auto_training/images/clustering.pdf differ diff --git a/DSD/auto_training/images/dsd.pdf b/DSD/auto_training/images/dsd.pdf new file mode 100644 index 0000000..923d26a Binary files /dev/null and b/DSD/auto_training/images/dsd.pdf differ diff --git a/DSD/auto_training/images/powertrace.pdf b/DSD/auto_training/images/powertrace.pdf new file mode 100644 index 0000000..476ec98 Binary files /dev/null and b/DSD/auto_training/images/powertrace.pdf differ diff --git a/DSD/auto_training/images/projection.pdf b/DSD/auto_training/images/projection.pdf new file mode 100644 index 0000000..79ca242 Binary files /dev/null and b/DSD/auto_training/images/projection.pdf differ diff --git a/DSD/auto_training/presentation.pdf b/DSD/auto_training/presentation.pdf index 49da905..0fad2e4 100644 Binary files a/DSD/auto_training/presentation.pdf and b/DSD/auto_training/presentation.pdf differ diff --git a/DSD/auto_training/presentation.tex b/DSD/auto_training/presentation.tex index 287f176..b9800fe 100644 --- a/DSD/auto_training/presentation.tex +++ b/DSD/auto_training/presentation.tex @@ -39,5 +39,50 @@ \only<6>{\includegraphics[height=\textheight]{images/overview-6.pdf}} \end{frame} +\begin{frame}{Raw Trace} + \begin{figure} + \centering + \includegraphics[width=\textwidth]{images/powertrace.pdf} + \end{figure} +\end{frame} + +\begin{frame}{Detect States List and Compute Protos} + \begin{itemize} + \item Extracts subsequences from trace (sliding windows). + \item Apply density-based clustering (DBSCAN) with optimal threshold search (silhouette score). + \item Get clusters and outliers. + \item For every cluster, compute the centroid as proto for DSD. + \end{itemize} +\end{frame} + +\begin{frame} + \begin{figure} + \centering + \includegraphics[width=\textwidth]{images/clustering.pdf} + \end{figure} +\end{frame} + +\begin{frame}{State Detection} + \begin{figure} + \centering + \includegraphics[width=\textwidth]{images/dsd.pdf} + \end{figure} +\end{frame} + +\begin{frame}{Extract Rules Occurences} + DIY-PoC-QaD solution: Occurences $\longrightarrow$ (Interval,Duration) + \begin{figure} + \centering + \includegraphics[height=0.8\textheight]{images/projection.pdf} + \end{figure} +\end{frame} + +\begin{frame}{Hyper-Parameters} + \begin{itemize} + \item Windows size and stride: $w,s$. + \item DSD coefficient $\alpha$. + \item Rules Detection Parameters. + \end{itemize} +\end{frame} \end{document}