Skip to content

Commit 5310806

Browse files
committed
standardize data in FLOP
1 parent a388ee7 commit 5310806

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pip install flopsearch
1212
In R, flopsearch can be installed directly from Github:
1313

1414
``` r
15-
install.packages("https://github.com/CausalDisco/flopsearch/releases/download/v0.1.1/flopsearch.tar.gz")
15+
install.packages("https://github.com/CausalDisco/flopsearch/releases/download/v0.1.2/flopsearch.tar.gz")
1616
```
1717

1818
This requires a working installation of the [Rust toolchain](https://rust-lang.org/tools/install/).

flop/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flop/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "flop"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

flop/src/algo.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ pub fn run(data: &DMatrix<f64>, config: FlopConfig) -> Dag {
6161

6262
let num_perturbations = (p as f64).ln().round() as usize;
6363

64-
let cov = matrix::cov_matrix(data);
64+
let corr = matrix::corr_matrix(data);
6565

66-
let mut best_perm = cholesky::cholesky_left_min_diag(&cov).1;
66+
let mut best_perm = cholesky::cholesky_left_min_diag(&corr).1;
6767

68-
let score = Bic::from_cov(n, cov, config.lambda);
68+
let score = Bic::from_cov(n, corr, config.lambda);
6969

7070
let mut rng = thread_rng();
7171
let mut best_bic = f64::MAX;

flop_python/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "flopsearch"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

flop_r/DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: flopsearch
22
Title: Embracing Discrete Search: A Reasonable Approach to Causal Structure Learning
3-
Version: 0.1.1
3+
Version: 0.1.2
44
Authors@R: c(
55
person("Marcel", "Wienöbst", email = "marcel.wienoebst@gmx.de", role = c("aut", "cre", "cph")),
66
person("Sebastian", "Weichwald", role = "aut"),

flop_r/README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ flopsearch provides an effective and easy-to-use causal discovery algorithm for
2525
You can install the development version of flopsearch from [GitHub](https://github.com/) with:
2626

2727
``` r
28-
install.packages("https://github.com/CausalDisco/flopsearch/releases/download/v0.1.1/flopsearch.tar.gz")
28+
install.packages("https://github.com/CausalDisco/flopsearch/releases/download/v0.1.2/flopsearch.tar.gz")
2929
```
3030

3131
This requires a working installation of the [Rust toolchain](https://rust-lang.org/tools/install/).

flop_r/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You can install the development version of flopsearch from
1616
[GitHub](https://github.com/) with:
1717

1818
``` r
19-
install.packages("https://github.com/CausalDisco/flopsearch/releases/download/v0.1.1/flopsearch.tar.gz")
19+
install.packages("https://github.com/CausalDisco/flopsearch/releases/download/v0.1.2/flopsearch.tar.gz")
2020
```
2121

2222
This requires a working installation of the [Rust

flop_r/src/rust/Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flop_r/src/rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = 'flop_r'
33
publish = false
4-
version = '0.1.1'
4+
version = '0.1.2'
55
edition = '2024'
66
rust-version = '1.85'
77

0 commit comments

Comments
 (0)