Class DataStreamParams.Config.TabularClassificationData.Builder
-
- All Implemented Interfaces:
public final class DataStreamParams.Config.TabularClassificationData.BuilderA builder for TabularClassificationData.
-
-
Method Summary
-
-
Method Detail
-
classNames
final DataStreamParams.Config.TabularClassificationData.Builder classNames(List<String> classNames)
List of class names indexed by label integer in the dataset. E.g. "Retained", "Exited" when 0, 1 are in your label column.
-
classNames
final DataStreamParams.Config.TabularClassificationData.Builder classNames(JsonField<List<String>> classNames)
Sets Builder.classNames to an arbitrary JSON value.
You should usually call Builder.classNames with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addClassName
final DataStreamParams.Config.TabularClassificationData.Builder addClassName(String className)
Adds a single String to classNames.
-
categoricalFeatureNames
final DataStreamParams.Config.TabularClassificationData.Builder categoricalFeatureNames(List<String> categoricalFeatureNames)
Array with the names of all categorical features in the dataset. E.g. "Age", "Geography".
-
categoricalFeatureNames
final DataStreamParams.Config.TabularClassificationData.Builder categoricalFeatureNames(JsonField<List<String>> categoricalFeatureNames)
Sets Builder.categoricalFeatureNames to an arbitrary JSON value.
You should usually call Builder.categoricalFeatureNames with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addCategoricalFeatureName
final DataStreamParams.Config.TabularClassificationData.Builder addCategoricalFeatureName(String categoricalFeatureName)
Adds a single String to categoricalFeatureNames.
-
featureNames
final DataStreamParams.Config.TabularClassificationData.Builder featureNames(List<String> featureNames)
Array with all input feature names.
-
featureNames
final DataStreamParams.Config.TabularClassificationData.Builder featureNames(JsonField<List<String>> featureNames)
Sets Builder.featureNames to an arbitrary JSON value.
You should usually call Builder.featureNames with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addFeatureName
final DataStreamParams.Config.TabularClassificationData.Builder addFeatureName(String featureName)
Adds a single String to featureNames.
-
inferenceIdColumnName
final DataStreamParams.Config.TabularClassificationData.Builder inferenceIdColumnName(String inferenceIdColumnName)
Name of the column with the inference ids. This is useful if you want to update rows at a later point in time. If not provided, a unique id is generated by Openlayer.
-
inferenceIdColumnName
final DataStreamParams.Config.TabularClassificationData.Builder inferenceIdColumnName(JsonField<String> inferenceIdColumnName)
Sets Builder.inferenceIdColumnName to an arbitrary JSON value.
You should usually call Builder.inferenceIdColumnName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
labelColumnName
final DataStreamParams.Config.TabularClassificationData.Builder labelColumnName(String labelColumnName)
Name of the column with the labels. The data in this column must be zero-indexed integers, matching the list provided in
classNames.
-
labelColumnName
final DataStreamParams.Config.TabularClassificationData.Builder labelColumnName(JsonField<String> labelColumnName)
Sets Builder.labelColumnName to an arbitrary JSON value.
You should usually call Builder.labelColumnName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
latencyColumnName
final DataStreamParams.Config.TabularClassificationData.Builder latencyColumnName(String latencyColumnName)
Name of the column with the latencies.
-
latencyColumnName
final DataStreamParams.Config.TabularClassificationData.Builder latencyColumnName(JsonField<String> latencyColumnName)
Sets Builder.latencyColumnName to an arbitrary JSON value.
You should usually call Builder.latencyColumnName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
metadata
final DataStreamParams.Config.TabularClassificationData.Builder metadata(JsonValue metadata)
Object with metadata.
-
predictionsColumnName
final DataStreamParams.Config.TabularClassificationData.Builder predictionsColumnName(String predictionsColumnName)
Name of the column with the model's predictions as zero-indexed integers.
-
predictionsColumnName
final DataStreamParams.Config.TabularClassificationData.Builder predictionsColumnName(JsonField<String> predictionsColumnName)
Sets Builder.predictionsColumnName to an arbitrary JSON value.
You should usually call Builder.predictionsColumnName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
predictionScoresColumnName
final DataStreamParams.Config.TabularClassificationData.Builder predictionScoresColumnName(String predictionScoresColumnName)
Name of the column with the model's predictions as lists of class probabilities.
-
predictionScoresColumnName
final DataStreamParams.Config.TabularClassificationData.Builder predictionScoresColumnName(JsonField<String> predictionScoresColumnName)
Sets Builder.predictionScoresColumnName to an arbitrary JSON value.
You should usually call Builder.predictionScoresColumnName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
timestampColumnName
final DataStreamParams.Config.TabularClassificationData.Builder timestampColumnName(String timestampColumnName)
Name of the column with the timestamps. Timestamps must be in UNIX sec format. If not provided, the upload timestamp is used.
-
timestampColumnName
final DataStreamParams.Config.TabularClassificationData.Builder timestampColumnName(JsonField<String> timestampColumnName)
Sets Builder.timestampColumnName to an arbitrary JSON value.
You should usually call Builder.timestampColumnName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final DataStreamParams.Config.TabularClassificationData.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final DataStreamParams.Config.TabularClassificationData.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final DataStreamParams.Config.TabularClassificationData.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final DataStreamParams.Config.TabularClassificationData.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final DataStreamParams.Config.TabularClassificationData.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final DataStreamParams.Config.TabularClassificationData build()
Returns an immutable instance of TabularClassificationData.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.classNames()
-
-
-
-