View Source GoogleApi.ContentWarehouse.V1.Model.FatcatCompactDocClassification (google_api_content_warehouse v0.4.0)

The result of PetacatAnnotator. Each result contains: 1. RephilClusters; 2. At most 5 verticals from each taxonomy, sorted by the probabilities in descending order. 3. Binary classification results about page types and sensitive content. The types of taxonomies include: verticals4, geo, verticals4_geo, products_services, icm_im_audiences and icm_im_audiences_dev.

Attributes

  • binary (type: list(GoogleApi.ContentWarehouse.V1.Model.FatcatCompactBinaryClassification.t), default: nil) -
  • clusters (type: GoogleApi.ContentWarehouse.V1.Model.FatcatCompactRephilClusters.t, default: nil) -
  • epoch (type: String.t, default: nil) -
  • langCode (type: String.t, default: nil) -
  • rephilModelId (type: integer(), default: nil) - The id of the Rephil model used to generate the Rephil clusters. If it is absent, Rephil 4 is assumed.
  • taxonomic (type: list(GoogleApi.ContentWarehouse.V1.Model.FatcatCompactTaxonomicClassification.t), default: nil) -
  • url (type: String.t, default: nil) - not needed if the url is the sstable / bigtable key used during intermediate processing only
  • weight (type: String.t, default: nil) - The relative weight of this doc within a site, typically something like pagerank or navboost impressions. May be a large number (like an actual pageviews estimate), not limited to a small range.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.FatcatCompactDocClassification{
  binary:
    [GoogleApi.ContentWarehouse.V1.Model.FatcatCompactBinaryClassification.t()]
    | nil,
  clusters:
    GoogleApi.ContentWarehouse.V1.Model.FatcatCompactRephilClusters.t() | nil,
  epoch: String.t() | nil,
  langCode: String.t() | nil,
  rephilModelId: integer() | nil,
  taxonomic:
    [
      GoogleApi.ContentWarehouse.V1.Model.FatcatCompactTaxonomicClassification.t()
    ]
    | nil,
  url: String.t() | nil,
  weight: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.