From 79bca572f704007b138c70f12d75daa299b6f111 Mon Sep 17 00:00:00 2001 From: Youssef Kashef Date: Wed, 4 May 2022 10:51:14 +0200 Subject: [PATCH] fix references in pca notes --- notes/01_pca/2_apply-pca.tex | 2 +- notes/01_pca/Makefile | 3 ++- notes/01_pca/tutorial.tex | 12 ++++++------ 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/notes/01_pca/2_apply-pca.tex b/notes/01_pca/2_apply-pca.tex index 08971ca..cf2e08b 100644 --- a/notes/01_pca/2_apply-pca.tex +++ b/notes/01_pca/2_apply-pca.tex @@ -122,7 +122,7 @@ \subsubsection{A note on implementation} \notesonly{ The reason for the difference in sign between the eigenvector's you would get via \textit{eig} and the eigenvector you would get via \textit{SVD}\footnote{Python's scikit-learn package uses SVD for its PCA implementation.}, is that SVD, in practice, may arbitrarily flip the direction of the eigenevectors. -Possible reasons for the sign ambiguity according to \ref{bro2008resolving}: +Possible reasons for the sign ambiguity according to \cite{bro2008resolving}: \begin{enumerate} \item It's a mechanism in the \textit{SVD} implementation (there's more than one \textit{SVD} implementation) to mitigate numerical instabilities, \item Due to centering of the data, diff --git a/notes/01_pca/Makefile b/notes/01_pca/Makefile index 617c15e..0191a02 100644 --- a/notes/01_pca/Makefile +++ b/notes/01_pca/Makefile @@ -22,7 +22,8 @@ handout: $(projname).handout.tex $(projname).tex # Repeat compilation for the references to show up correctly notes: $(projname).notes.tex $(projname).tex $(compile) $(projname).notes.tex -# bibtex $(projname).notes + bibtex $(projname).notes + $(compile) --interaction=batchmode $(projname).notes.tex $(compile) --interaction=batchmode $(projname).notes.tex # $(compile) --interaction=batchmode $(projname).notes.tex mv $(projname).notes.pdf $(targetname).notes.pdf diff --git a/notes/01_pca/tutorial.tex b/notes/01_pca/tutorial.tex index caec990..d42f86b 100644 --- a/notes/01_pca/tutorial.tex +++ b/notes/01_pca/tutorial.tex @@ -86,12 +86,12 @@ \clearpage -%\section{References} -%\begin{frame}[allowframebreaks] \frametitle{References} - %\scriptsize - %\bibliographystyle{plainnat} - %\bibliography{bibliography} -%\end{frame} +\section{References} +\begin{frame}[allowframebreaks] \frametitle{References} + \scriptsize + \bibliographystyle{plainnat} + \bibliography{bibliography} +\end{frame} \end{rightcolumn} \end{paracol}