Skip to content

Commit 07aab4a

Browse files
authored
bump rcf version to 4.1 (#406)
Signed-off-by: Kaituo Li <kaituo@amazon.com>
1 parent d076571 commit 07aab4a

File tree

10 files changed

+16
-14
lines changed

10 files changed

+16
-14
lines changed

Java/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ vector data point, scores the data point, and then updates the model with this
157157
point. The program output appends a column of anomaly scores to the input:
158158

159159
```text
160-
$ java -cp core/target/randomcutforest-core-3.5.0.jar com.amazon.randomcutforest.runner.AnomalyScoreRunner < ../example-data/rcf-paper.csv > example_output.csv
160+
$ java -cp core/target/randomcutforest-core-4.1.0.jar com.amazon.randomcutforest.runner.AnomalyScoreRunner < ../example-data/rcf-paper.csv > example_output.csv
161161
$ tail example_output.csv
162162
-5.0029,0.0170,-0.0057,0.8129401629464965
163163
-4.9975,-0.0102,-0.0065,0.6591046054520615
@@ -176,8 +176,8 @@ read additional usage instructions, including options for setting model
176176
hyperparameters, using the `--help` flag:
177177

178178
```text
179-
$ java -cp core/target/randomcutforest-core-3.5.0.jar com.amazon.randomcutforest.runner.AnomalyScoreRunner --help
180-
Usage: java -cp target/random-cut-forest-3.5.0.jar com.amazon.randomcutforest.runner.AnomalyScoreRunner [options] < input_file > output_file
179+
$ java -cp core/target/randomcutforest-core-4.1.0.jar com.amazon.randomcutforest.runner.AnomalyScoreRunner --help
180+
Usage: java -cp target/random-cut-forest-4.1.0.jar com.amazon.randomcutforest.runner.AnomalyScoreRunner [options] < input_file > output_file
181181
182182
Compute scalar anomaly scores from the input rows and append them to the output rows.
183183
@@ -239,14 +239,14 @@ framework. Build an executable jar containing the benchmark code by running
239239
To invoke the full benchmark suite:
240240

241241
```text
242-
% java -jar benchmark/target/randomcutforest-benchmark-3.5.0-jar-with-dependencies.jar
242+
% java -jar benchmark/target/randomcutforest-benchmark-4.1.0-jar-with-dependencies.jar
243243
```
244244

245245
The full benchmark suite takes a long time to run. You can also pass a regex at the command-line, then only matching
246246
benchmark methods will be executed.
247247

248248
```text
249-
% java -jar benchmark/target/randomcutforest-benchmark-3.5.0-jar-with-dependencies.jar RandomCutForestBenchmark\.updateAndGetAnomalyScore
249+
% java -jar benchmark/target/randomcutforest-benchmark-4.1.0-jar-with-dependencies.jar RandomCutForestBenchmark\.updateAndGetAnomalyScore
250250
```
251251

252252
[rcf-paper]: http://proceedings.mlr.press/v48/guha16.pdf

Java/benchmark/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>software.amazon.randomcutforest</groupId>
88
<artifactId>randomcutforest-parent</artifactId>
9-
<version>4.0.0</version>
9+
<version>4.1.0</version>
1010
</parent>
1111

1212
<artifactId>randomcutforest-benchmark</artifactId>

Java/core/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>software.amazon.randomcutforest</groupId>
88
<artifactId>randomcutforest-parent</artifactId>
9-
<version>4.0.0</version>
9+
<version>4.1.0</version>
1010
</parent>
1111

1212
<artifactId>randomcutforest-core</artifactId>

Java/core/src/main/java/com/amazon/randomcutforest/state/Version.java

+2
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,6 @@ public class Version {
2424
public static final String V3_8 = "3.8";
2525

2626
public static final String V4_0 = "4.0";
27+
28+
public static final String V4_1 = "4.1";
2729
}

Java/core/src/main/java/com/amazon/randomcutforest/state/preprocessor/PreprocessorState.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
package com.amazon.randomcutforest.state.preprocessor;
1717

18-
import static com.amazon.randomcutforest.state.Version.V4_0;
18+
import static com.amazon.randomcutforest.state.Version.V4_1;
1919

2020
import java.io.Serializable;
2121

@@ -27,7 +27,7 @@
2727
public class PreprocessorState implements Serializable {
2828
private static final long serialVersionUID = 1L;
2929

30-
private String version = V4_0;
30+
private String version = V4_1;
3131
private double useImputedFraction;
3232
private String imputationMethod;
3333
private String forestMode;

Java/examples/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>software.amazon.randomcutforest</groupId>
99
<artifactId>randomcutforest-parent</artifactId>
10-
<version>4.0.0</version>
10+
<version>4.1.0</version>
1111
</parent>
1212

1313
<artifactId>randomcutforest-examples</artifactId>

Java/parkservices/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>software.amazon.randomcutforest</groupId>
88
<artifactId>randomcutforest-parent</artifactId>
9-
<version>4.0.0</version>
9+
<version>4.1.0</version>
1010
</parent>
1111

1212
<artifactId>randomcutforest-parkservices</artifactId>

Java/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>software.amazon.randomcutforest</groupId>
66
<artifactId>randomcutforest-parent</artifactId>
7-
<version>4.0.0</version>
7+
<version>4.1.0</version>
88
<packaging>pom</packaging>
99

1010
<name>software.amazon.randomcutforest:randomcutforest</name>

Java/serialization/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>software.amazon.randomcutforest</groupId>
99
<artifactId>randomcutforest-parent</artifactId>
10-
<version>4.0.0</version>
10+
<version>4.1.0</version>
1111
</parent>
1212

1313
<artifactId>randomcutforest-serialization</artifactId>

Java/testutils/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<artifactId>randomcutforest-parent</artifactId>
66
<groupId>software.amazon.randomcutforest</groupId>
7-
<version>4.0.0</version>
7+
<version>4.1.0</version>
88
</parent>
99

1010
<artifactId>randomcutforest-testutils</artifactId>

0 commit comments

Comments
 (0)