View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1RougeSpec (google_api_ai_platform v0.13.0)

Spec for rouge score metric - calculates the recall of n-grams in prediction as compared to reference - returns a score ranging between 0 and 1.

Attributes

  • rougeType (type: String.t, default: nil) - Optional. Supported rouge types are rougen[1-9], rougeL, and rougeLsum.
  • splitSummaries (type: boolean(), default: nil) - Optional. Whether to split summaries while using rougeLsum.
  • useStemmer (type: boolean(), default: nil) - Optional. Whether to use stemmer to compute rouge score.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1RougeSpec{
  rougeType: String.t() | nil,
  splitSummaries: boolean() | nil,
  useStemmer: boolean() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.