python-fedci 0.1.3__tar.gz → 0.1.4__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.
- {python_fedci-0.1.3 → python_fedci-0.1.4}/PKG-INFO +1 -1
- {python_fedci-0.1.3 → python_fedci-0.1.4}/fedci/testing.py +2 -2
- {python_fedci-0.1.3 → python_fedci-0.1.4}/pyproject.toml +1 -1
- {python_fedci-0.1.3 → python_fedci-0.1.4}/python_fedci.egg-info/PKG-INFO +1 -1
- {python_fedci-0.1.3 → python_fedci-0.1.4}/LICENSE +0 -0
- {python_fedci-0.1.3 → python_fedci-0.1.4}/README.md +0 -0
- {python_fedci-0.1.3 → python_fedci-0.1.4}/fedci/__init__.py +0 -0
- {python_fedci-0.1.3 → python_fedci-0.1.4}/fedci/client.py +0 -0
- {python_fedci-0.1.3 → python_fedci-0.1.4}/fedci/env.py +0 -0
- {python_fedci-0.1.3 → python_fedci-0.1.4}/fedci/server.py +0 -0
- {python_fedci-0.1.3 → python_fedci-0.1.4}/fedci/utils.py +0 -0
- {python_fedci-0.1.3 → python_fedci-0.1.4}/python_fedci.egg-info/SOURCES.txt +0 -0
- {python_fedci-0.1.3 → python_fedci-0.1.4}/python_fedci.egg-info/dependency_links.txt +0 -0
- {python_fedci-0.1.3 → python_fedci-0.1.4}/python_fedci.egg-info/requires.txt +0 -0
- {python_fedci-0.1.3 → python_fedci-0.1.4}/python_fedci.egg-info/top_level.txt +0 -0
- {python_fedci-0.1.3 → python_fedci-0.1.4}/setup.cfg +0 -0
- {python_fedci-0.1.3 → python_fedci-0.1.4}/tests/test.py +0 -0
|
@@ -336,8 +336,8 @@ class LikelihoodRatioTest:
|
|
|
336
336
|
t1_dof = self.unrestricted_test.dof
|
|
337
337
|
|
|
338
338
|
self.chi2stat = 2 * (t1_llf - t0_llf)
|
|
339
|
-
self.
|
|
340
|
-
self.p_value = scipy.stats.chi2.sf(self.chi2stat, self.
|
|
339
|
+
self.dof = t1_dof - t0_dof
|
|
340
|
+
self.p_value = scipy.stats.chi2.sf(self.chi2stat, self.dof).item()
|
|
341
341
|
|
|
342
342
|
if get_env_debug() >= 2:
|
|
343
343
|
print(
|
|
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "python-fedci"
|
|
7
7
|
authors = [{ name = "Maximilian Hahn", email = "max.hahn@gmx.de" }]
|
|
8
|
-
version = "0.1.
|
|
8
|
+
version = "0.1.4"
|
|
9
9
|
license = { file = "LICENSE" }
|
|
10
10
|
description = "A small package for federated independence tests"
|
|
11
11
|
readme = "README.md"
|
|
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
|