Merge branch 'master' of raven.am28.uni-tuebingen.de:scientificComputing
This commit is contained in:
commit
f44ae51c68
7
Makefile
7
Makefile
@ -1,17 +1,20 @@
|
||||
BASENAME=scientificcomputing-script
|
||||
|
||||
SUBDIRS=programming statistics bootstrap likelihood pointprocesses spike_trains designpattern
|
||||
# regression
|
||||
|
||||
pdf : $(BASENAME).pdf
|
||||
for sd in $(SUBDIRS); do $(MAKE) -C $$sd/lecture pdf; done
|
||||
|
||||
$(BASENAME).pdf : $(BASENAME).tex header.tex
|
||||
export TEXMFOUTPUT=.; pdflatex -interaction=scrollmode $< | tee /dev/stderr | fgrep -q "Rerun to get cross-references right" && pdflatex -interaction=scrollmode $< || true
|
||||
|
||||
clean :
|
||||
rm -f *~ $(BASENAME).aux $(BASENAME).log $(BASENAME).out $(BASENAME).toc
|
||||
for sd in $(SUBDIRS); do $(MAKE) -C $$sd/lecture clean; done
|
||||
|
||||
cleanall : clean
|
||||
rm -f $(PDFFILE)
|
||||
|
||||
watch :
|
||||
while true; do ! make -q pdf && make pdf; sleep 0.5; done
|
||||
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
BASENAME=linear_regression
|
||||
BASENAME=regression
|
||||
PYFILES=$(wildcard *.py)
|
||||
PYPDFFILES=$(PYFILES:.py=.pdf)
|
||||
|
||||
pdf : $(BASENAME).pdf $(PYPDFFILES)
|
||||
|
||||
$(BASENAME).pdf : $(BASENAME).tex
|
||||
$(BASENAME).pdf : $(BASENAME)-chapter.tex
|
||||
pdflatex -interaction=scrollmode $< | tee /dev/stderr | fgrep -q "Rerun to get cross-references right" && pdflatex -interaction=scrollmode $< || true
|
||||
|
||||
$(PYPDFFILES) : %.pdf : %.py
|
||||
|
@ -1,3 +0,0 @@
|
||||
\chapter{\tr{Optimization and Gradient Descent}{Parameteroptimierung und Gradientenabstiegsverfahren}}
|
||||
|
||||
|
16
regression/lecture/regression-chapter.tex
Normal file
16
regression/lecture/regression-chapter.tex
Normal file
@ -0,0 +1,16 @@
|
||||
\documentclass[12pt]{report}
|
||||
|
||||
\input{../../header}
|
||||
|
||||
\lstset{inputpath=../code}
|
||||
|
||||
\graphicspath{{figures/}}
|
||||
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\begin{document}
|
||||
|
||||
\include{regression}
|
||||
|
||||
\end{document}
|
3
regression/lecture/regression.tex
Normal file
3
regression/lecture/regression.tex
Normal file
@ -0,0 +1,3 @@
|
||||
\chapter{\tr{Optimization and Gradient Descent}{Optimierung und Gradientenabstiegsverfahren}}
|
||||
|
||||
|
@ -4,9 +4,6 @@
|
||||
|
||||
\setcounter{maxexercise}{10000} % show listings up to exercise maxexercise
|
||||
|
||||
\graphicspath{{statistics/lecture/}{statistics/lecture/figures/}{bootstrap/lecture/}{bootstrap/lecture/figures/}{likelihood/lecture/}{likelihood/lecture/figures/}{pointprocesses/lecture/}{pointprocesses/lecture/figures/}{programming/lectures/images/}{spike_trains/lecture/images/}}
|
||||
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\begin{document}
|
||||
@ -15,28 +12,36 @@
|
||||
|
||||
\tableofcontents
|
||||
|
||||
\graphicspath{{programming/lectures/}{programming/lectures/images/}}
|
||||
\lstset{inputpath=programming/code}
|
||||
\include{programming/lectures/programming}
|
||||
|
||||
\graphicspath{{statistics/lecture/}{statistics/lecture/figures/}}
|
||||
\lstset{inputpath=statistics/code}
|
||||
\include{statistics/lecture/statistics}
|
||||
|
||||
\graphicspath{{bootstrap/lecture/}{bootstrap/lecture/figures/}}
|
||||
\lstset{inputpath=bootstrap/code}
|
||||
\include{bootstrap/lecture/bootstrap}
|
||||
|
||||
\graphicspath{{regression/lecture/}{regression/lecture/figures/}}
|
||||
\lstset{inputpath=regression/code}
|
||||
\include{regression/lecture/linear_regression}
|
||||
%\include{regression/lecture/linear_regression}
|
||||
|
||||
\graphicspath{{likelihood/lecture/}{likelihood/lecture/figures/}}
|
||||
\lstset{inputpath=likelihood/code}
|
||||
\include{likelihood/lecture/likelihood}
|
||||
|
||||
\graphicspath{{pointprocesses/lecture/}{pointprocesses/lecture/figures/}}
|
||||
\lstset{inputpath=pointprocesses/code/}
|
||||
\renewcommand{\texinputpath}{pointprocesses/lecture/}
|
||||
\include{pointprocesses/lecture/pointprocesses}
|
||||
|
||||
\graphicspath{{spike_trains/lecture/images/}}
|
||||
\lstset{inputpath=spike_trains/code/}
|
||||
\include{spike_trains/lecture/psth_sta}
|
||||
|
||||
\graphicspath{{designpattern/lecture}{designpattern/lecture/figures}}
|
||||
\lstset{inputpath=designpattern/code/}
|
||||
\include{designpattern/lecture/designpattern}
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
\lstset{inputpath=../code}
|
||||
|
||||
\graphicspath{{figures/}}
|
||||
\graphicspath{{images/}}
|
||||
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
@ -31,7 +31,7 @@ Methoden diese zu bestimmen. Drei solcher Methoden sind in Abbildung
|
||||
\ref{psthfig} dargestellt.
|
||||
|
||||
\begin{figure}
|
||||
\includegraphics[width=\columnwidth]{images/psth_comparison}
|
||||
\includegraphics[width=\columnwidth]{psth_comparison}
|
||||
\caption{\textbf{Verschiedene Methoden das PSTH zu bestimmen. A)}
|
||||
Rasterplot einer einzelnen neuronalen Antwort. Jeder vertikale
|
||||
Strich notiert den Zeitpunkt eines Aktionspotentials. \textbf{B)}
|
||||
@ -101,7 +101,7 @@ ausgeschnitten wird und diese dann mittelt (Abbildung
|
||||
\ref{stafig}).
|
||||
|
||||
\begin{figure}
|
||||
\includegraphics[width=0.5\columnwidth]{images/sta}
|
||||
\includegraphics[width=0.5\columnwidth]{sta}
|
||||
\caption{\textbf{Spike Triggered Average eines P-Typ
|
||||
Elektrorezeptors.} Der Rezeptor wurde mit einem ``white-noise''
|
||||
Stimulus getrieben. Zeitpunkt 0 ist der Zeitpunkt des beobachteten
|
||||
@ -126,7 +126,7 @@ Stimulus zu rekonstruieren (Abbildung
|
||||
Rekonstruktion} wird die Zellantwort mit dem STA gefaltet.
|
||||
|
||||
\begin{figure}
|
||||
\includegraphics[width=\columnwidth]{images/reconstruction}
|
||||
\includegraphics[width=\columnwidth]{reconstruction}
|
||||
\caption{\textbf{Rekonstruktion des Stimulus mittels STA.} Die
|
||||
Zellantwort wird mit dem STA gefaltet um eine Rekonstruktion des
|
||||
Stimulus zu erhalten.}\label{reverse_reconstruct_fig}
|
||||
|
Reference in New Issue
Block a user