Skip to content

Commit d4caef5

Browse files
committed
New marginal method base on scikitlearn
1 parent e958c3b commit d4caef5

File tree

7 files changed

+957
-0
lines changed

7 files changed

+957
-0
lines changed

docs/src/api.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,14 @@ Classes
4040
CFI
4141
PFI
4242
D0CRT
43+
44+
Marginal Importance
45+
===================
46+
.. autosummary::
47+
:toctree: ./generated/api/marginal
48+
:template: class.rst
49+
50+
ANOVA
51+
AnalysisOfVariance
52+
UnivariateLinearRegressionTests
53+
MutualInformation

docs/tools/references.bib

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,22 @@ @article{chevalier_statistical_2020
135135
year = {2020}
136136
}
137137

138+
@article{chow1960tests,
139+
title = {Tests of equality between sets of coefficients in two linear regressions},
140+
author = {Chow, Gregory C},
141+
journal = {Econometrica: Journal of the Econometric Society},
142+
pages = {591--605},
143+
year = {1960},
144+
publisher = {JSTOR}
145+
}
146+
147+
@book{cover1999elements,
148+
title = {Elements of information theory},
149+
author = {Cover, Thomas M},
150+
year = {1999},
151+
publisher = {John Wiley \& Sons}
152+
}
153+
138154
@article{eshel2003yule,
139155
author = {Eshel, Gidon},
140156
journal = {Internet resource},
@@ -155,6 +171,15 @@ @article{fan2012variance
155171
year = {2012}
156172
}
157173

174+
@incollection{fisher1970statistical,
175+
title = {Statistical methods for research workers},
176+
author = {Fisher, Ronald Aylmer},
177+
booktitle = {Breakthroughs in statistics: Methodology and distribution},
178+
pages = {66--70},
179+
year = {1970},
180+
publisher = {Springer}
181+
}
182+
158183
@article{gaonkar_deriving_2012,
159184
author = {Gaonkar, Bilwaj and Davatzikos, Christos},
160185
journal = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
@@ -180,6 +205,17 @@ @article{hirschhorn2005genome
180205
year = {2005}
181206
}
182207

208+
@article{larson2008analysis,
209+
title = {Analysis of variance},
210+
author = {Larson, Martin G},
211+
journal = {Circulation},
212+
volume = {117},
213+
number = {1},
214+
pages = {115--121},
215+
year = {2008},
216+
publisher = {Lippincott Williams \& Wilkins}
217+
}
218+
183219
@article{lei2018distribution,
184220
title = {Distribution-free predictive inference for regression},
185221
author = {Lei, Jing and G'Sell, Max and Rinaldo, Alessandro and Tibshirani, Ryan J and Wasserman, Larry},
@@ -269,6 +305,17 @@ @article{Ren_2023
269305
year = {2023}
270306
}
271307

308+
@article{shannon1948mathematical,
309+
title = {A mathematical theory of communication},
310+
author = {Shannon, Claude E},
311+
journal = {The Bell system technical journal},
312+
volume = {27},
313+
number = {3},
314+
pages = {379--423},
315+
year = {1948},
316+
publisher = {Nokia Bell Labs}
317+
}
318+
272319
@article{stroblConditionalVariableImportance2008,
273320
author = {Strobl, Carolin and Boulesteix, Anne-Laure and Kneib, Thomas and Augustin, Thomas and Zeileis, Achim},
274321
doi = {10.1186/1471-2105-9-307},

src/hidimstat/__init__.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,15 @@
2727

2828
from .statistical_tools.aggregation import quantile_aggregation
2929

30+
# marginal methods
31+
from .marginal import (
32+
AdapterScikitLearn, # for documentation
33+
AnalysisOfVariance, # for documentation
34+
UnivariateLinearRegressionTests,
35+
MutualInformation,
36+
)
37+
from .marginal import AnalysisOfVariance as ANOVA
38+
3039
try:
3140
from ._version import __version__
3241
except ImportError:
@@ -51,4 +60,8 @@
5160
"CFI",
5261
"LOCO",
5362
"PFI",
63+
# marginal
64+
"ANOVA",
65+
"UnivariateLinearRegressionTests",
66+
"MutualInformation",
5467
]

src/hidimstat/marginal/__init__.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
from .selection_variable_scikit_learn import (
2+
AdapterScikitLearn,
3+
AnalysisOfVariance,
4+
UnivariateLinearRegressionTests,
5+
MutualInformation,
6+
)
7+
8+
__all__ = [
9+
"AdapterScikitLearn",
10+
"AnalysisOfVariance",
11+
"UnivariateLinearRegressionTests",
12+
"MutualInformation",
13+
]

0 commit comments

Comments
 (0)