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.BuilderaddFoldValues(java.lang.String value)Add a value tofoldValues(List), creating the list if needed.ValidationLossbuild()Builds aValidationLoss.ValidationLoss.BuilderfoldValues(java.lang.String... value)Required - Validation loss values for every added decision tree during the forest growing procedure.ValidationLoss.BuilderfoldValues(java.util.List<java.lang.String> value)Required - Validation loss values for every added decision tree during the forest growing procedure.ValidationLoss.BuilderlossType(java.lang.String value)Required - 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
Required - Validation loss values for every added decision tree during the forest growing procedure.API name:
fold_values -
foldValues
Required - 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. -
lossType
Required - The type of the loss metric. For example, binomial_logistic.API name:
loss_type -
build
Builds aValidationLoss.- Specified by:
buildin interfaceObjectBuilder<ValidationLoss>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-