flopsearch 0.1.0__tar.gz → 0.1.1__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.

Potentially problematic release.


This version of flopsearch might be problematic. Click here for more details.

Files changed (26) hide show
  1. flopsearch-0.1.1/PKG-INFO +50 -0
  2. {flopsearch-0.1.0/flop_python → flopsearch-0.1.1}/README.md +11 -0
  3. {flopsearch-0.1.0 → flopsearch-0.1.1}/flop_python/Cargo.lock +1 -1
  4. {flopsearch-0.1.0 → flopsearch-0.1.1}/flop_python/Cargo.toml +1 -1
  5. flopsearch-0.1.1/flop_python/README.md +36 -0
  6. {flopsearch-0.1.0 → flopsearch-0.1.1}/pyproject.toml +1 -0
  7. flopsearch-0.1.0/PKG-INFO +0 -11
  8. {flopsearch-0.1.0 → flopsearch-0.1.1}/flop/Cargo.lock +0 -0
  9. {flopsearch-0.1.0 → flopsearch-0.1.1}/flop/Cargo.toml +0 -0
  10. {flopsearch-0.1.0 → flopsearch-0.1.1}/flop/README.md +0 -0
  11. {flopsearch-0.1.0 → flopsearch-0.1.1}/flop/src/algo.rs +0 -0
  12. {flopsearch-0.1.0 → flopsearch-0.1.1}/flop/src/bic.rs +0 -0
  13. {flopsearch-0.1.0 → flopsearch-0.1.1}/flop/src/cholesky.rs +0 -0
  14. {flopsearch-0.1.0 → flopsearch-0.1.1}/flop/src/fit_permutation.rs +0 -0
  15. {flopsearch-0.1.0 → flopsearch-0.1.1}/flop/src/global_abort.rs +0 -0
  16. {flopsearch-0.1.0 → flopsearch-0.1.1}/flop/src/graph.rs +0 -0
  17. {flopsearch-0.1.0 → flopsearch-0.1.1}/flop/src/lib.rs +0 -0
  18. {flopsearch-0.1.0 → flopsearch-0.1.1}/flop/src/main.rs +0 -0
  19. {flopsearch-0.1.0 → flopsearch-0.1.1}/flop/src/matrix.rs +0 -0
  20. {flopsearch-0.1.0 → flopsearch-0.1.1}/flop/src/scores.rs +0 -0
  21. {flopsearch-0.1.0 → flopsearch-0.1.1}/flop/src/token_buffer.rs +0 -0
  22. {flopsearch-0.1.0 → flopsearch-0.1.1}/flop/src/utils.rs +0 -0
  23. {flopsearch-0.1.0 → flopsearch-0.1.1}/flop_python/.gitignore +0 -0
  24. {flopsearch-0.1.0 → flopsearch-0.1.1}/flop_python/flopsearch.pyi +0 -0
  25. {flopsearch-0.1.0 → flopsearch-0.1.1}/flop_python/src/lib.rs +0 -0
  26. {flopsearch-0.1.0 → flopsearch-0.1.1}/flop_python/tests/test_flop.py +0 -0
@@ -0,0 +1,50 @@
1
+ Metadata-Version: 2.4
2
+ Name: flopsearch
3
+ Version: 0.1.1
4
+ Classifier: Programming Language :: Rust
5
+ Classifier: Programming Language :: Python :: Implementation :: CPython
6
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
7
+ Summary: Python package providing an implementation of the FLOP causal discovery algorithm for linear additive noise models
8
+ Keywords: causal discovery,DAGs,Bayesian networks,structure learning
9
+ Author: Sebastian Weichwald, Leonard Henckel
10
+ Author-email: Marcel Wienöbst <marcel.wienoebst@gmx.de>
11
+ Requires-Python: >=3.8
12
+ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
13
+
14
+ # flopsearch
15
+
16
+ Python package providing an implementation of the FLOP causal discovery algorithm for linear additive noise models.
17
+
18
+ ## Installation
19
+ flopsearch can be installed via pip:
20
+
21
+ ```bash
22
+ pip install flopsearch
23
+ ```
24
+
25
+ ## Citing FLOP
26
+ If you use FLOP in your scientific work, please cite this paper:
27
+ ```bibtex
28
+ @article{cifly2025,
29
+ author = {Marcel Wien{"{o}}bst and Leonard Henckel and Sebastian Weichwald},
30
+ title = {{Embracing Discrete Search: A Reasonable Approach to Causal Structure Learning}},
31
+ journal = {{arXiv preprint arXiv:2510.04970}},
32
+ year = {2025}
33
+ }
34
+ ```
35
+
36
+ ## Example
37
+ A simple example run of the FLOP algorithm provided by flopsearch.
38
+
39
+ ``` py
40
+ import flopsearch
41
+ import numpy as np
42
+ from scipy import linalg
43
+
44
+ p = 10
45
+ W = np.diag(np.ones(p - 1), 1)
46
+ X = np.random.randn(10000, p).dot(linalg.inv(np.eye(p) - W))
47
+ X_std = (X - np.mean(X, axis=0)) / np.std(X, axis=0)
48
+ flopsearch.flop(X_std, 2.0, restarts=20)
49
+ ```
50
+
@@ -9,6 +9,17 @@ flopsearch can be installed via pip:
9
9
  pip install flopsearch
10
10
  ```
11
11
 
12
+ ## Citing FLOP
13
+ If you use FLOP in your scientific work, please cite this paper:
14
+ ```bibtex
15
+ @article{cifly2025,
16
+ author = {Marcel Wien{"{o}}bst and Leonard Henckel and Sebastian Weichwald},
17
+ title = {{Embracing Discrete Search: A Reasonable Approach to Causal Structure Learning}},
18
+ journal = {{arXiv preprint arXiv:2510.04970}},
19
+ year = {2025}
20
+ }
21
+ ```
22
+
12
23
  ## Example
13
24
  A simple example run of the FLOP algorithm provided by flopsearch.
14
25
 
@@ -188,7 +188,7 @@ dependencies = [
188
188
 
189
189
  [[package]]
190
190
  name = "flopsearch"
191
- version = "0.1.0"
191
+ version = "0.1.1"
192
192
  dependencies = [
193
193
  "flop",
194
194
  "nalgebra",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "flopsearch"
3
- version = "0.1.0"
3
+ version = "0.1.1"
4
4
  edition = "2021"
5
5
  readme = "README.md"
6
6
 
@@ -0,0 +1,36 @@
1
+ # flopsearch
2
+
3
+ Python package providing an implementation of the FLOP causal discovery algorithm for linear additive noise models.
4
+
5
+ ## Installation
6
+ flopsearch can be installed via pip:
7
+
8
+ ```bash
9
+ pip install flopsearch
10
+ ```
11
+
12
+ ## Citing FLOP
13
+ If you use FLOP in your scientific work, please cite this paper:
14
+ ```bibtex
15
+ @article{cifly2025,
16
+ author = {Marcel Wien{"{o}}bst and Leonard Henckel and Sebastian Weichwald},
17
+ title = {{Embracing Discrete Search: A Reasonable Approach to Causal Structure Learning}},
18
+ journal = {{arXiv preprint arXiv:2510.04970}},
19
+ year = {2025}
20
+ }
21
+ ```
22
+
23
+ ## Example
24
+ A simple example run of the FLOP algorithm provided by flopsearch.
25
+
26
+ ``` py
27
+ import flopsearch
28
+ import numpy as np
29
+ from scipy import linalg
30
+
31
+ p = 10
32
+ W = np.diag(np.ones(p - 1), 1)
33
+ X = np.random.randn(10000, p).dot(linalg.inv(np.eye(p) - W))
34
+ X_std = (X - np.mean(X, axis=0)) / np.std(X, axis=0)
35
+ flopsearch.flop(X_std, 2.0, restarts=20)
36
+ ```
@@ -12,6 +12,7 @@ classifiers = [
12
12
  ]
13
13
  authors= [{name = "Marcel Wienöbst", email = "marcel.wienoebst@gmx.de"}, {name = "Sebastian Weichwald"}, {name = "Leonard Henckel"}]
14
14
  description = "Python package providing an implementation of the FLOP causal discovery algorithm for linear additive noise models"
15
+ readme = "README.md"
15
16
  keywords = ["causal discovery", "DAGs", "Bayesian networks", "structure learning"]
16
17
  dynamic = ["version"]
17
18
 
flopsearch-0.1.0/PKG-INFO DELETED
@@ -1,11 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: flopsearch
3
- Version: 0.1.0
4
- Classifier: Programming Language :: Rust
5
- Classifier: Programming Language :: Python :: Implementation :: CPython
6
- Classifier: Programming Language :: Python :: Implementation :: PyPy
7
- Summary: Python package providing an implementation of the FLOP causal discovery algorithm for linear additive noise models
8
- Keywords: causal discovery,DAGs,Bayesian networks,structure learning
9
- Author: Sebastian Weichwald, Leonard Henckel
10
- Author-email: Marcel Wienöbst <marcel.wienoebst@gmx.de>
11
- Requires-Python: >=3.8
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