Class Ensemble
java.lang.Object
co.elastic.clients.elasticsearch.ml.put_trained_model.Ensemble
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class Ensemble extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEnsemble.BuilderBuilder forEnsemble. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Ensemble>_DESERIALIZERJson deserializer forEnsemble -
Method Summary
Modifier and Type Method Description AggregateOutputaggregateOutput()API name:aggregate_outputjava.util.List<java.lang.String>classificationLabels()API name:classification_labelsjava.util.List<java.lang.String>featureNames()API name:feature_namesstatic Ensembleof(java.util.function.Function<Ensemble.Builder,ObjectBuilder<Ensemble>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupEnsembleDeserializer(ObjectDeserializer<Ensemble.Builder> op)java.lang.StringtargetType()API name:target_typejava.util.List<TrainedModel>trainedModels()Required - API name:trained_modelsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forEnsemble
-
-
Method Details
-
of
public static Ensemble of(java.util.function.Function<Ensemble.Builder,ObjectBuilder<Ensemble>> fn) -
aggregateOutput
API name:aggregate_output -
classificationLabels
public final java.util.List<java.lang.String> classificationLabels()API name:classification_labels -
featureNames
public final java.util.List<java.lang.String> featureNames()API name:feature_names -
targetType
@Nullable public final java.lang.String targetType()API name:target_type -
trainedModels
Required - API name:trained_models -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupEnsembleDeserializer
-