Skip to content

Commit 0e13a82

Browse files
committed
Add field comment
1 parent 5b2b8b9 commit 0e13a82

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/dataframe/evaluation/EvaluationParameters.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
*/
1111
public class EvaluationParameters {
1212

13+
/**
14+
* Maximum number of buckets allowed in any single search request.
15+
*/
1316
private final int maxBuckets;
1417

1518
public EvaluationParameters(int maxBuckets) {

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/dataframe/evaluation/classification/MulticlassConfusionMatrix.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,7 @@ public class MulticlassConfusionMatrix implements EvaluationMetric {
6262
private static ConstructingObjectParser<MulticlassConfusionMatrix, Void> createParser() {
6363
ConstructingObjectParser<MulticlassConfusionMatrix, Void> parser =
6464
new ConstructingObjectParser<>(
65-
NAME.getPreferredName(),
66-
true,
67-
args -> new MulticlassConfusionMatrix((Integer) args[0], (String) args[1]));
65+
NAME.getPreferredName(), true, args -> new MulticlassConfusionMatrix((Integer) args[0], (String) args[1]));
6866
parser.declareInt(optionalConstructorArg(), SIZE);
6967
parser.declareString(optionalConstructorArg(), AGG_NAME_PREFIX);
7068
return parser;

0 commit comments

Comments
 (0)