Module: Openlayer::Models::InferencePipelines::DataStreamParams::Config

Extended by:
Internal::Type::Union
Defined in:
lib/openlayer/models/inference_pipelines/data_stream_params.rb

Overview

Configuration for the data stream. Depends on your **Openlayer project task type**.

Defined Under Namespace

Classes: LlmData, TabularClassificationData, TabularRegressionData, TextClassificationData

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, dump, hash, inspect, to_sorbet_type, variants

Methods included from Internal::Util::SorbetRuntimeSupport

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

Methods included from Internal::Type::Converter

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

Instance Method Details

#initialize(categorical_feature_names: nil, feature_names: nil, inference_id_column_name: nil, latency_column_name: nil, metadata: nil, predictions_column_name: nil, target_column_name: nil, timestamp_column_name: nil) ⇒ Object

Some parameter documentations has been truncated, see TabularRegressionData for more details.

Parameters:

  • categorical_feature_names (Array<String>) (defaults to: nil)

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

  • feature_names (Array<String>) (defaults to: nil)

    Array with all input feature names.

  • inference_id_column_name (String) (defaults to: nil)

    Name of the column with the inference ids. This is useful if you want to update

  • latency_column_name (String) (defaults to: nil)

    Name of the column with the latencies.

  • metadata (Object) (defaults to: nil)

    Object with metadata.

  • predictions_column_name (String) (defaults to: nil)

    Name of the column with the model’s predictions.

  • target_column_name (String) (defaults to: nil)

    Name of the column with the targets (ground truth values).

  • timestamp_column_name (String) (defaults to: nil)

    Name of the column with the timestamps. Timestamps must be in UNIX sec format. I



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