-
Notifications
You must be signed in to change notification settings - Fork 133
/
Copy pathESL-Solutions.tex
74 lines (60 loc) · 1.64 KB
/
ESL-Solutions.tex
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
\documentclass[oneside]{amsbook}
\usepackage{amsthm, amsmath, amssymb}
\usepackage{geometry, setspace, graphicx, enumerate}
\usepackage{listings}
\onehalfspacing
\usepackage[usenames, dvipsnames]{color}
\definecolor{graphblue}{RGB}{52, 138, 189}
\definecolor{graphpurple}{RGB}{122, 104, 166}
\theoremstyle{plain}% default
\newtheorem{thm}{Theorem}[chapter]
\newtheorem{lem}[thm]{Lemma}
\newtheorem{prop}[thm]{Proposition}
\newtheorem{exer}[thm]{Exercise}
\newtheorem*{cor}{Corollary}
\theoremstyle{definition}
\newtheorem{defn}[thm]{Definition}
\newtheorem{conj}[thm]{Conjecture}
\newtheorem{exmp}[thm]{Example}
\theoremstyle{remark}
\newtheorem*{rem}{Remark}
\newtheorem*{note}{Note}
\newtheorem{case}{Case}
\DeclareMathOperator*{\argmax}{arg\,max}
\DeclareMathOperator*{\argmin}{arg\,min}
\lstset{
language=Python,
numbers=left,
numberstyle=\scriptsize,
stepnumber=0,
numbersep=5pt,
showspaces=false,
breaklines=true,
basicstyle=\ttfamily\scriptsize,
frame=single,
commentstyle=\scriptsize,
prebreak=\raisebox{0ex}[0ex][0ex]{\ensuremath{\hookleftarrow}},
showstringspaces=false,
showtabs=false,
identifierstyle=\ttfamily,
stringstyle=\color{Gray},
commentstyle=\color{graphpurple},
keywordstyle=\color{graphblue},
commentstyle=\color{RoyalBlue},
keywordstyle=\color{RedViolet},
tabsize=2
}
\usepackage{hyperref}
\title{Elements of Statistical Learning}
\author{Andrew Tulloch}
\begin{document}
\maketitle
\tableofcontents
\setcounter{chapter}{1}
\include{ESL-Chap2Solutions}
\include{ESL-Chap3Solutions}
\include{ESL-Chap4Solutions}
\include{ESL-Chap5Solutions}
\setcounter{chapter}{12}
\include{ESL-Chap12Solutions}
\end{document}