Class DataframeAnalyticsStatsDataCounts
java.lang.Object
co.elastic.clients.elasticsearch.ml.DataframeAnalyticsStatsDataCounts
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class DataframeAnalyticsStatsDataCounts extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataframeAnalyticsStatsDataCounts.BuilderBuilder forDataframeAnalyticsStatsDataCounts. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<DataframeAnalyticsStatsDataCounts>_DESERIALIZERJson deserializer forDataframeAnalyticsStatsDataCounts -
Method Summary
Modifier and Type Method Description static DataframeAnalyticsStatsDataCountsof(java.util.function.Function<DataframeAnalyticsStatsDataCounts.Builder,ObjectBuilder<DataframeAnalyticsStatsDataCounts>> 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 voidsetupDataframeAnalyticsStatsDataCountsDeserializer(ObjectDeserializer<DataframeAnalyticsStatsDataCounts.Builder> op)intskippedDocsCount()Required - The number of documents that are skipped during the analysis because they contained values that are not supported by the analysis.inttestDocsCount()Required - The number of documents that are not used for training the model and can be used for testing.java.lang.StringtoString()inttrainingDocsCount()Required - The number of documents that are used for training the model.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forDataframeAnalyticsStatsDataCounts
-
-
Method Details
-
of
public static DataframeAnalyticsStatsDataCounts of(java.util.function.Function<DataframeAnalyticsStatsDataCounts.Builder,ObjectBuilder<DataframeAnalyticsStatsDataCounts>> fn) -
skippedDocsCount
public final int skippedDocsCount()Required - The number of documents that are skipped during the analysis because they contained values that are not supported by the analysis. For example, outlier detection does not support missing fields so it skips documents with missing fields. Likewise, all types of analysis skip documents that contain arrays with more than one element.API name:
skipped_docs_count -
testDocsCount
public final int testDocsCount()Required - The number of documents that are not used for training the model and can be used for testing.API name:
test_docs_count -
trainingDocsCount
public final int trainingDocsCount()Required - The number of documents that are used for training the model.API name:
training_docs_count -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupDataframeAnalyticsStatsDataCountsDeserializer
protected static void setupDataframeAnalyticsStatsDataCountsDeserializer(ObjectDeserializer<DataframeAnalyticsStatsDataCounts.Builder> op)
-