| | 1 | | // <auto-generated> |
| | 2 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 3 | | // Licensed under the MIT License. See License.txt in the project root for |
| | 4 | | // license information. |
| | 5 | | // |
| | 6 | | // Code generated by Microsoft (R) AutoRest Code Generator. |
| | 7 | | // Changes may cause incorrect behavior and will be lost if the code is |
| | 8 | | // regenerated. |
| | 9 | | // </auto-generated> |
| | 10 | |
|
| | 11 | | namespace Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models |
| | 12 | | { |
| | 13 | | using Newtonsoft.Json; |
| | 14 | | using System.Linq; |
| | 15 | |
|
| | 16 | | /// <summary> |
| | 17 | | /// Represents performance data for a particular tag in a trained |
| | 18 | | /// iteration. |
| | 19 | | /// </summary> |
| | 20 | | public partial class TagPerformance |
| | 21 | | { |
| | 22 | | /// <summary> |
| | 23 | | /// Initializes a new instance of the TagPerformance class. |
| | 24 | | /// </summary> |
| 4 | 25 | | public TagPerformance() |
| | 26 | | { |
| | 27 | | CustomInit(); |
| 4 | 28 | | } |
| | 29 | |
|
| | 30 | | /// <summary> |
| | 31 | | /// Initializes a new instance of the TagPerformance class. |
| | 32 | | /// </summary> |
| | 33 | | /// <param name="precision">Gets the precision.</param> |
| | 34 | | /// <param name="precisionStdDeviation">Gets the standard deviation for |
| | 35 | | /// the precision.</param> |
| | 36 | | /// <param name="recall">Gets the recall.</param> |
| | 37 | | /// <param name="recallStdDeviation">Gets the standard deviation for |
| | 38 | | /// the recall.</param> |
| | 39 | | /// <param name="averagePrecision">Gets the average precision when |
| | 40 | | /// applicable.</param> |
| 0 | 41 | | public TagPerformance(System.Guid id = default(System.Guid), string name = default(string), double precision = d |
| | 42 | | { |
| 0 | 43 | | Id = id; |
| 0 | 44 | | Name = name; |
| 0 | 45 | | Precision = precision; |
| 0 | 46 | | PrecisionStdDeviation = precisionStdDeviation; |
| 0 | 47 | | Recall = recall; |
| 0 | 48 | | RecallStdDeviation = recallStdDeviation; |
| 0 | 49 | | AveragePrecision = averagePrecision; |
| | 50 | | CustomInit(); |
| 0 | 51 | | } |
| | 52 | |
|
| | 53 | | /// <summary> |
| | 54 | | /// An initialization method that performs custom operations like setting defaults |
| | 55 | | /// </summary> |
| | 56 | | partial void CustomInit(); |
| | 57 | |
|
| | 58 | | /// <summary> |
| | 59 | | /// </summary> |
| | 60 | | [JsonProperty(PropertyName = "id")] |
| 0 | 61 | | public System.Guid Id { get; private set; } |
| | 62 | |
|
| | 63 | | /// <summary> |
| | 64 | | /// </summary> |
| | 65 | | [JsonProperty(PropertyName = "name")] |
| 8 | 66 | | public string Name { get; private set; } |
| | 67 | |
|
| | 68 | | /// <summary> |
| | 69 | | /// Gets the precision. |
| | 70 | | /// </summary> |
| | 71 | | [JsonProperty(PropertyName = "precision")] |
| 8 | 72 | | public double Precision { get; private set; } |
| | 73 | |
|
| | 74 | | /// <summary> |
| | 75 | | /// Gets the standard deviation for the precision. |
| | 76 | | /// </summary> |
| | 77 | | [JsonProperty(PropertyName = "precisionStdDeviation")] |
| 8 | 78 | | public double PrecisionStdDeviation { get; private set; } |
| | 79 | |
|
| | 80 | | /// <summary> |
| | 81 | | /// Gets the recall. |
| | 82 | | /// </summary> |
| | 83 | | [JsonProperty(PropertyName = "recall")] |
| 8 | 84 | | public double Recall { get; private set; } |
| | 85 | |
|
| | 86 | | /// <summary> |
| | 87 | | /// Gets the standard deviation for the recall. |
| | 88 | | /// </summary> |
| | 89 | | [JsonProperty(PropertyName = "recallStdDeviation")] |
| 8 | 90 | | public double RecallStdDeviation { get; private set; } |
| | 91 | |
|
| | 92 | | /// <summary> |
| | 93 | | /// Gets the average precision when applicable. |
| | 94 | | /// </summary> |
| | 95 | | [JsonProperty(PropertyName = "averagePrecision")] |
| 0 | 96 | | public double? AveragePrecision { get; private set; } |
| | 97 | |
|
| | 98 | | } |
| | 99 | | } |