File tree Expand file tree Collapse file tree 7 files changed +48
-26
lines changed Expand file tree Collapse file tree 7 files changed +48
-26
lines changed Original file line number Diff line number Diff line change 4
4
API
5
5
=================
6
6
7
- Estimators
8
- ==========
9
-
10
7
.. currentmodule :: hidimstat
11
8
12
- Functions
13
- =========
9
+ Base Classes
10
+ ============
11
+
12
+ .. autosummary ::
13
+ :toctree: ./generated/api/base/
14
+ :template: class.rst
15
+
16
+ base_variable_importance.BaseVariableImportance
17
+ base_perturbation.BasePerturbation
18
+
19
+ Feature Importance Classes
20
+ ==========================
21
+
22
+ .. autosummary ::
23
+ :toctree: ./generated/api/class/
24
+ :template: class.rst
25
+
26
+ LOCO
27
+ CFI
28
+ PFI
29
+ D0CRT
30
+
31
+ Feature Importance functions
32
+ ============================
14
33
15
34
.. autosummary ::
16
- :toctree: ./generated/api/function /
35
+ :toctree: ./generated/api/class /
17
36
:template: function.rst
18
37
19
- quantile_aggregation
20
38
clustered_inference
21
39
clustered_inference_pvalue
22
40
desparsified_lasso
@@ -25,18 +43,22 @@ Functions
25
43
ensemble_clustered_inference
26
44
ensemble_clustered_inference_pvalue
27
45
model_x_knockoff
28
- reid
29
46
30
- Classes
31
- =======
47
+ Samplers
48
+ ========
32
49
33
50
.. autosummary ::
34
51
:toctree: ./generated/api/class/
35
52
:template: class.rst
36
-
37
- BaseVariableImportance
38
- BasePerturbation
39
- LOCO
40
- CFI
41
- PFI
42
- D0CRT
53
+
54
+ conditional_sampling.ConditionalSampler
55
+
56
+ Helper Functions
57
+ ================
58
+
59
+ .. autosummary ::
60
+ :toctree: ./generated/api/helper_functions/
61
+ :template: function.rst
62
+
63
+ quantile_aggregation
64
+ reid
Original file line number Diff line number Diff line change 10
10
.. automethod :: __init__
11
11
{% endblock %}
12
12
13
- .. include :: {{module}}.{{objname}}.examples
13
+ .. include :: ../../gallery/backreference/ {{module}}.{{objname}}.examples
14
14
15
15
.. raw :: html
16
16
Original file line number Diff line number Diff line change 5
5
6
6
.. autofunction :: {{ objname }}
7
7
8
- .. include :: {{module}}.{{objname}}.examples
8
+ .. include :: ../../gallery/backreference/ {{module}}.{{objname}}.examples
Original file line number Diff line number Diff line change 50
50
]
51
51
52
52
# Add any paths that contain templates here, relative to this directory.
53
- templates_path = ["./_templates" ]
53
+ templates_path = ["../tools /_templates" ]
54
54
# List of patterns, relative to source directory, that match files and
55
55
# directories to ignore when looking for source files.
56
56
# This patterns also effect to html_static_path and html_extra_path
69
69
# Add any paths that contain custom static files (such as style sheets) here,
70
70
# relative to this directory. They are copied after the builtin static files,
71
71
# so a file named "default.css" will overwrite the builtin "default.css".
72
- html_static_path = ["./_static" ]
72
+ html_static_path = ["../tools /_static" ]
73
73
html_logo = "./_static/logo.png"
74
74
# The theme to use for HTML and HTML Help pages. See the documentation for
75
75
# a list of builtin themes.
99
99
source_suffix = [".rst" , ".md" ]
100
100
101
101
# sphinxcontrib-bibtex
102
- bibtex_bibfiles = ["./references.bib" ]
102
+ bibtex_bibfiles = ["../tools /references.bib" ]
103
103
bibtex_style = "unsrt"
104
104
bibtex_reference_style = "author_year"
105
105
bibtex_footbibliography_header = ""
Original file line number Diff line number Diff line change 1
- from .base_variable_importance import BaseVariableImportance
2
- from .base_perturbation import BasePerturbation
3
1
from .ensemble_clustered_inference import (
4
2
clustered_inference ,
5
3
clustered_inference_pvalue ,
Original file line number Diff line number Diff line change 8
8
from sklearn .model_selection import train_test_split
9
9
from sklearn .metrics import root_mean_squared_error
10
10
11
- from hidimstat import CFI , BasePerturbation
11
+ from hidimstat import CFI
12
+ from hidimstat .base_perturbation import BasePerturbation
12
13
from hidimstat ._utils .exception import InternalError
13
14
14
15
Original file line number Diff line number Diff line change 7
7
from sklearn .model_selection import train_test_split
8
8
from hidimstat ._utils .scenario import multivariate_simulation
9
9
10
- from hidimstat import LOCO , BasePerturbation
10
+ from hidimstat import LOCO
11
+ from hidimstat .base_perturbation import BasePerturbation
11
12
12
13
13
14
def test_loco ():
You can’t perform that action at this time.
0 commit comments