You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by dm...@apache.org on 2020/02/04 16:13:17 UTC
[camel] 01/02: Fix CS for camel-weka
This is an automated email from the ASF dual-hosted git repository.
dmvolod pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 004c6127ef5b0df76649359e63a22e8843cc67c8
Author: Dmitry Volodin <dm...@gmail.com>
AuthorDate: Tue Feb 4 18:35:14 2020 +0300
Fix CS for camel-weka
---
.../main/java/org/apache/camel/component/weka/WekaConfiguration.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/components/camel-weka/src/main/java/org/apache/camel/component/weka/WekaConfiguration.java b/components/camel-weka/src/main/java/org/apache/camel/component/weka/WekaConfiguration.java
index 5b082c9..ffdfda7 100644
--- a/components/camel-weka/src/main/java/org/apache/camel/component/weka/WekaConfiguration.java
+++ b/components/camel-weka/src/main/java/org/apache/camel/component/weka/WekaConfiguration.java
@@ -29,7 +29,8 @@ public class WekaConfiguration {
filter, model, read, write, push, pop, version
}
- @UriPath(description = "The command to use.", enums = "filter,model,read,write,push,pop,version") @Metadata(required = true)
+ @UriPath(description = "The command to use.", enums = "filter,model,read,write,push,pop,version")
+ @Metadata(required = true)
private Command command;
// Read/Write parameters
@@ -47,7 +48,7 @@ public class WekaConfiguration {
private boolean xval;
@UriParam(description = "The named dataset to train the classifier with", label = "model")
private String dsname;
- @UriParam(description = "Numer of folds to use for cross-validation", label = "model", defaultValue = "10")
+ @UriParam(description = "Number of folds to use for cross-validation", label = "model", defaultValue = "10")
private int folds = 10;
@UriParam(description = "An optional seed for the randomizer", label = "model", defaultValue = "1")
private int seed = 1;