Skip to content

Commit 011501b

Browse files
committed
update autodocs
1 parent 1e00ad2 commit 011501b

File tree

8 files changed

+114
-17
lines changed

8 files changed

+114
-17
lines changed

docs/notes/DEVELOPER.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Developer Mini Guide
2-
m.mieskolainen@imperial.ac.uk, 2022
2+
m.mieskolainen@imperial.ac.uk, 2025
33

44

55
## Google Python Style Guide

docs/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ please include a citation:
3737
title = "ICENET: a deep learning library for HEP",
3838
url = "https://github.com/mieskolainen/icenet",
3939
version = {X.Y.Z},
40-
date = {2024-05-30},
40+
date = {2025-XX-YY},
4141
}
4242

4343

docs/source/modules/icefit.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,14 @@ icefit.em
4343
:undoc-members:
4444

4545

46+
icefit.iceboard
47+
---------------------
48+
49+
.. automodule:: icefit.iceboard
50+
:members:
51+
:undoc-members:
52+
53+
4654
icefit.icelimit
4755
---------------------
4856

@@ -91,6 +99,14 @@ icefit.peakfit
9199
:undoc-members:
92100

93101

102+
icefit.rezip
103+
---------------------
104+
105+
.. automodule:: icefit.rezip
106+
:members:
107+
:undoc-members:
108+
109+
94110
icefit.score
95111
---------------------
96112

@@ -106,3 +122,10 @@ icefit.statstools
106122
:members:
107123
:undoc-members:
108124

125+
126+
icefit.transport
127+
---------------------
128+
129+
.. automodule:: icefit.transport
130+
:members:
131+
:undoc-members:

docs/source/modules/icemc.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,18 @@ icemc
33

44
Simple Monte Carlo routines.
55

6+
icemc.analyzehepmc
7+
~~~~~~~~~~~~~~~~~~~~~
8+
9+
.. automodule:: icemc.analyzehepmc
10+
:members:
11+
:undoc-members:
12+
13+
614
icemc.icemc
715
---------------------
816

917
.. automodule:: icemc.icemc
1018
:members:
1119
:undoc-members:
20+

docs/source/modules/icenet.rst

Lines changed: 60 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,6 @@ icenet.deep
3737
Deep learning model classes.
3838

3939

40-
icenet.deep.autogradxgb
41-
~~~~~~~~~~~~~~~~~~~~~~~~
42-
43-
.. automodule:: icenet.deep.autogradxgb
44-
:members:
45-
:undoc-members:
46-
47-
4840
icenet.deep.bnaf
4941
~~~~~~~~~~~~~~~~~~~~~
5042

@@ -68,6 +60,12 @@ icenet.deep.da
6860
:members:
6961
:undoc-members:
7062

63+
icenet.deep.daux
64+
~~~~~~~~~~~~~~~~~~~~~
65+
66+
.. automodule:: icenet.deep.daux
67+
:members:
68+
:undoc-members:
7169

7270
icenet.deep.dbnf
7371
~~~~~~~~~~~~~~~~~~~~~
@@ -108,6 +106,12 @@ icenet.deep.fastkan
108106
:members:
109107
:undoc-members:
110108

109+
icenet.deep.flows
110+
~~~~~~~~~~~~~~~~~~~~~
111+
112+
.. automodule:: icenet.deep.flows
113+
:members:
114+
:undoc-members:
111115

112116
icenet.deep.gcnn
113117
~~~~~~~~~~~~~~~~~~~~~
@@ -133,6 +137,14 @@ icenet.deep.iceboost
133137
:undoc-members:
134138

135139

140+
icenet.deep.iceboostgrad
141+
~~~~~~~~~~~~~~~~~~~~~~~~
142+
143+
.. automodule:: icenet.deep.iceboostgrad
144+
:members:
145+
:undoc-members:
146+
147+
136148
icenet.deep.losstools
137149
~~~~~~~~~~~~~~~~~~~~~~~
138150

@@ -189,6 +201,22 @@ icenet.deep.predict
189201
:undoc-members:
190202

191203

204+
icenet.deep.rflow
205+
~~~~~~~~~~~~~~~~~~~~~
206+
207+
.. automodule:: icenet.deep.rflow
208+
:members:
209+
:undoc-members:
210+
211+
212+
icenet.deep.splines
213+
~~~~~~~~~~~~~~~~~~~~~
214+
215+
.. automodule:: icenet.deep.splines
216+
:members:
217+
:undoc-members:
218+
219+
192220
icenet.deep.tempscale
193221
~~~~~~~~~~~~~~~~~~~~~~~
194222

@@ -264,6 +292,14 @@ icenet.tools.aux
264292
:undoc-members:
265293

266294

295+
icenet.tools.icelogger
296+
~~~~~~~~~~~~~~~~~~~~~
297+
298+
.. automodule:: icenet.tools.icelogger
299+
:members:
300+
:undoc-members:
301+
302+
267303
icenet.tools.icemap
268304
~~~~~~~~~~~~~~~~~~~~~
269305

@@ -272,6 +308,14 @@ icenet.tools.icemap
272308
:undoc-members:
273309

274310

311+
icenet.tools.iceprint
312+
~~~~~~~~~~~~~~~~~~~~~
313+
314+
.. automodule:: icenet.tools.iceprint
315+
:members:
316+
:undoc-members:
317+
318+
275319
icenet.tools.iceroot
276320
~~~~~~~~~~~~~~~~~~~~~
277321

@@ -343,3 +387,11 @@ icenet.tools.stx
343387
:members:
344388
:undoc-members:
345389

390+
391+
icenet.tools.supertune
392+
~~~~~~~~~~~~~~~~~~~~~
393+
394+
.. automodule:: icenet.tools.supertune
395+
:members:
396+
:undoc-members:
397+

docs/source/modules/iceqsub.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
iceqsub
2+
=====================
3+
4+
Grid submission.
5+
6+
iceqsub.iceqsub
7+
---------------------
8+
9+
.. automodule:: iceqsub.iceqsub
10+
:members:
11+
:undoc-members:

docs/source/notes/introduction.rst

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ Core deep learning and I/O functions and classes are designed to be problem gene
1414
That is, they can be used without any specific strict workflow and can handle near arbitrary
1515
inputs as suitable (parquet files, ROOT files ...).
1616

17-
Many high energy physics applications such as the signal-from-background discrimination problem
18-
fit under certain "quasi-templated YAML-python-workflow" as manifested from the implemented applications.
17+
Many high energy physics applications such as the signal-from-background discrimination or
18+
reweighting (or morphing) problems problem fit under certain "quasi-templated YAML-python-workflow"
19+
as is manifest from the implemented applications.
1920

2021

2122
YAML-configuration files
@@ -45,13 +46,14 @@ specific I/O functions.
4546
-icedqcd DQCD analysis application [large scale new physics analysis, domain adaptation]
4647
-icefit Core fitting and statistics [tag & probe ++]
4748
-icehgcal HGCAL detector application [graph neural networks]
48-
-icehnl HNL analysis application [neural mutual information with BDT and MLP]
49+
-icehnl HNL analysis application [neural mutual information with ICEBOOST and MLP]
4950
-iceid Electron ID application
51+
-icemc Simple MC tools
5052
-icenet Core deep learning & I/O functions
5153
-iceplot Core plotting tools
5254
-iceqsub SGE submission steering functions
5355
-icetrg HLT trigger application
54-
-icezee High-dimensional reweighting application [advanced MLP models and regularization]
56+
-icezee High-dimensional reweighting application
5557
-tests Tests, continuous integration (CI) and bash-launch scripts
5658
-output HDF5, pickle outputs
5759
-dev Development code
@@ -65,7 +67,7 @@ AI-algorithms and models
6567
Various ML and AI-models are implemented and supported. From a fixed dimensional input models
6668
such as boosted decision trees (BDT) via XGBoost enhanced with a custom torch autograd driven loss function,
6769
aka ``ICEBOOST``, to more complex "Geometric Deep Learning" with graph neural networks using torch-geometric
68-
as a low-level backend.
70+
as a low-level backend, and normalizing flows.
6971

7072
The library is ultimately agnostic regarding the underlying models, i.e.
7173
new torch models or loss functions can be easily added and other computational libraries such as JAX can be used.
@@ -80,7 +82,7 @@ Reasily available models such as
8082
2. Kolmogorov-Arnold representation theorem networks [pytorch]
8183
3. Lipschitz continuous MLPs [pytorch]
8284
4. Graph Neural Nets (graph-, node-, edge-level inference) [pytorch-geometric]
83-
5. Deep Normalizing Flow (BNAF) based pdfs & likelihood ratios [pytorch]
85+
5. Deep Normalizing Flow (BNAF), Spline Flows based pdfs & likelihood ratios [pytorch]
8486
6. Neural mutual information estimator (MINE) and non-linear distance correlation (DCORR) [pytorch]
8587
7. MaxOUT multilayer feedforward network [pytorch]
8688
8. Permutation Equivariant Networks (DeepSets) [pytorch]

icenet/deep/iceboost.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ def train_xgb(config={'params': {}}, data_trn=None, data_val=None, y_soft=None,
551551

552552
trn_aucs = []
553553
val_aucs = []
554-
554+
555555
# ---------------------------------------
556556
# Update the parameters
557557
model_param = copy.deepcopy(param['model_param'])

0 commit comments

Comments
 (0)