saiph 2.0.0__tar.gz → 2.0.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.
Files changed (35) hide show
  1. {saiph-2.0.0 → saiph-2.0.3}/PKG-INFO +2 -2
  2. {saiph-2.0.0 → saiph-2.0.3}/pyproject.toml +2 -2
  3. {saiph-2.0.0 → saiph-2.0.3}/saiph/__init__.py +1 -1
  4. {saiph-2.0.0 → saiph-2.0.3}/saiph/projection.py +2 -2
  5. {saiph-2.0.0 → saiph-2.0.3}/LICENSE +0 -0
  6. {saiph-2.0.0 → saiph-2.0.3}/saiph/conftest.py +0 -0
  7. {saiph-2.0.0 → saiph-2.0.3}/saiph/contribution.py +0 -0
  8. {saiph-2.0.0 → saiph-2.0.3}/saiph/contribution_test.py +0 -0
  9. {saiph-2.0.0 → saiph-2.0.3}/saiph/exception.py +0 -0
  10. {saiph-2.0.0 → saiph-2.0.3}/saiph/inverse_transform.py +0 -0
  11. {saiph-2.0.0 → saiph-2.0.3}/saiph/inverse_transform_test.py +0 -0
  12. {saiph-2.0.0 → saiph-2.0.3}/saiph/lib/size.py +0 -0
  13. {saiph-2.0.0 → saiph-2.0.3}/saiph/models.py +0 -0
  14. {saiph-2.0.0 → saiph-2.0.3}/saiph/projection_test.py +0 -0
  15. {saiph-2.0.0 → saiph-2.0.3}/saiph/reduction/__init__.py +0 -0
  16. {saiph-2.0.0 → saiph-2.0.3}/saiph/reduction/famd.py +0 -0
  17. {saiph-2.0.0 → saiph-2.0.3}/saiph/reduction/famd_sparse.py +0 -0
  18. {saiph-2.0.0 → saiph-2.0.3}/saiph/reduction/famd_sparse_test.py +0 -0
  19. {saiph-2.0.0 → saiph-2.0.3}/saiph/reduction/famd_test.py +0 -0
  20. {saiph-2.0.0 → saiph-2.0.3}/saiph/reduction/mca.py +0 -0
  21. {saiph-2.0.0 → saiph-2.0.3}/saiph/reduction/mca_test.py +0 -0
  22. {saiph-2.0.0 → saiph-2.0.3}/saiph/reduction/pca.py +0 -0
  23. {saiph-2.0.0 → saiph-2.0.3}/saiph/reduction/pca_test.py +0 -0
  24. {saiph-2.0.0 → saiph-2.0.3}/saiph/reduction/utils/__init__.py +0 -0
  25. {saiph-2.0.0 → saiph-2.0.3}/saiph/reduction/utils/common.py +0 -0
  26. {saiph-2.0.0 → saiph-2.0.3}/saiph/reduction/utils/common_test.py +0 -0
  27. {saiph-2.0.0 → saiph-2.0.3}/saiph/reduction/utils/svd.py +0 -0
  28. {saiph-2.0.0 → saiph-2.0.3}/saiph/reduction/utils/svd_test.py +0 -0
  29. {saiph-2.0.0 → saiph-2.0.3}/saiph/serializer.py +0 -0
  30. {saiph-2.0.0 → saiph-2.0.3}/saiph/serializer_test.py +0 -0
  31. {saiph-2.0.0 → saiph-2.0.3}/saiph/tests/__init_.py +0 -0
  32. {saiph-2.0.0 → saiph-2.0.3}/saiph/tests/benchmark_test.py +0 -0
  33. {saiph-2.0.0 → saiph-2.0.3}/saiph/tests/profile_cpu.py +0 -0
  34. {saiph-2.0.0 → saiph-2.0.3}/saiph/tests/profile_memory.py +0 -0
  35. {saiph-2.0.0 → saiph-2.0.3}/saiph/visualization.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: saiph
3
- Version: 2.0.0
3
+ Version: 2.0.3
4
4
  Summary: A projection package
5
5
  License: Apache-2.0
6
6
  Author: Octopize
@@ -18,4 +18,4 @@ Requires-Dist: pandas (>=2.2.2)
18
18
  Requires-Dist: pydantic (>=2,<3)
19
19
  Requires-Dist: scikit-learn (>=1.0,<2.0)
20
20
  Requires-Dist: scipy (>=1.14,<2.0)
21
- Requires-Dist: toolz (<1.0.0)
21
+ Requires-Dist: toolz (>=1.0.0,<2.0.0)
@@ -1,7 +1,7 @@
1
1
  [tool.poetry]
2
2
  name = "saiph"
3
3
  # Also modify in saiph/__init__.py
4
- version = "2.0.0"
4
+ version = "2.0.3"
5
5
  description = "A projection package"
6
6
  authors = ["Octopize <help@octopize.io>"]
7
7
  license = "Apache-2.0"
@@ -12,7 +12,7 @@ pandas = ">=2.2.2"
12
12
  numpy = "^1"
13
13
  scipy = "^1.14"
14
14
  scikit-learn = "^1.0"
15
- toolz = "0.*"
15
+ toolz = "1.*"
16
16
  matplotlib = {version = "^3.5.2", optional = true}
17
17
  pydantic = "^2"
18
18
  msgspec = "^0.18.5"
@@ -2,7 +2,7 @@ from .inverse_transform import inverse_transform
2
2
  from .projection import fit, fit_transform, stats, transform
3
3
 
4
4
  # Also modify in pyproject.toml
5
- __version__ = "2.0.0"
5
+ __version__ = "2.0.3"
6
6
 
7
7
  __all__ = [
8
8
  "__version__",
@@ -266,8 +266,8 @@ def get_variable_correlation(
266
266
  bind = df_quanti
267
267
 
268
268
  concat = pd.concat([bind, coord], axis=1, keys=["bind", "coord"])
269
- cor = pd.DataFrame(np.corrcoef(concat, rowvar=False), columns=concat.columns).loc[
270
- 0 : len(bind.columns) - 1,
269
+ cor = pd.DataFrame(concat.corr(), columns=concat.columns).loc[
270
+ "bind",
271
271
  "coord",
272
272
  ]
273
273
  return cor
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