Class: Google::Cloud::AIPlatform::V1::ExamplesOverride

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/explanation.rb

Overview

Overrides for example-based explanations.

Defined Under Namespace

Modules: DataFormat

Instance Attribute Summary collapse

Instance Attribute Details

#crowding_count::Integer

Returns The number of neighbors to return that have the same crowding tag.

Returns:

  • (::Integer)

    The number of neighbors to return that have the same crowding tag.



480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
# File 'proto_docs/google/cloud/aiplatform/v1/explanation.rb', line 480

class ExamplesOverride
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Data format enum.
  module DataFormat
    # Unspecified format. Must not be used.
    DATA_FORMAT_UNSPECIFIED = 0

    # Provided data is a set of model inputs.
    INSTANCES = 1

    # Provided data is a set of embeddings.
    EMBEDDINGS = 2
  end
end

#data_format::Google::Cloud::AIPlatform::V1::ExamplesOverride::DataFormat

Returns The format of the data being provided with each call.

Returns:



480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
# File 'proto_docs/google/cloud/aiplatform/v1/explanation.rb', line 480

class ExamplesOverride
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Data format enum.
  module DataFormat
    # Unspecified format. Must not be used.
    DATA_FORMAT_UNSPECIFIED = 0

    # Provided data is a set of model inputs.
    INSTANCES = 1

    # Provided data is a set of embeddings.
    EMBEDDINGS = 2
  end
end

#neighbor_count::Integer

Returns The number of neighbors to return.

Returns:

  • (::Integer)

    The number of neighbors to return.



480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
# File 'proto_docs/google/cloud/aiplatform/v1/explanation.rb', line 480

class ExamplesOverride
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Data format enum.
  module DataFormat
    # Unspecified format. Must not be used.
    DATA_FORMAT_UNSPECIFIED = 0

    # Provided data is a set of model inputs.
    INSTANCES = 1

    # Provided data is a set of embeddings.
    EMBEDDINGS = 2
  end
end

#restrictions::Array<::Google::Cloud::AIPlatform::V1::ExamplesRestrictionsNamespace>

Returns Restrict the resulting nearest neighbors to respect these constraints.

Returns:



480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
# File 'proto_docs/google/cloud/aiplatform/v1/explanation.rb', line 480

class ExamplesOverride
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Data format enum.
  module DataFormat
    # Unspecified format. Must not be used.
    DATA_FORMAT_UNSPECIFIED = 0

    # Provided data is a set of model inputs.
    INSTANCES = 1

    # Provided data is a set of embeddings.
    EMBEDDINGS = 2
  end
end

#return_embeddings::Boolean

Returns If true, return the embeddings instead of neighbors.

Returns:

  • (::Boolean)

    If true, return the embeddings instead of neighbors.



480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
# File 'proto_docs/google/cloud/aiplatform/v1/explanation.rb', line 480

class ExamplesOverride
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Data format enum.
  module DataFormat
    # Unspecified format. Must not be used.
    DATA_FORMAT_UNSPECIFIED = 0

    # Provided data is a set of model inputs.
    INSTANCES = 1

    # Provided data is a set of embeddings.
    EMBEDDINGS = 2
  end
end