diff --git a/text/thesis/02MaterialsAndMethods.tex b/text/thesis/02MaterialsAndMethods.tex index c1d5601..611d699 100644 --- a/text/thesis/02MaterialsAndMethods.tex +++ b/text/thesis/02MaterialsAndMethods.tex @@ -346,6 +346,14 @@ The kinematic record was started after the EEG recording. In synchronization channel\footnote{cf. Table~\ref{tab:channelNames}} there is a peak when kinematic recording is started. This was used to align movement with EEG and EMG data. In addition we adjusted the kinematic data to the EMG window and shift to be able to use corresponding data for the same time step. This was done by summing all differences (for movement) or by calculating the mean position in the time window.\\ Size of this data is same as EMG and Synergies in length but has only three features per time step since we used only 3D positioning ($x,y$ and $\theta$) of the hand and no information about the fingers. \section{Data Analysis} + %\subsection{Overview} + In Figure~\ref{fig:overview} is shown what is predicted from where. + \begin{figure} + \centering + \input{pictures/overview.tikz} + \caption{Overview: What is predicted?} + \label{fig:overview} + \end{figure} \subsection{Classification} Classification can be done in different ways. First approach is discriminating Movement from Rest. This is done by training an SVM and testing its results with 10-fold cross validation. We do this with EMG, EEG and LF data. EMG in this setting is trivial since it was the basis for the classification (cf. \ref{mm:newClass}).\\ In a second step we try to discriminate movement in different directions also with an SVM trained on EMG, EEG or LF data respectively. The fit of the model is also checked with 10-fold cross validation.\\ diff --git a/text/thesis/pictures/overview.tikz b/text/thesis/pictures/overview.tikz new file mode 100644 index 0000000..4ddbd02 --- /dev/null +++ b/text/thesis/pictures/overview.tikz @@ -0,0 +1,36 @@ +\begin{tikzpicture}[->,auto,x=3cm, y=1.5cm] + + \node (EEG) at (1.5,3) {EEG}; + \node (EMG) at (3.5,-0.5) {EMG}; + \node (Syn) at (2.5,0.5) {Synergies}; + + \node (kin) at (0.5,0.5) {Velocities}; + \node (pos) at (-0.5,-0.5) {Positions}; + + \draw[->,very thick] (EMG) -- (Syn); + \draw[->,very thick] (pos) -- (kin); + + \draw[->] (EEG) -- (EMG); + \draw[->] (Syn) -- (kin); + \draw[->] (Syn) -- (pos); + \draw[->] (EEG) -- (kin); + \draw[->] (EEG) -- (pos); + \draw[->] (EEG) -- (Syn); + \draw[->] (EMG) edge[bend left,distance=1cm] (kin); + \draw[->] (EMG) edge[bend left,distance=1.5cm] (pos); + + \draw[->,dashed] (EEG) .. controls (2.3,0.7) .. (pos); + \draw[->,dashed] (EEG) .. controls (2.3,0.7) .. (kin); + + + %legend + \node (pred) at (0,3) {predicted}; + \node (comp) at (0,2.5) {computed}; + \node (via) at (-0.1,2) {predicted via}; + + \draw[->, very thick] (comp) -- ++(0.5,0); + \draw[->] (pred) -- ++(0.5,0); + \draw[->, dashed] (via) -- ++(0.6,0); + + +\end{tikzpicture} diff --git a/text/thesis/thesis.tex b/text/thesis/thesis.tex index 90f7a83..5dbc23a 100644 --- a/text/thesis/thesis.tex +++ b/text/thesis/thesis.tex @@ -24,7 +24,7 @@ %\renewcommand{\familydefault}{\sfdefault} \usepackage{tikz} -\usetikzlibrary{positioning,shadows,arrows,automata} +\usetikzlibrary{calc,positioning,shadows,arrows,automata} \newcommand{\qq}[1]{``#1''}