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

Generic output for one vertical.

Attributes

  • csaiClassification (type: String.t, default: nil) - This field is only filled for the CSAI vertical.
  • debug (type: String.t, default: nil) - Human-readable debug information about the classification. This field is only set if output_debug is set in the classification input.
  • isPositive (type: boolean(), default: nil) - The bit that shows if this classifier outputs positive classification for the input query. Set by thresholding with a recommended threshold.
  • score (type: number(), default: nil) - The score that the classifier assigned to the input query. This is filled by all verticals.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.ClassifierPornQueryClassifierOutput{
  csaiClassification: String.t() | nil,
  debug: String.t() | nil,
  isPositive: boolean() | nil,
  score: number() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.