-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.tex
More file actions
160 lines (113 loc) · 4.12 KB
/
main.tex
File metadata and controls
160 lines (113 loc) · 4.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
\documentclass[a4paper, 6pt, landscape]{scrartcl}
\usepackage[german]{babel}
\usepackage[utf8]{inputenc}
\usepackage{multicol}
\usepackage{geometry}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{enumitem}
\usepackage{fancyhdr}
\usepackage{index}
\usepackage{sectsty}
\usepackage{mwe}
\usepackage{comment}
\usepackage{titlesec}
\usepackage[dvipsnames]{xcolor}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{listings}
\usepackage{helvet}
\renewcommand{\familydefault}{\sfdefault}
\usepackage{pgfplots}
%Define Math Commands:
\newcommand*{\field}[1]{\mathbb{#1}}%
\newcommand{\Mod}[1]{\ (\mathrm{mod}\ #1)}
%Image Folder:
\graphicspath{{../img/}}
%format
\geometry{top=0.4cm,left=0.5cm,right=0.5cm,bottom=0.4cm}
\setlist{topsep=0pt, leftmargin=5mm, nolistsep}
% Code Snippets
\definecolor{javared}{rgb}{0.6,0,0} % for strings
\lstset{
language=C,
basicstyle=\fontsize{7}{7} \ttfamily,
keywordstyle=\bfseries\color{RoyalBlue},
stringstyle=\color{javared},
commentstyle=\color{MidnightBlue},
morecomment=[s][\color{MidnightBlue}]{/**}{*/},
tabsize=2,
showspaces=false,
showstringspaces=false,
texcl = true,
rulecolor = \color{black},
breaklines = true,
aboveskip = 0em,
belowskip = 0em
}
\usepackage{minted} % for code blocks
\newcommand{\cpp}[1]{\mintinline{cpp}{#1}}
\newcommand{\python}[1]{\mintinline{python}{#1}}
\newcommand{\sh}[1]{\mintinline{sh}{#1}}
\newcommand{\tex}[1]{\mintinline{tex}{#1}}
\newcommand{\sql}[1]{\mintinline{postgres}{#1}}
\newcommand{\txt}[1]{\mintinline{text}{#1}}
\setminted[cpp]{xleftmargin=15pt,mathescape,linenos,obeytabs,breaklines,tabsize=2,escapeinside=||}
\setminted[python]{xleftmargin=15pt,mathescape,linenos,obeytabs,breaklines,tabsize=2,escapeinside=||}
\setminted[sql]{xleftmargin=15pt,mathescape,linenos,obeytabs,breaklines,tabsize=2,escapeinside=||}
\setminted[sh]{xleftmargin=15pt,mathescape,linenos,obeytabs,breaklines,tabsize=2,escapeinside=||}
\setminted[text]{xleftmargin=15pt,mathescape,linenos,obeytabs,breaklines,tabsize=2,escapeinside=||}
\setminted[tex]{xleftmargin=15pt,mathescape,linenos,obeytabs,breaklines,tabsize=2,escapeinside=||}
\newcommand{\TODO}[1]{\noindent {{\color{red}\fbox{\sffamily \bfseries TODO}} \sffamily #1}}
\newcommand{\FIXME}[1]{\noindent {{\color{green}\fbox{\sffamily \bfseries FIXME}} \sffamily #1}}
\newcommand{\CHECK}[1]{\noindent {{\color{orange}\fbox{\sffamily \bfseries CHECK}} \sffamily #1}}
\newcommand{\CONSIDER}[1]{\noindent {{\color{blue}\fbox{\sffamily \bfseries CONSIDER}} \sffamily #1}}
% Define Section Format
\titleformat{name=\section}[block]
{\sffamily\normalsize}
{}
{0pt}
{\colorsection}
\titlespacing*{\section}{0pt}{0pt}{0pt}
\newcommand{\colorsection}[1]{%
\colorbox{MidnightBlue!40}{\parbox{0.98\linewidth}{\color{black}\thesection\ #1}}}
% Define Subsection Format
\titleformat{name=\subsection}[block]
{\sffamily\small}
{}
{0pt}
{\colorsubsection}
\titlespacing*{\subsection}{0pt}{0pt}{0pt}
\newcommand{\colorsubsection}[1]{%
\colorbox{YellowGreen!50}{\parbox{0.98\linewidth}{\color{black}\thesubsection\ #1}}}
% Define SubSubsection Format
\titleformat{name=\subsubsection}[block]
{\sffamily\small}
{}
{0pt}
{\colorsubsubsection}
\titlespacing*{\subsubsection}{0pt}{0pt}{0pt}
\newcommand{\colorsubsubsection}[1]{%
\colorbox{Goldenrod!50}{\parbox{0.98\linewidth}{\color{black}\thesubsubsection\ #1}}}
% -----------------------------------------------------------------------
\begin{document}
% \pagecolor{p}
% \color{t}
\setlength{\columnseprule}{0.4pt}
%\footnotesize
\begin{multicols*}{3}
\tableofcontents
\input{./content/01_introduction.tex}
\input{./content/02_nlp.tex}
\input{./content/03_probability.tex}
\input{./content/04_data_visualization.tex}
\input{./content/05_regression.tex}
\input{./content/06_optimization.tex}
\input{./content/07_generalization_regularization.tex}
\input{./content/08_cross_validation.tex}
\input{./content/09_logistic_regression.tex}
\input{./content/10_classifier_evaluation.tex}
\input{./content/11_clustering.tex}
\input{./content/12_ensemble_methods.tex}
\end{multicols*}
\end{document}