Class ValidationLoss.Builder
java.lang.Object
co.elastic.clients.elasticsearch.ml.ValidationLoss.Builder
- All Implemented Interfaces:
ObjectBuilder<ValidationLoss>
- Enclosing class:
- ValidationLoss
public static class ValidationLoss.Builder extends java.lang.Object implements ObjectBuilder<ValidationLoss>
Builder for
ValidationLoss
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description ValidationLoss.Builder
addFoldValues(java.lang.String value)
Add a value tofoldValues(List)
, creating the list if needed.ValidationLoss
build()
Builds aValidationLoss
.ValidationLoss.Builder
foldValues(java.lang.String... value)
Validation loss values for every added decision tree during the forest growing procedure.ValidationLoss.Builder
foldValues(java.util.List<java.lang.String> value)
Validation loss values for every added decision tree during the forest growing procedure.ValidationLoss.Builder
lossType(java.lang.String value)
The type of the loss metric.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
foldValues
Validation loss values for every added decision tree during the forest growing procedure.API name:
fold_values
-
foldValues
Validation loss values for every added decision tree during the forest growing procedure.API name:
fold_values
-
addFoldValues
Add a value tofoldValues(List)
, creating the list if needed. 4 -
lossType
The type of the loss metric. For example, binomial_logistic.API name:
loss_type
-
build
Builds aValidationLoss
.- Specified by:
build
in interfaceObjectBuilder<ValidationLoss>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-