View Source GoogleApi.ContentWarehouse.V1.Model.ResearchScienceSearchFieldOfStudyInfo (google_api_content_warehouse v0.3.0)

Stores the classification info of each field of study label.

Attributes

  • classificationSource (type: String.t, default: nil) - The classification source that determines the field of study label.
  • isAboveThreshold (type: String.t, default: nil) - If set to true, it means that the probability is at least the threshold value specified from the corresponding saved model config. Thresholds for different fields may be different.
  • label (type: String.t, default: nil) - A label that represents the field of study.
  • probability (type: float(), default: nil) - A score between [0, 1] outputted from the classifier indicating the probability for being a YES instance.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.ResearchScienceSearchFieldOfStudyInfo{
    classificationSource: String.t() | nil,
    isAboveThreshold: String.t() | nil,
    label: String.t() | nil,
    probability: float() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.