Package com.google.genai.types
Class DatasetDistribution
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.DatasetDistribution
Distribution computed over a tuning dataset.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for DatasetDistribution. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Optional<List<DatasetDistributionDistributionBucket>>
buckets()
Output only.static DatasetDistribution.Builder
builder()
Instantiates a builder for DatasetDistribution.static DatasetDistribution
Deserializes a JSON string to a DatasetDistribution object.max()
Output only.mean()
Output only.median()
Output only.min()
Output only.p5()
Output only.p95()
Output only.sum()
Output only.abstract DatasetDistribution.Builder
Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
DatasetDistribution
public DatasetDistribution()
-
-
Method Details
-
buckets
Output only. Defines the histogram bucket. -
max
Output only. The maximum of the population values. -
mean
Output only. The arithmetic mean of the values in the population. -
median
Output only. The median of the values in the population. -
min
Output only. The minimum of the population values. -
p5
Output only. The 5th percentile of the values in the population. -
p95
Output only. The 95th percentile of the values in the population. -
sum
Output only. Sum of a given population of values. -
builder
Instantiates a builder for DatasetDistribution. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a DatasetDistribution object.
-