Class: Openlayer::Models::InferencePipelines::DataStreamParams::Config::TabularClassificationData
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Openlayer::Models::InferencePipelines::DataStreamParams::Config::TabularClassificationData
- Defined in:
- lib/openlayer/models/inference_pipelines/data_stream_params.rb
Instance Attribute Summary collapse
-
#categorical_feature_names ⇒ Array<String>?
Array with the names of all categorical features in the dataset.
-
#class_names ⇒ Array<String>
List of class names indexed by label integer in the dataset.
-
#feature_names ⇒ Array<String>?
Array with all input feature names.
-
#inference_id_column_name ⇒ String?
Name of the column with the inference ids.
-
#label_column_name ⇒ String?
Name of the column with the labels.
-
#latency_column_name ⇒ String?
Name of the column with the latencies.
-
#metadata ⇒ Object?
Object with metadata.
-
#prediction_scores_column_name ⇒ String?
Name of the column with the model’s predictions as **lists of class probabilities**.
-
#predictions_column_name ⇒ String?
Name of the column with the model’s predictions as **zero-indexed integers**.
-
#timestamp_column_name ⇒ String?
Name of the column with the timestamps.
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_names ⇒ Array<String>?
Array with the names of all categorical features in the dataset. E.g. [“Age”, “Geography”].
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_names ⇒ Array<String>
List of class names indexed by label integer in the dataset. E.g. [“Retained”, “Exited”] when 0, 1 are in your label column.
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_names ⇒ Array<String>?
Array with all input feature names.
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_name ⇒ String?
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.
224 |
# File 'lib/openlayer/models/inference_pipelines/data_stream_params.rb', line 224 optional :inference_id_column_name, String, api_name: :inferenceIdColumnName |
#label_column_name ⇒ String?
Name of the column with the labels. The data in this column must be **zero-indexed integers**, matching the list provided in ‘classNames`.
231 |
# File 'lib/openlayer/models/inference_pipelines/data_stream_params.rb', line 231 optional :label_column_name, String, api_name: :labelColumnName |
#latency_column_name ⇒ String?
Name of the column with the latencies.
237 |
# File 'lib/openlayer/models/inference_pipelines/data_stream_params.rb', line 237 optional :latency_column_name, String, api_name: :latencyColumnName |
#metadata ⇒ Object?
Object with metadata.
243 |
# File 'lib/openlayer/models/inference_pipelines/data_stream_params.rb', line 243 optional :metadata, Openlayer::Internal::Type::Unknown |
#prediction_scores_column_name ⇒ String?
Name of the column with the model’s predictions as **lists of class probabilities**.
256 |
# File 'lib/openlayer/models/inference_pipelines/data_stream_params.rb', line 256 optional :prediction_scores_column_name, String, api_name: :predictionScoresColumnName |
#predictions_column_name ⇒ String?
Name of the column with the model’s predictions as **zero-indexed integers**.
249 |
# File 'lib/openlayer/models/inference_pipelines/data_stream_params.rb', line 249 optional :predictions_column_name, String, api_name: :predictionsColumnName |
#timestamp_column_name ⇒ String?
Name of the column with the timestamps. Timestamps must be in UNIX sec format. If not provided, the upload timestamp is used.
263 |
# File 'lib/openlayer/models/inference_pipelines/data_stream_params.rb', line 263 optional :timestamp_column_name, String, api_name: :timestampColumnName |