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:16 UTC

[camel] branch master updated (192353b -> 8e0de9b)

This is an automated email from the ASF dual-hosted git repository.

dmvolod pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git.


    from 192353b  [CAMEL-14469] Remove unused import
     new 004c612  Fix CS for camel-weka
     new 8e0de9b  Fix doc

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 components/camel-weka/src/main/docs/weka-component.adoc              | 2 +-
 .../main/java/org/apache/camel/component/weka/WekaConfiguration.java | 5 +++--
 docs/components/modules/ROOT/pages/weka-component.adoc               | 2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)


[camel] 02/02: Fix doc

Posted by dm...@apache.org.
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 8e0de9bfca901c95035f4ae9e8e47915628cc83b
Author: Dmitry Volodin <dm...@gmail.com>
AuthorDate: Tue Feb 4 19:14:25 2020 +0300

    Fix doc
---
 components/camel-weka/src/main/docs/weka-component.adoc | 2 +-
 docs/components/modules/ROOT/pages/weka-component.adoc  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/camel-weka/src/main/docs/weka-component.adoc b/components/camel-weka/src/main/docs/weka-component.adoc
index 911e094..8f542cd 100644
--- a/components/camel-weka/src/main/docs/weka-component.adoc
+++ b/components/camel-weka/src/main/docs/weka-component.adoc
@@ -77,7 +77,7 @@ with the following path and query parameters:
 | *apply* (filter) | The filter spec (i.e. Name Options) |  | String
 | *build* (model) | The classifier spec (i.e. Name Options) |  | String
 | *dsname* (model) | The named dataset to train the classifier with |  | String
-| *folds* (model) | Numer of folds to use for cross-validation | 10 | int
+| *folds* (model) | Number of folds to use for cross-validation | 10 | int
 | *loadFrom* (model) | Path to load the model from |  | String
 | *saveTo* (model) | Path to save the model to |  | String
 | *seed* (model) | An optional seed for the randomizer | 1 | int
diff --git a/docs/components/modules/ROOT/pages/weka-component.adoc b/docs/components/modules/ROOT/pages/weka-component.adoc
index 7404a2a..8fe3f95 100644
--- a/docs/components/modules/ROOT/pages/weka-component.adoc
+++ b/docs/components/modules/ROOT/pages/weka-component.adoc
@@ -78,7 +78,7 @@ with the following path and query parameters:
 | *apply* (filter) | The filter spec (i.e. Name Options) |  | String
 | *build* (model) | The classifier spec (i.e. Name Options) |  | String
 | *dsname* (model) | The named dataset to train the classifier with |  | String
-| *folds* (model) | Numer of folds to use for cross-validation | 10 | int
+| *folds* (model) | Number of folds to use for cross-validation | 10 | int
 | *loadFrom* (model) | Path to load the model from |  | String
 | *saveTo* (model) | Path to save the model to |  | String
 | *seed* (model) | An optional seed for the randomizer | 1 | int


[camel] 01/02: Fix CS for camel-weka

Posted by dm...@apache.org.
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;