Class DatasetDistribution
Distribution computed over a tuning dataset. This data type is not supported in Gemini API.
public record DatasetDistribution : IEquatable<DatasetDistribution>
- Inheritance
-
DatasetDistribution
- Implements
- Inherited Members
Properties
Buckets
Output only. Defines the histogram bucket.
[JsonPropertyName("buckets")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public List<DatasetDistributionDistributionBucket>? Buckets { get; set; }
Property Value
Max
Output only. The maximum of the population values.
[JsonPropertyName("max")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public double? Max { get; set; }
Property Value
Mean
Output only. The arithmetic mean of the values in the population.
[JsonPropertyName("mean")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public double? Mean { get; set; }
Property Value
Median
Output only. The median of the values in the population.
[JsonPropertyName("median")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public double? Median { get; set; }
Property Value
Min
Output only. The minimum of the population values.
[JsonPropertyName("min")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public double? Min { get; set; }
Property Value
P5
Output only. The 5th percentile of the values in the population.
[JsonPropertyName("p5")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public double? P5 { get; set; }
Property Value
P95
Output only. The 95th percentile of the values in the population.
[JsonPropertyName("p95")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public double? P95 { get; set; }
Property Value
Sum
Output only. Sum of a given population of values.
[JsonPropertyName("sum")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public double? Sum { get; set; }
Property Value
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a DatasetDistribution object.
public static DatasetDistribution? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- DatasetDistribution
The deserialized DatasetDistribution object, or null if deserialization fails.