diff --git a/text/thesis/02MaterialsAndMethods.tex b/text/thesis/02MaterialsAndMethods.tex index 1d9eb5a..8800d8b 100644 --- a/text/thesis/02MaterialsAndMethods.tex +++ b/text/thesis/02MaterialsAndMethods.tex @@ -238,7 +238,7 @@ \begin{figure} \centering \includegraphics{experimentalDesign.jpg} - \caption{Center-out reaching task with four color-coded targets} + \caption{Center-out reaching task with four color-coded targets \cite{Shiman15}} \label{fig:experimentalDesign} \end{figure} Of the kinematic information tracked we only used position ($x,y$) and angle ($\theta$, rotation around $z$-axis) of the hand.\\ diff --git a/text/thesis/03Results.tex b/text/thesis/03Results.tex index a1f4ef0..98e22fb 100644 --- a/text/thesis/03Results.tex +++ b/text/thesis/03Results.tex @@ -1,14 +1,24 @@ \chapter{Results} \label{chp:results} \section{Number of Synergies} -%TODO: plot, decision for 3 -%TODO: compare different number of synergies +\label{res:noSyn} + To determine the number of synergies to use we predicted all EMG data with each technique and each number of synergies. The result is the plot in figure~\ref{fig:noSyn}.\\ + The plot tells that 2 and 4 synergies are good values for Autoencoders, for default nevertheless we use 3 synergies since we also use 3 dimensions of kinematics and so it is better to compare. Three is also the most efficient number of Synergies for PCA and NNMF (cf. Section \ref{dis:noSyn}). + %TODO + \begin{landscape} + \begin{figure} + \centering + \includegraphics[height=\textwidth]{pictures/results/noSyn.png} + \caption{Self prediction accuracy with 1 to 6 synergies} + \label{fig:noSyn} + \end{figure}%TODO: check orientation + \end{landscape} \section{Classification} \subsection{Comparison of methods of recording} The different methods of recording (EEG, EMG and Low frequencies) also differ in the results. An ANOVA gives $p<0.001$ for all classifications done on 4 different movements and rest. \begin{figure} \centering - \includegraphics[width=0.9\textwidth]{pictures/results/classEEGemgLF.png} + \includegraphics[width=\textwidth]{pictures/results/classEEGemgLF.png} \caption{EEG, EMG and LF compared based on classification accuracy with 5 classes} \label{fig:classEEGemgLF} \end{figure} @@ -44,12 +54,12 @@ \includegraphics[width=\textwidth]{pictures/results/overviewEEGclass.png} \caption{Classification with EEG-data} \label{fig:overviewEEG} - \end{figure} + \end{figure}%TODO: landscape? \subsection{Low Frequencies} In figure~\ref{fig:overviewLF} the different settings for classification based on LowFrequency(LF)-data are shown. Default has values as in \ref{mat:default}. The runs with pause leave out the data 1 second before the movement begins (cf. \ref{mat:pause}). Runs with offset have an offset of 1 or 2 (cf. \ref{mat:offset}). \begin{figure} \centering - \includegraphics[width=\textwidth]{pictures/results/overviewLFclas.png} + \includegraphics[width=\textwidth]{pictures/results/overviewLFclass.png} \caption{Classification with LF-data} \label{fig:overviewLF} \end{figure} @@ -78,7 +88,7 @@ The over all performance is given in table \ref{tab:corrKin}. \begin{figure} \centering - \includegraphics[width=0.9\textwidth]{pictures/results/corrEEGemgLF.png} + \includegraphics[width=\textwidth]{pictures/results/corrEEGemgLF.png} \caption{EEG, EMG and LF compared based on prediction of velocities} \label{fig:corrEEGemgLF} \end{figure} @@ -116,7 +126,7 @@ The over all performance is given in table \ref{tab:corrPos}. \begin{figure} \centering - \includegraphics[width=0.9\textwidth]{pictures/results/corrEEGemgLFpos.png} + \includegraphics[width=\textwidth]{pictures/results/corrEEGemgLFpos.png} \caption{EEG, EMG and LF compared based on prediction of positions} \label{fig:corrEEGemgLFpos} \end{figure} diff --git a/text/thesis/04Discussion.tex b/text/thesis/04Discussion.tex index ec1341a..5125614 100644 --- a/text/thesis/04Discussion.tex +++ b/text/thesis/04Discussion.tex @@ -1 +1,5 @@ \chapter{Discussion} + \section{Number of Synergies} + \label{dis:noSyn} + As shown in section~\ref{res:noSyn} 2 and 4 Synergies are good values for Autoencoder since the slope of the mean prediction is steeper before than after. Another neuron doesn't improve the result as much as the last.\\ + For PCA and NNMF this value is reached at 3 as \ref{fig:noSyn} shows. diff --git a/text/thesis/mylit.bib b/text/thesis/mylit.bib index 4deb475..355a059 100755 --- a/text/thesis/mylit.bib +++ b/text/thesis/mylit.bib @@ -72,7 +72,7 @@ publisher={Pergamon-Press} } @inproceedings{Spueler16, - author = {M. Spüler and N. Irastorza Landa and A. Sarasola Sanz and A. Ramos-Murguialday}, + author = {M. Spüler and N. Irastorza-Landa and A. Sarasola Sanz and A. Ramos-Murguialday}, title = {Extracting Muscle Synergy Patterns from EMG Data Using Autoencoders}, booktitle = {Artificial Neural Networks and Machine Learning - ICANN 2016}, publisher = "Springer International Publishing", diff --git a/text/thesis/pictures/results/classEEGemgLF.png b/text/thesis/pictures/results/classEEGemgLF.png index f671cc4..b485dc6 100644 --- a/text/thesis/pictures/results/classEEGemgLF.png +++ b/text/thesis/pictures/results/classEEGemgLF.png Binary files differ diff --git a/text/thesis/pictures/results/corrEEGemgLF.png b/text/thesis/pictures/results/corrEEGemgLF.png index e5b4671..f23df90 100644 --- a/text/thesis/pictures/results/corrEEGemgLF.png +++ b/text/thesis/pictures/results/corrEEGemgLF.png Binary files differ diff --git a/text/thesis/pictures/results/corrEEGemgLFpos.png b/text/thesis/pictures/results/corrEEGemgLFpos.png index 49bb2cb..74fa7f5 100644 --- a/text/thesis/pictures/results/corrEEGemgLFpos.png +++ b/text/thesis/pictures/results/corrEEGemgLFpos.png Binary files differ diff --git a/text/thesis/pictures/results/lfToAutoencPause.png b/text/thesis/pictures/results/lfToAutoencPause.png index 82b83fc..2d8d322 100644 --- a/text/thesis/pictures/results/lfToAutoencPause.png +++ b/text/thesis/pictures/results/lfToAutoencPause.png Binary files differ diff --git a/text/thesis/pictures/results/noSynergiesWithMean.png b/text/thesis/pictures/results/noSynergiesWithMean.png deleted file mode 100644 index 4cf6903..0000000 --- a/text/thesis/pictures/results/noSynergiesWithMean.png +++ /dev/null Binary files differ diff --git a/text/thesis/pictures/results/pauseEMG.png b/text/thesis/pictures/results/pauseEMG.png index 6bd6855..9c1ee23 100644 --- a/text/thesis/pictures/results/pauseEMG.png +++ b/text/thesis/pictures/results/pauseEMG.png Binary files differ diff --git a/text/thesis/pictures/results/predictEMGfromEEG.png b/text/thesis/pictures/results/predictEMGfromEEG.png index df3a43f..eac408d 100644 --- a/text/thesis/pictures/results/predictEMGfromEEG.png +++ b/text/thesis/pictures/results/predictEMGfromEEG.png Binary files differ diff --git a/text/thesis/pictures/results/predictKinfromEEG.png b/text/thesis/pictures/results/predictKinfromEEG.png index ca42e37..73a24ff 100644 --- a/text/thesis/pictures/results/predictKinfromEEG.png +++ b/text/thesis/pictures/results/predictKinfromEEG.png Binary files differ diff --git a/text/thesis/pictures/results/predictPosfromEEG.png b/text/thesis/pictures/results/predictPosfromEEG.png index 8b58174..367a2be 100644 --- a/text/thesis/pictures/results/predictPosfromEEG.png +++ b/text/thesis/pictures/results/predictPosfromEEG.png Binary files differ diff --git a/text/thesis/pictures/topoplotMB1blink.png b/text/thesis/pictures/topoplotMB1blink.png new file mode 100644 index 0000000..4176187 --- /dev/null +++ b/text/thesis/pictures/topoplotMB1blink.png Binary files differ diff --git a/text/thesis/thesis.tex b/text/thesis/thesis.tex index 7793682..4cbb9ff 100644 --- a/text/thesis/thesis.tex +++ b/text/thesis/thesis.tex @@ -21,6 +21,7 @@ \usepackage[chapter]{algorithm} \usepackage{dsfont} \usepackage{algpseudocode} +\usepackage{lscape} %\renewcommand{\familydefault}{\sfdefault} \usepackage{tikz} @@ -109,13 +110,13 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\addcontentsline{toc}{section}{Abstract} \section*{Abstract} +\addcontentsline{toc}{section}{Abstract} Write here your abstract.%\cite{Morasso92}\cite{Tresch06} \newpage -\addcontentsline{toc}{section}{Acknowledgments} \section*{Acknowledgments} +\addcontentsline{toc}{section}{Acknowledgments} Write here your acknowledgments. % Martin, Rosenstiel, Birbaumer(?) - Data, Nieselt for template, WSI, Fachschaft, Familie, ...? @@ -129,8 +130,8 @@ \renewcommand{\baselinestretch}{1.3} \small\normalsize -\addcontentsline{toc}{chapter}{Table of Contents} \tableofcontents +\addcontentsline{toc}{chapter}{Table of Contents} \renewcommand{\baselinestretch}{1} \small\normalsize @@ -144,8 +145,8 @@ \renewcommand{\baselinestretch}{1.3} \small\normalsize -\addcontentsline{toc}{chapter}{List of Figures} \listoffigures +\addcontentsline{toc}{chapter}{List of Figures} \renewcommand{\baselinestretch}{1} \small\normalsize @@ -159,8 +160,8 @@ \renewcommand{\baselinestretch}{1.3} \small\normalsize -\addcontentsline{toc}{chapter}{List of Tables} \listoftables +\addcontentsline{toc}{chapter}{List of Tables} \renewcommand{\baselinestretch}{1} \small\normalsize @@ -174,8 +175,8 @@ \renewcommand{\baselinestretch}{1.3} \small\normalsize -\addcontentsline{toc}{chapter}{List of Algorithms} \listofalgorithms +\addcontentsline{toc}{chapter}{List of Algorithms} \renewcommand{\baselinestretch}{1} \small\normalsize @@ -187,8 +188,8 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % can be removed -\addcontentsline{toc}{chapter}{List of Abbreviations} \chapter*{List of Abbreviations\markboth{LIST OF ABBREVIATIONS}{LIST OF ABBREVIATIONS}} +\addcontentsline{toc}{chapter}{List of Abbreviations} \begin{tabbing} \textbf{EEG}\hspace{2cm}\=Electroencephalography\\ diff --git a/usedMcode/evaluationAccuracys.m b/usedMcode/evaluationAccuracys.m index e665bdd..ddb3690 100644 --- a/usedMcode/evaluationAccuracys.m +++ b/usedMcode/evaluationAccuracys.m @@ -18,7 +18,7 @@ title('ANOVA for EEG, EMG and LF') %% evaluate single form of recording -input=accuracys.LF; +input=accuracys.EMG; sizeY=2; limits_y=[100,0]; diff --git a/usedMcode/evaluationCorrelations.m b/usedMcode/evaluationCorrelations.m index b870737..0899d38 100644 --- a/usedMcode/evaluationCorrelations.m +++ b/usedMcode/evaluationCorrelations.m @@ -90,12 +90,15 @@ figure(); +sizeX=ceil(noOfPlots/sizeY); for i=1:noOfPlots - subplot(sizeY,ceil(noOfPlots/sizeY),i) + subplot(sizeY,sizeX,i) boxplot(input.(sprintf('%s',names{i}))) title(names{i}) - ylabel('correlation recorded - predicted') ylim(limits_y) + if ceil(i/sizeX) > ceil((i-1)/sizeX) + ylabel('correlation recorded - predicted') + end end anova1(cat(2,input.Default(:),input.Offset1(:),input.Offset2(:)),[0,1,2]) @@ -108,4 +111,4 @@ anova1(correlations.EEG.emg.Default,EMGChannels) title('EMG from EEG') -saveFigure(gcf,strcat(figureSavePath,'EEGemg')) \ No newline at end of file +mySaveFigure(gcf,strcat(figureSavePath,'EEGemg')) \ No newline at end of file