Class TotalFeatureImportanceStatistics.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.ml.TotalFeatureImportanceStatistics.Builder
- All Implemented Interfaces:
ObjectBuilder<TotalFeatureImportanceStatistics>
- Enclosing class:
- TotalFeatureImportanceStatistics
public static class TotalFeatureImportanceStatistics.Builder extends ObjectBuilderBase implements ObjectBuilder<TotalFeatureImportanceStatistics>
Builder for
TotalFeatureImportanceStatistics
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description TotalFeatureImportanceStatistics
build()
Builds aTotalFeatureImportanceStatistics
.TotalFeatureImportanceStatistics.Builder
max(int value)
Required - The maximum importance value across all the training data for this feature.TotalFeatureImportanceStatistics.Builder
meanMagnitude(double value)
Required - The average magnitude of this feature across all the training data.TotalFeatureImportanceStatistics.Builder
min(int value)
Required - The minimum importance value across all the training data for this feature.Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
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
-
meanMagnitude
Required - The average magnitude of this feature across all the training data. This value is the average of the absolute values of the importance for this feature.API name:
mean_magnitude
-
max
Required - The maximum importance value across all the training data for this feature.API name:
max
-
min
Required - The minimum importance value across all the training data for this feature.API name:
min
-
build
Builds aTotalFeatureImportanceStatistics
.- Specified by:
build
in interfaceObjectBuilder<TotalFeatureImportanceStatistics>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-