Class PriorityAverageWeighted
Inheritance
PriorityAverageWeighted
Namespace: System.Dynamic.ExpandoObject
Syntax
[GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
public class PriorityAverageWeighted : MessagePriorityModelResultPriorityAggregator
Properties
ModelResults are considered as long as their cumulative weight is at or below this value
Declaration
[JsonProperty("maxWeight", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
[Range(1, 2147483647)]
public int MaxWeight { get; set; }
Property Value
Weights to be used for model results (if they were produced). Results with undefined weights are ignored.
Declaration
[JsonProperty("modelWeights", Required = Required.Always)]
[Required]
public ICollection<PriorityAverageWeightedModelWeight> ModelWeights { get; set; }
Property Value
Methods
Declaration
public static PriorityAverageWeighted FromJson(string data)
Parameters
Returns