Class: Openlayer::Models::InferencePipelines::DataStreamParams::Config::TabularClassificationData

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/openlayer/models/inference_pipelines/data_stream_params.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

This class inherits a constructor from Openlayer::Internal::Type::BaseModel

Instance Attribute Details

#categorical_feature_namesArray<String>?

Array with the names of all categorical features in the dataset. E.g. [“Age”, “Geography”].

Returns:

  • (Array<String>, nil)


208
209
210
# File 'lib/openlayer/models/inference_pipelines/data_stream_params.rb', line 208

optional :categorical_feature_names,
Openlayer::Internal::Type::ArrayOf[String],
api_name: :categoricalFeatureNames

#class_namesArray<String>

List of class names indexed by label integer in the dataset. E.g. [“Retained”, “Exited”] when 0, 1 are in your label column.

Returns:

  • (Array<String>)


201
# File 'lib/openlayer/models/inference_pipelines/data_stream_params.rb', line 201

required :class_names, Openlayer::Internal::Type::ArrayOf[String], api_name: :classNames

#feature_namesArray<String>?

Array with all input feature names.

Returns:

  • (Array<String>, nil)


216
# File 'lib/openlayer/models/inference_pipelines/data_stream_params.rb', line 216

optional :feature_names, Openlayer::Internal::Type::ArrayOf[String], api_name: :featureNames

#inference_id_column_nameString?

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.

Returns:

  • (String, nil)


224
# File 'lib/openlayer/models/inference_pipelines/data_stream_params.rb', line 224

optional :inference_id_column_name, String, api_name: :inferenceIdColumnName

#label_column_nameString?

Name of the column with the labels. The data in this column must be **zero-indexed integers**, matching the list provided in ‘classNames`.

Returns:

  • (String, nil)


231
# File 'lib/openlayer/models/inference_pipelines/data_stream_params.rb', line 231

optional :label_column_name, String, api_name: :labelColumnName

#latency_column_nameString?

Name of the column with the latencies.

Returns:

  • (String, nil)


237
# File 'lib/openlayer/models/inference_pipelines/data_stream_params.rb', line 237

optional :latency_column_name, String, api_name: :latencyColumnName

#metadataObject?

Object with metadata.

Returns:

  • (Object, nil)


243
# File 'lib/openlayer/models/inference_pipelines/data_stream_params.rb', line 243

optional :metadata, Openlayer::Internal::Type::Unknown

#prediction_scores_column_nameString?

Name of the column with the model’s predictions as **lists of class probabilities**.

Returns:

  • (String, nil)


256
# File 'lib/openlayer/models/inference_pipelines/data_stream_params.rb', line 256

optional :prediction_scores_column_name, String, api_name: :predictionScoresColumnName

#predictions_column_nameString?

Name of the column with the model’s predictions as **zero-indexed integers**.

Returns:

  • (String, nil)


249
# File 'lib/openlayer/models/inference_pipelines/data_stream_params.rb', line 249

optional :predictions_column_name, String, api_name: :predictionsColumnName

#timestamp_column_nameString?

Name of the column with the timestamps. Timestamps must be in UNIX sec format. If not provided, the upload timestamp is used.

Returns:

  • (String, nil)


263
# File 'lib/openlayer/models/inference_pipelines/data_stream_params.rb', line 263

optional :timestamp_column_name, String, api_name: :timestampColumnName