Class SupervisedTuningDatasetDistribution
Dataset distribution for Supervised Tuning. This data type is not supported in Gemini API.
public record SupervisedTuningDatasetDistribution : IEquatable<SupervisedTuningDatasetDistribution>
- Inheritance
-
SupervisedTuningDatasetDistribution
- Implements
- Inherited Members
Properties
BillableSum
Output only. Sum of a given population of values that are billable.
[JsonPropertyName("billableSum")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonConverter(typeof(StringToNullableLongConverter))]
public long? BillableSum { get; set; }
Property Value
- long?
Buckets
Output only. Defines the histogram bucket.
[JsonPropertyName("buckets")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public List<SupervisedTuningDatasetDistributionDatasetBucket>? 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)]
[JsonConverter(typeof(StringToNullableLongConverter))]
public long? Sum { get; set; }
Property Value
- long?
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a SupervisedTuningDatasetDistribution object.
public static SupervisedTuningDatasetDistribution? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- SupervisedTuningDatasetDistribution
The deserialized SupervisedTuningDatasetDistribution object, or null if deserialization fails.