-
Notifications
You must be signed in to change notification settings - Fork 0
/
thesis.tex
369 lines (274 loc) · 11 KB
/
thesis.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
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
\RequirePackage{fix-cm}
\documentclass[twoside,openleft,reqno,a4paper,final]{book}
%%% Remove the next two lines if you want the figures at their place
%\usepackage[figuresonly,nolists,nomarkers]{endfloat}
%\renewcommand{\processdelayedfloats}{}
\usepackage{soul}%strikeout \st
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[sectionbib]{natbib}
\usepackage[toc,page]{appendix}
\usepackage[svgnames]{xcolor}
\usepackage{chapterbib}
\usepackage[version=4]{mhchem}
\newcommand{\size}[2]{{\fontsize{#1}{0}\selectfont#2}}
%\usepackage{verbatim}
\usepackage{hyperref,booktabs,algpseudocode,algorithm,booktabs,titlesec,setspace,relsize,import}
\usepackage{amsmath,graphicx,float,subcaption}
\usepackage[bindingoffset=25mm, left=15mm, right=15mm,top=30mm, bottom=20mm]{geometry}
\usepackage[space=true]{grffile}
\usepackage{fancyhdr,booktabs,algpseudocode,algorithm,tikz}
\usepackage{pdflscape}
\usepackage{adjustbox}
\usepackage{afterpage}
\usepackage{chemfig}
%In the preamble H is a hidden column type
\usepackage{array}
\newcolumntype{H}{>{\setbox0=\hbox\bgroup}c<{\egroup}@{}}
\newcommand{\chapterbib}{
\newpage
\bibliographystyle{apalike}
\bibliography{bibtex}
}
\urlstyle{same} % do not use typewriter font for urls
%\pagenumbering{roman} http://www.markschenk.com/tensegrity/latexexplanation.html
%A4 (210 mm x 297 mm) https://tex.stackexchange.com/questions/20538/what-is-the-right-order-when-using-frontmatter-tableofcontents-mainmatter
%\addtolength{\textwidth}{12mm}%210
%\addtolength{\evensidemargin}{-4mm}
%\addtolength{\oddsidemargin}{-8mm}
%\addtolength{\textheight}{35mm}%297
\setlength{\parskip}{1.3ex plus 0.2ex minus 0.2ex}
\setlength{\parindent}{0pt}
\setcitestyle{square}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{\thechapter~-~#1}{}}
\fancyhf{}
\fancyhead[LE]{\itshape \thepage}
\fancyhead[RE]{\itshape \nouppercase{\rightmark}} %\nouppercase !
\fancyhead[LO]{\itshape \nouppercase{\leftmark }}%thechapter
\fancyhead[RO]{\itshape \thepage} %\nouppercase !
\pagestyle{fancy}
\newcommand{\ch}[1]{\MakeUppercase{\ce{#1}}} % version 1
\newcommand{\multiref}[2]{\autoref{#1}-\ref{#2}} % from - to
\usetikzlibrary{arrows}
\algnewcommand\algorithmicforeach{\textbf{for each}}
\algdef{S}[FOR]{ForEach}[1]{\algorithmicforeach\ #1\ \algorithmicdo}
\def\blankpage{%
\clearpage%%
\thispagestyle{empty}%
\addtocounter{page}{0}%
\null%
\clearpage}
%DOUBLE PAGE FIG
\makeatletter
\newcommand*{\twopagepicture}[7]{%
\afterpage{%
\clearpage% flush all other floats
\ifodd\value{page}
%\else% uncomment this else to get odd/even instead of even/odd
\expandafter\afterpage% put it on the next page if this one is odd
\fi
{%
%\thispagestyle{empty}
\begin{figure}[#1]
\raggedleft
\vspace*{-.035\textheight}
\adjustbox{trim=0 0cm {.49\width} 0cm,clip}{\includegraphics[height={#6}\textheight,angle=#7]{#3}}%
\caption{#4}\label{#5}
\end{figure}
\thispagestyle{empty}
\begin{figure}[#1]
\raggedright
\vspace*{-.1007\textheight}
\adjustbox{trim={.49\width} 0cm 0 0cm,clip}{\includegraphics[height={#6}\textheight,angle=#7]{#3}}%
\end{figure}
\thispagestyle{empty}
\vfill
\clearpage
}
}
}
\makeatother
% \newcommand{\Autoref}[1]{%
% \begingroup%
% \def\chapterautorefname{Chapter}%
% \def\sectionautorefname{Section}%
% \def\subsectionautorefname{Subsection}%
% \def\subsubsectionautorefname{Subsubsection}%
% \def\paragraphautorefname{paragraph}%
% \autoref{#1}%
% \endgroup%
% }
%just do it for all
\def\chapterautorefname{Chapter}%
\def\sectionautorefname{Section}%
\def\subsectionautorefname{Subsection}%
\def\subsubsectionautorefname{Subsubsection}%
\def\paragraphautorefname{Paragraph}%
\def\tableautorefname{Table}
\def\equationautorefname{Equation}
% %titleify section headers
% \usepackage{titlecaps}
% % \usepackage{xparse}
% %
%
% % Just make titlify python scripts
%
% \let\svsubsubsection\subsubsection
% \DeclareDocumentCommand\subsubsection{ s m }{% s = star, m = mandatory arg
% \IfBooleanTF{#1}{%
% \svsubsubsection*{\titlecap{#2}}
% }{%
% \svsubsubsection{\titlecap{#2}}
% }%
% }
%
% \let\svsubsection\subsection
% % \def\subsection#1{\svsubsection{\titlecap{#1}}}
% \DeclareDocumentCommand\subsection{ s m }{% s = star, m = mandatory arg
% \IfBooleanTF{#1}{%
% \svsubsection*{\titlecap{#2}}
% }{%
% \svsubsection{\titlecap{#2}}
% }%
% }
% \let\svsection\section
% % \def\section#1{\svsection{\titlecap{#1}}}
% \DeclareDocumentCommand\section{ s m }{% s = star, m = mandatory arg
% \IfBooleanTF{#1}{%
% \svsection*{\titlecap{#2}}
% }{%
% \svsection{\titlecap{#2}}
% }%
% }
%
%
% \let\svparagraph\paragraph
% \DeclareDocumentCommand\paragraph{ s m }{% s = star, m = mandatory arg
% \IfBooleanTF{#1}{%
% \svparagraph*{\titlecap{#2}}
% }{%
% \svparagraph{\titlecap{#2}}
% }%
% }
% location,label,caption,width
\definecolor{c1}{HTML}{004F9D}
\definecolor{c2}{HTML}{00775B}
\definecolor{c3}{HTML}{FF9000}
\definecolor{c4}{HTML}{F71735}
\definecolor{c5}{HTML}{C10053}
\makeatletter
\renewcommand{\maketitle}{
\thispagestyle{empty}
\begin{center}
\pagestyle{empty}
\phantom{.} %necessary to add space on top before the title
\vspace{1.5cm}
{\Huge \bf \@title\par}
\vspace{2cm}
{\LARGE \@author}\\[.7cm]
{\Large\@date}
\vspace{6cm}
The University of York, Chemistry Department
Submitted in accordance with the requirements\\
For the degree of Doctor of Philosophy\\ in Atmospheric Chemistry
\vspace{1.3cm}
\textbf{I declare that this thesis is a presentation of original work and I am the sole author. This work has not previously been presented for an award at this, or any other, University. All sources are acknowledged as References.}
\vspace{1cm}
\includegraphics[width=.3\textwidth]{UOY.eps}
\end{center}
}\makeatother
\title{Understanding Atmospheric Chemistry Using Graph-Theory, Visualisation and Machine Learning}
\author{Daniel Ellis}
\date{March 2020}
\begin{document}
% \newgeometry{oneside}
\frontmatter
\titleformat{\paragraph}[hang]{\normalfont\normalsize\bfseries}{\theparagraph}{1em}{}
\titlespacing*{\paragraph}{0pt}{3.25ex plus 1ex minus .2ex}{1em}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
%todepth5 is paragraph
%\cleardoublepage
%\setcounter{page}{0}
%\setcounter{chapter}{0}
\maketitle
\cleardoublepage{}
\setlength{\footnotesep}{0.5cm}
\raggedbottom %group writing to top of page!
%\blankpage
\restoregeometry
\vspace*{0.15\paperheight}
\begin{center}
\begin{quotation}
\centering
\large{\emph{\textbf{Veritatem inquirenti, semel in vita de omnibus,\\ quantum fieri potest, esse dubitandu:}\\
In order to seek truth, it is necessary once in the course of our life, to doubt, as far as possible, of all things. } }
\vspace{\baselineskip}\linebreak
\begin{flushright}\small{
- Descartes, Rene, \textit{Principles of Philosophy}
}
\end{flushright}
\end{quotation}
\end{center}
\newpage
\chapter*{Abstract}
\parbox{.75\textwidth}{
Atmospheric chemistry mechanisms play a pivotal role in our understanding of societal problems such as air pollution, climate change and stratospheric ozone loss. This thesis explores the benefits of representing these mechanisms in terms of a mathematical graph (or network) which connects species (nodes) through reactions (edges). We use the Dynamically Simple Model of Atmospheric Chemical Complexity and the Master Chemical Mechanism to explore the a number of real world senarios - using graph theory and machine learning to visualise, understand and analyse the underlying chemistry of the lower atmosphere.\\
We begin by exploring different visualisation techniques to depict chemistry within the atmosphere. It is found that the sociograph framework provides the most (visually) intuitive delineation of the species and their reactions. For large, complex systems, this type of qseudo-qualitative analysis has its limitations - physical and cognitive. Instead, the relationships between species in the network are quantified using graph centrality metrics and then compared against well-established methods such as the Jacobian and Rate Of Production Analysis. Further development of graph theory allows us to couple natural language processing, network decomposition, and clustering to identify species with similar lifetimes, reaction styles, or temporal profiles. \\
Having explored aspects of mechanism analysis, visualisation and reduction, we examine how varying representations of species structure can affect the patterns highlighted by unsupervised machine learning models. This is done by visualising them in 2D space and serves as a precursor to potential future work involving Graph Convoluted Neural Networks - thus consolidating the contents of this thesis.\\
Ultimately it is found that using a graph-theory approach can prove highly beneficial in the understanding and explanation of chemical mechanisms, but should not (as of yet) be used in substitution of existing investigation and reduction methods.\\
}
% \begin{center}
\chapter*{Acknowlegements}
\parbox{.75\textwidth}{
First and foremost, I would like to thank my family, for which I wish I had spent more time with rather than being squirrelled away in an office. I could have gotten here only with your support for which I am grateful.\\
Next, are my supervisors Andrew and Mat - mainly putting up with me but also being highly supportive throughout the PhD.\\
A special mention also needs to go out to all my friends and colleagues at (\href{www.westminsterboatingbase.co.uk} {Westminster Boating Base}) who helped keep me sane irrespective to the severe watersport withdrawal, kept me employed and invited me to the annual France whitewater trip each year.\\
On a similar note, thanks to all my university friends and collegues (Rosie, Tomas, Ben, Mike, Killian, Pete, Peter etc.) with whom I could bounce ideas and discuss random work adjacent projects when needed.\\
Additionally the Earth0 HPC cluster, for not failing on me, even after it was no longer officially in use (or supported).\\
Finally, I am not sure whether to thank or apologise to those unfortunate enough to have to read any part of this work, but I am grateful anyway.\\
}
% \end{center}
% \newpage
\tableofcontents
\newpage
\include{./glossary}
\listoffigures
\listoftables
\newpage
\mainmatter
% Introduction 0
\include{./0_intro}
%
% Ch1 1
\include{./1_visual}
%
% Chapter 2
\include{./2_graphs}
%
% Chapter 3
\include{./3_centrality}
%
% Chapter 4 - done
\include{./4_lumping}
%
% Chapter 5
\include{./5_DR}
%
% Conclusion
\include{./6_conclusion}
\cleardoublepage\makeatletter\@openrightfalse\makeatother
\begin{appendices}
% %
\subimport{appendices/}{drappendix.tex}
\subimport{appendices/}{misc.tex}
\subimport{appendices/}{keywords.tex}
% \chapterbib
\end{appendices}
\newpage
%
% \bibliographystyle{apalike}
% \bibliography{bibtex}
% \bibliographystyle{unsrt}
\end{document}