-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathreader.tex
More file actions
76 lines (63 loc) · 1.72 KB
/
reader.tex
File metadata and controls
76 lines (63 loc) · 1.72 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
% !TEX encoding = UTF-8 Unicode
%!TEX program = lualatex
% -*- coding: UTF-8; -*-
% vim: set fenc=utf-8
\documentclass[10pt]{article}
\title{Reader machine learning}
\usepackage[utf8]{inputenc}
\usepackage{polyglossia}
\setdefaultlanguage[babelshorthands=true]{dutch}
\usepackage[font={small,it}]{caption}
\usepackage{fontspec}
\usepackage{fancyhdr}
\usepackage{amsmath}
\usepackage{listings}
\usepackage{subfiles}
\usepackage{multicol}
\usepackage{titlesec}
\usepackage{tcolorbox}
\usepackage{color}
\usepackage{hyperref}
\graphicspath{ {./imgs/} }
\newcommand{\sectionbreak}{\clearpage}
% Default fixed font does not support bold face
\DeclareFixedFont{\ttb}{T1}{txtt}{bx}{n}{10} % for bold
\DeclareFixedFont{\ttm}{T1}{txtt}{m}{n}{10} % for normal
% Custom colors
\definecolor{deepblue}{rgb}{0,0,0.5}
\definecolor{deepred}{rgb}{0.6,0,0}
\definecolor{deepgreen}{rgb}{0,0.5,0}
% Python style for highlighting
\newcommand\pythonstyle{\lstset{
language=Python,
frame=L,
framerule=0pt,
otherkeywords={self,from,import,as},
keywordstyle=\ttb\color{deepblue},
emph={MyClass,__init__,array,shape,eye,zeros,ones,random,randint}, % Custom highlighting
emphstyle=\ttm\color{deepred}, % Custom highlighting style
stringstyle=\color{deepgreen},
showstringspaces=false,
xleftmargin=\parindent,
}}
% Python environment
\lstnewenvironment{python}[1][]
{
\pythonstyle
\lstset{#1}
}
{}
\newcommand\pythoninline[1]{{\pythonstyle\lstinline!#1!}}
\begin{document}
\subfile{voorblad}
\subfile{functies}
\subfile{matrix_vector}
\subfile{rekenen_matrix}
\subfile{opgaven}
\subfile{numpy}
\subfile{lineaire_regressie}
\subfile{logistische_regressie}
\subfile{neural_nets}
\subfile{confusion_matrix}
\subfile{appendix}
\end{document}