DatasetDistribution

@Serializable
data class DatasetDistribution(val buckets: List<DatasetDistributionDistributionBucket>? = null, val max: Double? = null, val mean: Double? = null, val median: Double? = null, val min: Double? = null, val p5: Double? = null, val p95: Double? = null, val sum: Double? = null)

Distribution computed over a tuning dataset. This data type is not supported in Gemini API.

Constructors

Link copied to clipboard
constructor(buckets: List<DatasetDistributionDistributionBucket>? = null, max: Double? = null, mean: Double? = null, median: Double? = null, min: Double? = null, p5: Double? = null, p95: Double? = null, sum: Double? = null)

Properties

Link copied to clipboard

Output only. Defines the histogram bucket.

Link copied to clipboard
val max: Double? = null

Output only. The maximum of the population values.

Link copied to clipboard
val mean: Double? = null

Output only. The arithmetic mean of the values in the population.

Link copied to clipboard
val median: Double? = null

Output only. The median of the values in the population.

Link copied to clipboard
val min: Double? = null

Output only. The minimum of the population values.

Link copied to clipboard
val p5: Double? = null

Output only. The 5th percentile of the values in the population.

Link copied to clipboard
val p95: Double? = null

Output only. The 95th percentile of the values in the population.

Link copied to clipboard
val sum: Double? = null

Output only. Sum of a given population of values.