Fixed structure of regression files
This commit is contained in:
parent
90eff6e2f8
commit
8f0a7cd420
@ -1,10 +1,10 @@
|
|||||||
BASENAME=linear_regression
|
BASENAME=regression
|
||||||
PYFILES=$(wildcard *.py)
|
PYFILES=$(wildcard *.py)
|
||||||
PYPDFFILES=$(PYFILES:.py=.pdf)
|
PYPDFFILES=$(PYFILES:.py=.pdf)
|
||||||
|
|
||||||
pdf : $(BASENAME).pdf $(PYPDFFILES)
|
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
|
pdflatex -interaction=scrollmode $< | tee /dev/stderr | fgrep -q "Rerun to get cross-references right" && pdflatex -interaction=scrollmode $< || true
|
||||||
|
|
||||||
$(PYPDFFILES) : %.pdf : %.py
|
$(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}}
|
||||||
|
|
||||||
|
|
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
\graphicspath{{regression/lecture/}{regression/lecture/figures/}}
|
\graphicspath{{regression/lecture/}{regression/lecture/figures/}}
|
||||||
\lstset{inputpath=regression/code}
|
\lstset{inputpath=regression/code}
|
||||||
\include{regression/lecture/linear_regression}
|
%\include{regression/lecture/linear_regression}
|
||||||
|
|
||||||
\graphicspath{{likelihood/lecture/}{likelihood/lecture/figures/}}
|
\graphicspath{{likelihood/lecture/}{likelihood/lecture/figures/}}
|
||||||
\lstset{inputpath=likelihood/code}
|
\lstset{inputpath=likelihood/code}
|
||||||
|
Reference in New Issue
Block a user