Under Review for ML4H 2024 - Demo Track LEAVE UNSET:1–7, 2024 Machine Learning for Health (ML4H)
r Health (ML4H) 2024
Demo for ML4H 2024: Template
First Author 1∗
[email protected] Company X, Country 1
First Author 2∗
[email protected] Company Y, Country 2
Last Author
[email protected] Company Z, Country 3
1 1. Instructions 2. Introduction 21
2 This is the template for submissions to the Demo This is a sample article that uses the jmlr class with 22
3 Track for the Machine Learning for Health (ML4H) the wcp class option. Please follow the guidelines in 23
4 Symposium 2024. Please follow the instructions be- this sample document as it can help to reduce com- 24
5 low: plications when combining the articles into a book. 25
Please avoid using obsolete commands, such as \rm, 26
6 1. The Demo Track Spec Sheet submission is lim- and obsolete packages, such as epsfig.1 Some pack- 27
7 ited to 2 pages (excluding references and appen- ages that are known to cause problems for the pro- 28
8 dices). duction editing process are checked for by the jmlr 29
9 2. It must contain the following sections, as out- class and will generate an error. (If you want to 30
10 lined in the Call for Demos: Introduction, know more about the production editing process, 31
11 Method, Results, and Discussion. have a look at the video tutorials for the produc- 32
tion editors at http://www.dickimaw-books.com/ 33
12 3. Please use the packages automatically loaded software/makejmlrbookgui/videos/.) 34
13 (amsmath, amssymb, natbib, graphicx, url, algo- Please also ensure that your document will com- 35
14 rithm2e) to manage references, write equations, pile with PDFLATEX. If you have an error message 36
15 and include figures and algorithms. Please follow that’s puzzling you, first check for it at the UK 37
16 the example provided in this file. TUG FAQ https://texfaq.org/FAQ-man-latex. 38
If that doesn’t help, create a minimal working exam- 39
17 4. References must be included in a .bib file. ple (see https://www.dickimaw-books.com/latex/ 40
18 5. Please write your paper in a single .tex file. minexample/) and post to somewhere like TEX on 41
StackExchange (http://tex.stackexchange.com/) 42
19 6. For writing guidelines, please see the official or the LATEX Community Forum (http://www. 43
20 ML4H Call for Demos at ml4h.cc. latex-community.org/forum/). 44
Note: 45
This is an numbered theorem-like environment that 46
was defined in this document’s preamble. 47
2.1. Sub-sections 48
Sub-sections are produced using \subsection. 49
2.1.1. Sub-sub-sections 50
Sub-sub-sections are produced using 51
\subsubsection. 52
∗ These authors contributed equally 1. See http://www.ctan.org/pkg/l2tabu
© 2024 F.A. 1, F.A. 2 & L. Author.
Short Title
53 Sub-sub-sub-sections Sub-sub-sub-sections are or you can use the displaymath environment: 94
54 produced using \paragraph. These are unnumbered
55 with a running head. E = mc2
56 Sub-sub-sub-sub-sections Sub-sub-sub-sub- Numbered single-line equations should be displayed 95
57 sections are produced using \subparagraph. These using the equation environment. For example: 96
58 are unnumbered with a running head.
cos2 θ + sin2 θ ≡ 1 (1)
59 3. Cross-Referencing This can be referenced using \label and 97
\equationref. For example, Equation (1). 98
60 Always use \label and \ref (or one of the com- Multi-lined numbered equations should be dis- 99
61 mands described below) when cross-referencing. played using the align environment.3 For example: 100
62 For example, the next section is Section 4 but you
63 can also refer to it using Section 4. The jmlr class f (x) = x2 + x (2)
64 provides some convenient cross-referencing com- ′
f (x) = 2x + 1 (3)
65 mands: \sectionref, \equationref, \tableref,
66 \figureref, \algorithmref, \theoremref, Unnumbered multi-lined equations can be displayed 101
67 \lemmaref, \remarkref, \corollaryref, using the align* environment. For example: 102
68 \definitionref, \conjectureref, \axiomref,
69 \exampleref and \appendixref. The argument of f (x) = (x + 1)(x − 1)
70 these commands may either be a single label or a
= x2 − 1
71 comma-separated list of labels. Examples:
72 Referencing sections: Section 4 or Sections 2 and 4 If you want to mix numbered with unnumbered lines 103
73 or Sections 2, 4, 6.1 and 6.2. use the align environment and suppress unwanted 104
74 Referencing equations: Equation (1) or Equa- line numbers with \nonumber. For example: 105
75 tions (1) and (3) or Equations (1), (2), (3) and (4).
76 Referencing tables: Table 1 or Tables 1 and 2 or y = x2 + 3x − 2x + 1
77 Tables 1, 2 and 3.
= x2 + x + 1 (4)
78 Referencing figures: Figure 1 or Figures 1 and 2 or
79 Figures 1, 2 and 3 or Figures 3(a) and 3(b). An equation that is too long to fit on a single line 106
80 Referencing algorithms: Algorithm 1 or Algo- can be displayed using the split environment. Text 107
81 rithms 1 and 2 or Algorithms 1, 2 and 3. can be embedded in an equation using \text or 108
82 Referencing theorem-like environments: Theo- \intertext (as used in Theorem 1). See the ams- 109
83 rem 1, Lemma 2, Remark 3, Corollary 4, Definition 5, math documentation for further details. 110
84 Conjecture 6, Axiom 7 and Example 1.
85 Referencing appendices: Appendix A or Appen-
4.1. Operator Names 111
86 dices A and B.
Predefined operator names are listed in Ta- 112
ble 1. For additional operators, either use 113
87 4. Equations \operatorname, for example var(X) or declare it 114
with \DeclareMathOperator, for example 115
88 The jmlr class loads the amsmath package, so you can
89 use any of the commands and environments defined \DeclareMathOperator{\var}{var} 116
90 there. (See the amsmath documentation for further
91 details.2 ) and then use this new command. If you want 117
92 Unnumbered single-lined equations should be dis- limits that go above and below the operator (like 118
93 played using \[ and \]. For example: \sum) use the starred versions (\operatorname* or 119
\DeclareMathOperator*). 120
E = mc2
3. For reasons why you shouldn’t use the obsolete eqnarray
2. Either texdoc amsmath or http://www.ctan.org/pkg/ environment, see Lars Madsen, Avoid eqnarray! TUGboat
amsmath 33(1):21–25, 2012.
2
Short Title
Table 1: Predefined Operator Names (taken from amsmath documentation)
\arccos arccos \deg deg \lg lg \projlim proj lim
\arcsin arcsin \det det \lim lim \sec sec
\arctan arctan \dim dim \liminf lim inf \sin sin
\arg arg \exp exp \limsup lim sup \sinh sinh
\cos cos \gcd gcd \ln ln \sup sup
\cosh cosh \hom hom \log log \tan tan
\cot cot \inf inf \max max \tanh tanh
\coth coth \injlim inj lim \min min
\csc csc \ker ker \Pr Pr
\varlimsup lim \varinjlim lim
−→
\varliminf lim \varprojlim lim
←−
121 5. Vectors and Sets 6.1. Tables 152
122 Vectors should be typeset using \vec. For example Tables should go in the table environment. Within 153
123 x. (The original version of \vec can also be accessed this environment use \floatconts (defined by jmlr) 154
124 using \orgvec, for example ⃗x.) The jmlr class also to set the caption correctly and center the table con- 155
125 provides \set to typeset a set. For example S. tents. The location of the caption depends on the 156
tablecaption setting in the document class options. 157
126 6. Floats
Table 2: An Example Table
127 Floats, such as figures, tables and algorithms, are
128 moving objects and are supposed to float to the near- Dataset Result
129 est convenient location. Please don’t force them to Data1 0.12345
130 go in a particular place. In general it’s best to use Data2 0.67890
131 the htbp specifier and don’t put the figure or table in Data3 0.54321
132 the middle of a paragraph (that is make sure there’s Data4 0.09876
133 a paragraph break above and below the float). Floats
134 are supposed to have a little extra space above and
If you want horizontal rules you can use the 158
135 below them to make them stand out from the rest of
booktabs package which provides the commands 159
136 the text. This extra spacing is put in automatically
\toprule, \midrule and \bottomrule. For exam- 160
137 and shouldn’t need modifying.
ple, see Table 3. 161
138 If your article will later be reprinted in the Chal-
139 lenges for Machine Learning, please be aware that
140 the CiML books use a different paper size, so if you Table 3: A Table With Horizontal Lines
141 want to resize any images use a scale relative to the
142 line width (\linewidth), text width (\textwidth) Dataset Result
143 or text height (\textheight).
Data1 0.12345
144 To ensure consistency, please don’t try changing
Data2 0.67890
145 the format of the caption by doing something like:
Data3 0.54321
146 \caption{\textit{A Sample Caption.}} Data4 0.09876
147 or
148 \caption{\em A Sample Caption.} If you really want vertical lines as well, you can’t 162
use the booktabs commands as there’ll be some un- 163
149 You can, of course, change the font for individual wanted gaps. Instead you can use LAT X’s \hline,
E 164
150 words or phrases, for example: but the rows may appear a bit cramped. You can add 165
151 \caption{A Sample Caption With Some \emph{Emphasized extra space above or below a row using \abovestrut
Words}.} 166
3
Short Title
167 and \belowstrut. For example, see Table 4. How- the jmlr class). This can be scaled and rotated in the 195
168 ever, you might want to read the booktabs documen- same way as \includegraphics. For example, see 196
169 tation regarding the use of vertical lines. Figure 2. 197
Table 4: A Table With Horizontal and Vertical Lines
Dataset Result
Data1 0.12345
Data2 0.67890
B
Data3 0.54321
A
Data4 0.09876
170 If you want to align numbers on their decimal
171 point, you can use the siunitx package. For further
172 details see the siunitx documentation4 .
173 If the table is too wide, you can adjust the inter-
174 column spacing by changing the value of \tabcolsep.
175 For example: Figure 2: Image Created Using LATEX Code
176 \setlength{\tabcolsep}{3pt} If the figure is too wide to fit on the page, you can 198
use the sidewaysfigure environment defined in the 199
177 If the table is very wide but not very long, you can
rotating package. 200
178 use the sidewaystable environment defined in the
179 rotating package (so use \usepackage{rotating}). Don’t use \graphicspath.5 If the im- 201
180 If the table is too long to fit on a page, you can use ages are contained in a subdirectory, specify 202
181 the longtable environment defined in the longtable this when you include the image, for example 203
182 package (so use \usepackage{longtable}). \includegraphics{figures/mypic}. 204
183 6.2. Figures 6.2.1. Sub-Figures 205
184 Figures should go in the figure environment. Within
Sub-figures can be created using \subfigure, which 206
185 this environment, use \floatconts to correctly po-
is defined by the jmlr class. The optional argument 207
186 sition the caption and center the image. Use
allows you to provide a subcaption. The label should 208
187 \includegraphics for external graphics files but
be placed in the mandatory argument of \subfigure. 209
188 omit the file extension. Do not use \epsfig or
You can reference the entire figure, for example Fig- 210
189 \psfig. If you want to scale the image, it’s better
ure 3, or you can reference part of the figure using 211
190 to use a fraction of the line width rather than an
\figureref, for example Figure 3(a). Alternatively 212
191 explicit length. For example, see Figure 1.
you can reference the subfigure using \subfigref, for 213
example (a) and (b) in Figure 3. 214
By default, the sub-figures are aligned on the base- 215
line. This can be changed using the second optional 216
argument of \subfigure. This may be t (top), c 217
(centered) or b (bottom). For example, the subfig- 218
Figure 1: Example Image ures (a) and (b) in Figure 4 both have [c] as the 219
second optional argument. 220
192 If your image is made up of LATEX code (for ex-
193 ample, commands provided by the pgf package) you 5. This is specific to the jmlr class, not a general recommen-
194 can include it using \includeteximage (defined by dation. The main file that generates the proceedings or
the CiML book is typically in a different directory to the
4. Either texdoc siunitx or http://www.ctan.org/pkg/ imported articles, so it modifies the graphics path when it
siunitx imports an article.
4
Short Title
Table 6: Another Example With Sub-Tables
(b)
(a)
C D
(a) A Cir- (b) A A B
3 4
cle Square 1 2
5 6
Figure 3: An Example With Sub-Figures.
ments. For example, see Algorithm 1. Note that 240
algorithms float like figures and tables. 241
(a) A Algorithm 1: The Gauss-Seidel Algorithm
Small
Cir- (b) A 1. For k = 1 to maximum number of iterations
cle Square
(a) For i = 1 to n
Pi−1 (k) P (k−1)
(k) bi − j=1 aij xj − n j=i+1 aij xj
Figure 4: Another Example With Sub-Figures. i. xi = aii
ii. If ∥x(k) − x (k−1)
< ϵ∥, where ϵ is a
specified stopping criteria, stop.
221 6.3. Sub-Tables
222 There is an analogous command \subtable for sub-
223 tables. It has the same syntax as \subfigure de- If you’d rather have the same numbering through- 242
224 scribed above. You can reference the table using out the algorithm but still want the convenient in- 243
225 \tableref, for example Table 5 or you can ref- dentation of nested enumerate environments, you can 244
226 erence part of the table, for example Table 5(a). use the enumerate* environment provided by the jmlr 245
227 Alternatively you can reference the subtable using class. For example, see Algorithm 2. 246
228 \subtabref, for example (a) and (b) in Table 5.
Algorithm 2: Moore’s Shortest Path
Table 5: An Example With Sub-Tables Given a connected graph G, where the length of each
edge is 1:
(a) (b)
A B C D 1. Set the label of vertex s to 0
1 2 3 4 2. Set i = 0
5 6
3. Locate all unlabelled vertices adjacent to a
229 By default, the sub-tables are aligned on the top. vertex labelled i and label them i + 1
230 This can be changed using the second optional argu- 4. If vertex t has been labelled,
231 ment of \subtable. This may be t (top), c (cen- the shortest path can be found by back-
232 tered) or b (bottom). For example, the sub-tables tracking, and the length is given by the
233 (a) and (b) in Table 6 both have [c] as the second label of t.
234 optional argument.
otherwise
increment i and return to step 3
235 6.4. Algorithms
236 Enumerated textual algorithms can be displayed us-
237 ing the algorithm environment. Within this envi- Pseudo code can be displayed using the 247
238 ronment, use \caption to set the caption and you algorithm2e environment. This is defined by 248
239 can use an enumerate or nested enumerate environ- the algorithm2e package (which is automatically 249
5
Short Title
250 loaded) so check the algorithm2e documentation for premultiply by B: 276
251 further details.6 For an example, see Algorithm 3.
BBξ = Bλξ
Algorithm 3: Computing Net Activation ⇒ B 2 ξ = λBξ
Input: x1 , . . . , xn , w1 , . . . , wn = λλξ since Bξ = λξ
Output: y, the net activation 2
=λ ξ
y ← 0;
for i ← 1 to n do Therefore true for n = 2. Now assume true for n = k: 277
y ← y + w i ∗ xi ;
end B k ξ = λk ξ
premultiply by B: 278
252 7. Description Lists BB k ξ = Bλk ξ
⇒ B k+1 ξ = λk Bξ
253 The jmlr class also provides a description-like environ-
254 ment called altdescription. This has an argument = λk λξ since Bξ = λξ
that should be the widest label in the list. Compare: k+1
255 =λ ξ
256 add A method that adds two variables. Therefore true for n = k+1. Therefore, by induction, 279
true for all n. 280
257 differentiate A method that differentiates a func-
258 tion.
Lemma 2 (A Sample Lemma) This is a lemma. 281
259 with
Remark 3 (A Sample Remark) This is a re- 282
260 add A method that adds two mark. 283
261 variables.
Corollary 4 (A Sample Corollary) This is a 284
262 differentiate A method that differentiates corollary. 285
263 a function.
Definition 5 (A Sample Definition) This is a 286
definition. 287
264 8. Theorems, Lemmas etc
Conjecture 6 (A Sample Conjecture) This is 288
265 The following theorem-like environments are prede- a conjecture. 289
266 fined by the jmlr class: theorem, example, lemma,
267 proposition, remark, corollary, definition, Axiom 7 (A Sample Axiom) This is an axiom. 290
268 conjecture and axiom. You can use the proof en-
Example 1 (An Example) This is an example. 291
269 vironment to display the proof if need be, as in The-
270 orem 1.
9. Color vs Grayscale 292
271 Theorem 1 (Eigenvalue Powers) If λ is an
272 eigenvalue of B with eigenvector ξ, then λn is an It’s helpful if authors supply grayscale versions of 293
273 eigenvalue of B n with eigenvector ξ. their images in the event that the article is to be 294
incorporated into a black and white printed book. 295
274 Proof Let λ be an eigenvalue of B with eigenvector
With external PDF, PNG or JPG graphic files, 296
275 ξ, then
you just need to supply a grayscale version of the 297
Bξ = λξ file. For example, if the file is called myimage.png, 298
then the gray version should be myimage-gray.png 299
6. Either texdoc algorithm2e or http://www.ctan.org/ or myimage-gray.pdf or myimage-gray.jpg. You 300
pkg/algorithm2e don’t need to modify your code. The jmlr class checks 301
6
Short Title
302 for the existence of the grayscale version if it is print I. Guyon, C. Aliferis, and A. Elisseeff. Causal feature 341
303 mode (provided you have used \includegraphics selection. Technical report, Clopinet, 2007. 342
304 and haven’t specified the file extension).
305 You can use \ifprint to determine which mode
306 you are in. For example, in Figure 1, the purple el- Appendix A. First Appendix 343
307 lipse represents an input and the yellow ellipse repre-
308 sents an output. Another example: important text! This is the first appendix. 344
309 You can use the class option gray to see how the
310 document will appear in gray scale mode. Colored
311 text will automatically be converted to gray scale in
Appendix B. Second Appendix 345
312 print mode. This is the second appendix. 346
313 The jmlr class loads the xcolor package, so you can
314 also define your own colors. For example: XYZ.
315 The xcolor class is loaded with the x11names op-
316 tion, so you can use any of the x11 predefined colors
317 (listed in the xcolor documentation7 ).
318 10. Citations and Bibliography
319 The jmlr class automatically loads natbib and auto-
320 matically sets the bibliography style, so you don’t
321 need to use \bibliographystyle. This sample file
322 has the citations defined in the accompanying Bib-
323 TeX file jmlr-sample.bib. For a parenthetical cita-
324 tion use \citep. For example (Guyon and Elisseeff,
325 2003). For a textual citation use \citet. For exam-
326 ple Guyon et al. (2007). Both commands may take a
327 comma-separated list, for example Guyon and Elis-
328 seeff (2003); Guyon et al. (2007).
329 These commands have optional arguments and
330 have a starred version. See the natbib documenta-
331 tion for further details.8
332 The bibliography is displayed using
333 \bibliography.
334 Acknowledgments
335 Acknowledgments go here. Acknowledgments do not
336 count toward the paper page limit.
337 References
338 I. Guyon and A. Elisseeff. An introduction to variable
339 and feature selection. JMLR, 3:1157–1182, March
340 2003.
7. either texdoc xcolor or http://www.ctan.org/pkg/
xcolor
8. Either texdoc natbib or http://www.ctan.org/pkg/
natbib