GeostoreRankSignalProto

GoogleApi.ContentWarehouse.V1.Model.GeostoreRankSignalProto


Table of Contents ▼

Jump to a specific part of the page:

Description

This message is embedded in the RankDetailsProto (below). It represents one rank signal, which is a floating point value estimating the Oyster Rank of the feature.

Attributes List

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

View Attributes

Attributes

  1. metadata (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreFieldMetadataProto, default: nil)
    - Field-level metadata for this signal.
  2. rank (type: number(), default: nil)
    - A value in the range [0, 1] estimating Oyster Rank according to this signal. Non-provider specific signals (e.g. SIGNAL_POPULATION) are interpreted by some common code in the ranking pipeline. Because of that, data providers should leave this field empty when setting such signals (so that the rank assignment can be uniform across all features regardless of contributing data providers). On the other hand, provider-specific signals (e.g. SIGNAL_ZENRIN_CITY_CATEGORY) are required to specify the rank field (it is not optional for them). That is because no code other than that of the provider itself will be able to fill in a meaningful value later on. We don't want clients to be reading from the raw_scalar / raw_string fields to interpret the data.
  3. rawScalar (type: number(), default: nil)
    - The raw scalar value that was used to compute 'rank' above. The meaning of this attribute changes depending on the signal type.
  4. rawString (type: String.t, default: nil)
    - The raw string value that was used to compute 'rank' above. The meaning of this attribute changes depending on the signal type.
  5. type (type: String.t, default: nil)
    -

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreRankSignalProto{
metadata: GoogleApi.ContentWarehouse.V1.Model.GeostoreFieldMetadataProto.t() | nil,
rank: number() | nil,
rawScalar: number() | nil,
rawString: String.t() | nil,
type: String.t() | nil
}

Function

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

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