pyANOVAapprox 0.2.2__tar.gz → 0.2.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/PKG-INFO +1 -1
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/pyproject.toml +1 -1
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/simpleTest/exampleWavelet.py +1 -1
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/src/pyANOVAapprox/__init__.py +0 -21
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/src/pyANOVAapprox/approx.py +0 -2
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/src/pyANOVAapprox/fista.py +0 -2
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/.github/workflows/ci.yml +0 -0
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/.github/workflows/documentation.yml +0 -0
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/.github/workflows/format.yml +0 -0
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/.github/workflows/release.yml +0 -0
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/.gitignore +0 -0
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/LICENSE +0 -0
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/README.md +0 -0
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/docs/Makefile +0 -0
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/docs/source/Analysis.rst +0 -0
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/docs/source/Approximation.rst +0 -0
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/docs/source/Errors.rst +0 -0
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/docs/source/conf.py +0 -0
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/docs/source/index.rst +0 -0
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/simpleTest/exampleCheb.py +0 -0
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/simpleTest/exampleClassification.py +0 -0
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/simpleTest/exampleNonPeriodic.py +0 -0
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/simpleTest/examplePeriodic.py +0 -0
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/src/pyANOVAapprox/analysis.py +0 -0
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/src/pyANOVAapprox/errors.py +0 -0
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/src/pyANOVAapprox/trafos.py +0 -0
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/tests/TestFunctionCheb.py +0 -0
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/tests/TestFunctionPeriodic.py +0 -0
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/tests/cheb_fista.py +0 -0
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/tests/cheb_lsqr.py +0 -0
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/tests/per_fista.py +0 -0
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/tests/per_lsqr.py +0 -0
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/tests/run_tests.py +0 -0
- {pyanovaapprox-0.2.2 → pyanovaapprox-0.2.3}/tests/wav_lsqr.py +0 -0
|
@@ -84,7 +84,7 @@ print("Total number of used parameters = " + str(len(anova_model.fc[lambdas[0]].
|
|
|
84
84
|
gsis = ANOVAapprox.get_GSI(
|
|
85
85
|
anova_model, 0.0
|
|
86
86
|
) # calculates indices for importance of terms (gsis is vector, with indices belonging to terms in anova_model.U)
|
|
87
|
-
|
|
87
|
+
gsis_as_dict = ANOVAapprox.get_GSI(anova_model,0.0,dict=true)
|
|
88
88
|
|
|
89
89
|
y_min_calc = 10 ** (np.min(np.log10(gsis)) - 0.5)
|
|
90
90
|
label = list(anova_model.U[1:])
|
|
@@ -9,27 +9,6 @@ from scipy.special import erf
|
|
|
9
9
|
|
|
10
10
|
# from sklearn.metrics import roc_auc_score
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
def get_superposition_set(d, ds): # TODO: Später funktion aut GT verwenden
|
|
14
|
-
"""
|
|
15
|
-
get_superposition_set( d::Int, ds::Int )::Vector{Vector{Int}}
|
|
16
|
-
|
|
17
|
-
This function returns ``U^{(d,ds)} = \{ \pmb u \subset \{1,2,\dots,d\} : |\pmb u| \leq ds \}``.
|
|
18
|
-
"""
|
|
19
|
-
nset = [[j] for j in range(d)]
|
|
20
|
-
returnset = [[]] + nset
|
|
21
|
-
for i in range(ds - 1):
|
|
22
|
-
nextnset = []
|
|
23
|
-
for s in nset:
|
|
24
|
-
for j in range(d):
|
|
25
|
-
if s[-1] < j:
|
|
26
|
-
nextnset.append(s + [j])
|
|
27
|
-
returnset = returnset + nextnset
|
|
28
|
-
nset = nextnset
|
|
29
|
-
|
|
30
|
-
return [tuple(item) for item in returnset]
|
|
31
|
-
|
|
32
|
-
|
|
33
12
|
def bisection(l, r, fun, maxiter=1000):
|
|
34
13
|
lval = fun(l)
|
|
35
14
|
rval = fun(r)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|