ResearchScamNearestNeighborsNeighbor

GoogleApi.ContentWarehouse.V1.Model.ResearchScamNearestNeighborsNeighbor


Table of Contents ▼

Jump to a specific part of the page:

Description

No description given.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. crowdingAttribute (type: String.t, default: nil)
    - If crowding is enabled, the crowding attribute of this neighbor will be stored here.
  2. distance (type: float(), default: nil)
    - This could be exact or approximate distance.
  3. docid (type: String.t, default: nil)
    - Neighbor data point. This field is set based on the data_id_str field in the GFV of the data point in the database (or SSTable key if data_id_str is not present), and thus can be arbitrary data, e.g. docid, URL, query string.
  4. gfv (type: GoogleApi.ContentWarehouse.V1.Model.ResearchScamGenericFeatureVector, default: nil)
    - The field isn't populated by default, but when enabled (eg, in the ground-truth pipeline), this field provides the original database GFV corresponding to this result.
  5. metadata (type: String.t, default: nil)
    - Metadata about the neighbor. This is returned under some configurations as a serialized proto. The specific proto depends on which metadata is configured to be returned.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.ResearchScamNearestNeighborsNeighbor{
crowdingAttribute: String.t() | nil,
distance: float() | nil,
docid: String.t() | nil,
gfv: GoogleApi.ContentWarehouse.V1.Model.ResearchScamGenericFeatureVector.t() | nil,
metadata: String.t() | nil
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.ResearchScamNearestNeighborsNeighbor