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.



613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
# File 'proto_docs/google/cloud/aiplatform/v1/explanation.rb', line 613

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:



613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
# File 'proto_docs/google/cloud/aiplatform/v1/explanation.rb', line 613

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.



613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
# File 'proto_docs/google/cloud/aiplatform/v1/explanation.rb', line 613

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:



613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
# File 'proto_docs/google/cloud/aiplatform/v1/explanation.rb', line 613

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.



613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
# File 'proto_docs/google/cloud/aiplatform/v1/explanation.rb', line 613

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