azure_cognitiveservices_customvisiontraining 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (153) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining.rb +71 -0
  4. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/customvisiontraining_client.rb +4359 -0
  5. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/bounding_box.rb +80 -0
  6. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/domain.rb +97 -0
  7. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/domain_type.rb +16 -0
  8. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/export.rb +86 -0
  9. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/export_flavor.rb +16 -0
  10. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/export_platform.rb +18 -0
  11. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/export_status_model.rb +17 -0
  12. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/image.rb +149 -0
  13. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/image_create_result.rb +76 -0
  14. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/image_create_summary.rb +69 -0
  15. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/image_file_create_batch.rb +75 -0
  16. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/image_file_create_entry.rb +97 -0
  17. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/image_id_create_batch.rb +75 -0
  18. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/image_id_create_entry.rb +86 -0
  19. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/image_performance.rb +170 -0
  20. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/image_prediction.rb +105 -0
  21. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/image_region.rb +127 -0
  22. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/image_region_create_batch.rb +55 -0
  23. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/image_region_create_entry.rb +102 -0
  24. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/image_region_create_result.rb +139 -0
  25. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/image_region_create_summary.rb +96 -0
  26. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/image_region_proposal.rb +81 -0
  27. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/image_tag.rb +72 -0
  28. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/image_tag_create_batch.rb +56 -0
  29. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/image_tag_create_entry.rb +58 -0
  30. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/image_tag_create_summary.rb +96 -0
  31. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/image_upload_status.rb +24 -0
  32. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/image_url.rb +47 -0
  33. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/image_url_create_batch.rb +75 -0
  34. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/image_url_create_entry.rb +86 -0
  35. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/iteration.rb +156 -0
  36. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/iteration_performance.rb +117 -0
  37. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/order_by.rb +17 -0
  38. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/prediction.rb +85 -0
  39. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/prediction_query_result.rb +70 -0
  40. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/prediction_query_tag.rb +72 -0
  41. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/prediction_query_token.rb +145 -0
  42. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/project.rb +117 -0
  43. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/project_settings.rb +46 -0
  44. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/region.rb +91 -0
  45. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/region_proposal.rb +61 -0
  46. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/stored_image_prediction.rb +140 -0
  47. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/tag.rb +81 -0
  48. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/tag_performance.rb +119 -0
  49. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/module_definition.rb +9 -0
  50. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining.rb +72 -0
  51. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/customvisiontraining_client.rb +4368 -0
  52. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/bounding_box.rb +80 -0
  53. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/classifier.rb +16 -0
  54. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/domain.rb +97 -0
  55. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/domain_type.rb +16 -0
  56. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/export.rb +98 -0
  57. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/export_flavor.rb +16 -0
  58. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/export_platform.rb +18 -0
  59. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/export_status_model.rb +17 -0
  60. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/image.rb +149 -0
  61. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/image_create_result.rb +76 -0
  62. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/image_create_summary.rb +69 -0
  63. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/image_file_create_batch.rb +75 -0
  64. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/image_file_create_entry.rb +97 -0
  65. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/image_id_create_batch.rb +75 -0
  66. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/image_id_create_entry.rb +86 -0
  67. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/image_performance.rb +170 -0
  68. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/image_prediction.rb +105 -0
  69. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/image_region.rb +127 -0
  70. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/image_region_create_batch.rb +55 -0
  71. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/image_region_create_entry.rb +102 -0
  72. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/image_region_create_result.rb +139 -0
  73. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/image_region_create_summary.rb +96 -0
  74. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/image_region_proposal.rb +81 -0
  75. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/image_tag.rb +72 -0
  76. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/image_tag_create_batch.rb +56 -0
  77. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/image_tag_create_entry.rb +58 -0
  78. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/image_tag_create_summary.rb +96 -0
  79. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/image_upload_status.rb +24 -0
  80. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/image_url.rb +47 -0
  81. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/image_url_create_batch.rb +75 -0
  82. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/image_url_create_entry.rb +86 -0
  83. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/iteration.rb +169 -0
  84. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/iteration_performance.rb +117 -0
  85. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/order_by.rb +17 -0
  86. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/prediction.rb +85 -0
  87. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/prediction_query_result.rb +70 -0
  88. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/prediction_query_tag.rb +72 -0
  89. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/prediction_query_token.rb +145 -0
  90. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/project.rb +117 -0
  91. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/project_settings.rb +58 -0
  92. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/region.rb +91 -0
  93. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/region_proposal.rb +61 -0
  94. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/stored_image_prediction.rb +140 -0
  95. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/tag.rb +81 -0
  96. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/tag_performance.rb +119 -0
  97. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/module_definition.rb +9 -0
  98. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining.rb +73 -0
  99. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/customvisiontraining_client.rb +4458 -0
  100. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/bounding_box.rb +80 -0
  101. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/classifier.rb +16 -0
  102. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/domain.rb +97 -0
  103. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/domain_type.rb +16 -0
  104. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/export.rb +100 -0
  105. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/export_flavor_model.rb +18 -0
  106. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/export_platform_model.rb +18 -0
  107. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/export_status_model.rb +17 -0
  108. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/image.rb +161 -0
  109. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_create_result.rb +77 -0
  110. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_create_status.rb +25 -0
  111. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_create_summary.rb +70 -0
  112. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_file_create_batch.rb +75 -0
  113. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_file_create_entry.rb +97 -0
  114. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_id_create_batch.rb +75 -0
  115. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_id_create_entry.rb +86 -0
  116. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_performance.rb +170 -0
  117. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_prediction.rb +105 -0
  118. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_region.rb +127 -0
  119. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_region_create_batch.rb +55 -0
  120. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_region_create_entry.rb +101 -0
  121. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_region_create_result.rb +139 -0
  122. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_region_create_summary.rb +96 -0
  123. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_region_proposal.rb +81 -0
  124. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_tag.rb +72 -0
  125. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_tag_create_batch.rb +56 -0
  126. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_tag_create_entry.rb +57 -0
  127. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_tag_create_summary.rb +96 -0
  128. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_url.rb +47 -0
  129. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_url_create_batch.rb +75 -0
  130. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_url_create_entry.rb +86 -0
  131. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/iteration.rb +169 -0
  132. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/iteration_performance.rb +117 -0
  133. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/order_by.rb +17 -0
  134. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/prediction.rb +85 -0
  135. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/prediction_query_result.rb +70 -0
  136. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/prediction_query_tag.rb +72 -0
  137. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/prediction_query_token.rb +145 -0
  138. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/project.rb +117 -0
  139. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/project_settings.rb +58 -0
  140. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/region.rb +91 -0
  141. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/region_proposal.rb +61 -0
  142. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/stored_image_prediction.rb +153 -0
  143. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/tag.rb +93 -0
  144. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/tag_performance.rb +119 -0
  145. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/tag_type.rb +16 -0
  146. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/module_definition.rb +9 -0
  147. data/lib/azure_cognitiveservices_customvisiontraining.rb +8 -0
  148. data/lib/module_definition.rb +7 -0
  149. data/lib/profiles/latest/customvisiontraining_latest_profile_client.rb +38 -0
  150. data/lib/profiles/latest/customvisiontraining_module_definition.rb +8 -0
  151. data/lib/profiles/latest/modules/customvisiontraining_profile_module.rb +241 -0
  152. data/lib/version.rb +7 -0
  153. metadata +271 -0
@@ -0,0 +1,61 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::Customvisiontraining::V2_1
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class RegionProposal
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [Float]
17
+ attr_accessor :confidence
18
+
19
+ # @return [BoundingBox]
20
+ attr_accessor :bounding_box
21
+
22
+
23
+ #
24
+ # Mapper for RegionProposal class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ client_side_validation: true,
30
+ required: false,
31
+ serialized_name: 'RegionProposal',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'RegionProposal',
35
+ model_properties: {
36
+ confidence: {
37
+ client_side_validation: true,
38
+ required: false,
39
+ read_only: true,
40
+ serialized_name: 'confidence',
41
+ type: {
42
+ name: 'Double'
43
+ }
44
+ },
45
+ bounding_box: {
46
+ client_side_validation: true,
47
+ required: false,
48
+ read_only: true,
49
+ serialized_name: 'boundingBox',
50
+ type: {
51
+ name: 'Composite',
52
+ class_name: 'BoundingBox'
53
+ }
54
+ }
55
+ }
56
+ }
57
+ }
58
+ end
59
+ end
60
+ end
61
+ end
@@ -0,0 +1,140 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::Customvisiontraining::V2_1
7
+ module Models
8
+ #
9
+ # result of an image classification request
10
+ #
11
+ class StoredImagePrediction
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String]
16
+ attr_accessor :image_uri
17
+
18
+ # @return [String]
19
+ attr_accessor :thumbnail_uri
20
+
21
+ # @return
22
+ attr_accessor :domain
23
+
24
+ # @return
25
+ attr_accessor :id
26
+
27
+ # @return
28
+ attr_accessor :project
29
+
30
+ # @return
31
+ attr_accessor :iteration
32
+
33
+ # @return [DateTime]
34
+ attr_accessor :created
35
+
36
+ # @return [Array<Prediction>]
37
+ attr_accessor :predictions
38
+
39
+
40
+ #
41
+ # Mapper for StoredImagePrediction class as Ruby Hash.
42
+ # This will be used for serialization/deserialization.
43
+ #
44
+ def self.mapper()
45
+ {
46
+ client_side_validation: true,
47
+ required: false,
48
+ serialized_name: 'StoredImagePrediction',
49
+ type: {
50
+ name: 'Composite',
51
+ class_name: 'StoredImagePrediction',
52
+ model_properties: {
53
+ image_uri: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ read_only: true,
57
+ serialized_name: 'imageUri',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ thumbnail_uri: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ read_only: true,
66
+ serialized_name: 'thumbnailUri',
67
+ type: {
68
+ name: 'String'
69
+ }
70
+ },
71
+ domain: {
72
+ client_side_validation: true,
73
+ required: false,
74
+ read_only: true,
75
+ serialized_name: 'domain',
76
+ type: {
77
+ name: 'String'
78
+ }
79
+ },
80
+ id: {
81
+ client_side_validation: true,
82
+ required: false,
83
+ read_only: true,
84
+ serialized_name: 'id',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ },
89
+ project: {
90
+ client_side_validation: true,
91
+ required: false,
92
+ read_only: true,
93
+ serialized_name: 'project',
94
+ type: {
95
+ name: 'String'
96
+ }
97
+ },
98
+ iteration: {
99
+ client_side_validation: true,
100
+ required: false,
101
+ read_only: true,
102
+ serialized_name: 'iteration',
103
+ type: {
104
+ name: 'String'
105
+ }
106
+ },
107
+ created: {
108
+ client_side_validation: true,
109
+ required: false,
110
+ read_only: true,
111
+ serialized_name: 'created',
112
+ type: {
113
+ name: 'DateTime'
114
+ }
115
+ },
116
+ predictions: {
117
+ client_side_validation: true,
118
+ required: false,
119
+ read_only: true,
120
+ serialized_name: 'predictions',
121
+ type: {
122
+ name: 'Sequence',
123
+ element: {
124
+ client_side_validation: true,
125
+ required: false,
126
+ serialized_name: 'PredictionElementType',
127
+ type: {
128
+ name: 'Composite',
129
+ class_name: 'Prediction'
130
+ }
131
+ }
132
+ }
133
+ }
134
+ }
135
+ }
136
+ }
137
+ end
138
+ end
139
+ end
140
+ end
@@ -0,0 +1,81 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::Customvisiontraining::V2_1
7
+ module Models
8
+ #
9
+ # Represents a Tag
10
+ #
11
+ class Tag
12
+
13
+ include MsRestAzure
14
+
15
+ # @return Gets the Tag ID
16
+ attr_accessor :id
17
+
18
+ # @return [String] Gets or sets the name of the tag
19
+ attr_accessor :name
20
+
21
+ # @return [String] Gets or sets the description of the tag
22
+ attr_accessor :description
23
+
24
+ # @return [Integer] Gets the number of images with this tag
25
+ attr_accessor :image_count
26
+
27
+
28
+ #
29
+ # Mapper for Tag class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'Tag',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'Tag',
40
+ model_properties: {
41
+ id: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ read_only: true,
45
+ serialized_name: 'id',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ name: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ serialized_name: 'name',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ description: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ serialized_name: 'description',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ image_count: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ read_only: true,
70
+ serialized_name: 'imageCount',
71
+ type: {
72
+ name: 'Number'
73
+ }
74
+ }
75
+ }
76
+ }
77
+ }
78
+ end
79
+ end
80
+ end
81
+ end
@@ -0,0 +1,119 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::Customvisiontraining::V2_1
7
+ module Models
8
+ #
9
+ # Represents performance data for a particular tag in a trained iteration
10
+ #
11
+ class TagPerformance
12
+
13
+ include MsRestAzure
14
+
15
+ # @return
16
+ attr_accessor :id
17
+
18
+ # @return [String]
19
+ attr_accessor :name
20
+
21
+ # @return [Float] Gets the precision
22
+ attr_accessor :precision
23
+
24
+ # @return [Float] Gets the standard deviation for the precision
25
+ attr_accessor :precision_std_deviation
26
+
27
+ # @return [Float] Gets the recall
28
+ attr_accessor :recall
29
+
30
+ # @return [Float] Gets the standard deviation for the recall
31
+ attr_accessor :recall_std_deviation
32
+
33
+ # @return [Float] Gets the average precision when applicable
34
+ attr_accessor :average_precision
35
+
36
+
37
+ #
38
+ # Mapper for TagPerformance class as Ruby Hash.
39
+ # This will be used for serialization/deserialization.
40
+ #
41
+ def self.mapper()
42
+ {
43
+ client_side_validation: true,
44
+ required: false,
45
+ serialized_name: 'TagPerformance',
46
+ type: {
47
+ name: 'Composite',
48
+ class_name: 'TagPerformance',
49
+ model_properties: {
50
+ id: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ read_only: true,
54
+ serialized_name: 'id',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ name: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ read_only: true,
63
+ serialized_name: 'name',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ },
68
+ precision: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ read_only: true,
72
+ serialized_name: 'precision',
73
+ type: {
74
+ name: 'Double'
75
+ }
76
+ },
77
+ precision_std_deviation: {
78
+ client_side_validation: true,
79
+ required: false,
80
+ read_only: true,
81
+ serialized_name: 'precisionStdDeviation',
82
+ type: {
83
+ name: 'Double'
84
+ }
85
+ },
86
+ recall: {
87
+ client_side_validation: true,
88
+ required: false,
89
+ read_only: true,
90
+ serialized_name: 'recall',
91
+ type: {
92
+ name: 'Double'
93
+ }
94
+ },
95
+ recall_std_deviation: {
96
+ client_side_validation: true,
97
+ required: false,
98
+ read_only: true,
99
+ serialized_name: 'recallStdDeviation',
100
+ type: {
101
+ name: 'Double'
102
+ }
103
+ },
104
+ average_precision: {
105
+ client_side_validation: true,
106
+ required: false,
107
+ read_only: true,
108
+ serialized_name: 'averagePrecision',
109
+ type: {
110
+ name: 'Double'
111
+ }
112
+ }
113
+ }
114
+ }
115
+ }
116
+ end
117
+ end
118
+ end
119
+ end
@@ -0,0 +1,9 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure end
7
+ module Azure::CognitiveServices end
8
+ module Azure::CognitiveServices::Customvisiontraining end
9
+ module Azure::CognitiveServices::Customvisiontraining::V2_1 end
@@ -0,0 +1,73 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ require 'uri'
7
+ require 'cgi'
8
+ require 'date'
9
+ require 'json'
10
+ require 'base64'
11
+ require 'erb'
12
+ require 'securerandom'
13
+ require 'time'
14
+ require 'timeliness'
15
+ require 'faraday'
16
+ require 'faraday-cookie_jar'
17
+ require 'concurrent'
18
+ require 'ms_rest'
19
+ require '2.2/generated/azure_cognitiveservices_customvisiontraining/module_definition'
20
+ require 'ms_rest_azure'
21
+
22
+ module Azure::CognitiveServices::Customvisiontraining::V2_2
23
+ autoload :CustomvisiontrainingClient, '2.2/generated/azure_cognitiveservices_customvisiontraining/customvisiontraining_client.rb'
24
+
25
+ module Models
26
+ autoload :ImageIdCreateBatch, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_id_create_batch.rb'
27
+ autoload :Domain, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/domain.rb'
28
+ autoload :BoundingBox, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/bounding_box.rb'
29
+ autoload :ImageTagCreateBatch, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_tag_create_batch.rb'
30
+ autoload :RegionProposal, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/region_proposal.rb'
31
+ autoload :ImageRegionCreateEntry, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_region_create_entry.rb'
32
+ autoload :ImageRegionProposal, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_region_proposal.rb'
33
+ autoload :ImageRegionCreateResult, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_region_create_result.rb'
34
+ autoload :ImageUrl, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_url.rb'
35
+ autoload :ImageTag, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_tag.rb'
36
+ autoload :Prediction, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/prediction.rb'
37
+ autoload :Image, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/image.rb'
38
+ autoload :ImagePrediction, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_prediction.rb'
39
+ autoload :ImageCreateSummary, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_create_summary.rb'
40
+ autoload :PredictionQueryTag, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/prediction_query_tag.rb'
41
+ autoload :ImageFileCreateEntry, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_file_create_entry.rb'
42
+ autoload :PredictionQueryToken, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/prediction_query_token.rb'
43
+ autoload :ImageUrlCreateEntry, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_url_create_entry.rb'
44
+ autoload :StoredImagePrediction, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/stored_image_prediction.rb'
45
+ autoload :ImageIdCreateEntry, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_id_create_entry.rb'
46
+ autoload :PredictionQueryResult, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/prediction_query_result.rb'
47
+ autoload :ImageTagCreateSummary, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_tag_create_summary.rb'
48
+ autoload :TagPerformance, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/tag_performance.rb'
49
+ autoload :ImageRegionCreateSummary, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_region_create_summary.rb'
50
+ autoload :IterationPerformance, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/iteration_performance.rb'
51
+ autoload :ImageCreateResult, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_create_result.rb'
52
+ autoload :ImagePerformance, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_performance.rb'
53
+ autoload :ImageFileCreateBatch, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_file_create_batch.rb'
54
+ autoload :ProjectSettings, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/project_settings.rb'
55
+ autoload :ImageTagCreateEntry, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_tag_create_entry.rb'
56
+ autoload :Project, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/project.rb'
57
+ autoload :ImageRegion, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_region.rb'
58
+ autoload :Iteration, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/iteration.rb'
59
+ autoload :ImageUrlCreateBatch, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_url_create_batch.rb'
60
+ autoload :Export, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/export.rb'
61
+ autoload :Region, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/region.rb'
62
+ autoload :Tag, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/tag.rb'
63
+ autoload :ImageRegionCreateBatch, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_region_create_batch.rb'
64
+ autoload :DomainType, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/domain_type.rb'
65
+ autoload :ImageCreateStatus, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/image_create_status.rb'
66
+ autoload :OrderBy, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/order_by.rb'
67
+ autoload :Classifier, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/classifier.rb'
68
+ autoload :ExportPlatformModel, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/export_platform_model.rb'
69
+ autoload :ExportStatusModel, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/export_status_model.rb'
70
+ autoload :ExportFlavorModel, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/export_flavor_model.rb'
71
+ autoload :TagType, '2.2/generated/azure_cognitiveservices_customvisiontraining/models/tag_type.rb'
72
+ end
73
+ end