azure_cognitiveservices_customvisiontraining 0.17.1 → 0.17.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/customvisiontraining_client.rb +10 -10
  3. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/project.rb +1 -1
  4. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/customvisiontraining_client.rb +10 -10
  5. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/project.rb +1 -1
  6. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/customvisiontraining_client.rb +10 -10
  7. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/project.rb +1 -1
  8. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining.rb +76 -0
  9. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/customvisiontraining_client.rb +4707 -0
  10. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/bounding_box.rb +79 -0
  11. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/classifier.rb +16 -0
  12. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/custom_vision_error.rb +127 -0
  13. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/custom_vision_error_codes.rb +127 -0
  14. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/domain.rb +97 -0
  15. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/domain_type.rb +16 -0
  16. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/export.rb +100 -0
  17. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/export_flavor.rb +19 -0
  18. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/export_platform.rb +19 -0
  19. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/export_status.rb +17 -0
  20. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image.rb +161 -0
  21. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_create_result.rb +77 -0
  22. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_create_status.rb +25 -0
  23. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_create_summary.rb +70 -0
  24. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_file_create_batch.rb +75 -0
  25. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_file_create_entry.rb +97 -0
  26. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_id_create_batch.rb +75 -0
  27. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_id_create_entry.rb +86 -0
  28. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_performance.rb +170 -0
  29. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_prediction.rb +104 -0
  30. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_region.rb +127 -0
  31. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_region_create_batch.rb +55 -0
  32. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_region_create_entry.rb +101 -0
  33. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_region_create_result.rb +139 -0
  34. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_region_create_summary.rb +96 -0
  35. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_region_proposal.rb +81 -0
  36. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_tag.rb +72 -0
  37. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_tag_create_batch.rb +56 -0
  38. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_tag_create_entry.rb +57 -0
  39. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_tag_create_summary.rb +96 -0
  40. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_url.rb +46 -0
  41. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_url_create_batch.rb +75 -0
  42. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_url_create_entry.rb +86 -0
  43. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/iteration.rb +228 -0
  44. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/iteration_performance.rb +117 -0
  45. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/order_by.rb +17 -0
  46. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/prediction.rb +84 -0
  47. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/prediction_query_result.rb +70 -0
  48. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/prediction_query_tag.rb +72 -0
  49. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/prediction_query_token.rb +145 -0
  50. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/project.rb +129 -0
  51. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/project_settings.rb +78 -0
  52. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/region.rb +91 -0
  53. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/region_proposal.rb +61 -0
  54. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/stored_image_prediction.rb +153 -0
  55. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/tag.rb +93 -0
  56. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/tag_performance.rb +119 -0
  57. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/tag_type.rb +16 -0
  58. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/training_type.rb +16 -0
  59. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/module_definition.rb +9 -0
  60. data/lib/azure_cognitiveservices_customvisiontraining.rb +1 -0
  61. data/lib/profiles/latest/modules/customvisiontraining_profile_module.rb +128 -116
  62. data/lib/version.rb +1 -1
  63. metadata +54 -2
@@ -0,0 +1,78 @@
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::V3_0
7
+ module Models
8
+ #
9
+ # Represents settings associated with a project.
10
+ #
11
+ class ProjectSettings
12
+
13
+ include MsRestAzure
14
+
15
+ # @return Gets or sets the id of the Domain to use with this project.
16
+ attr_accessor :domain_id
17
+
18
+ # @return [Classifier] Gets or sets the classification type of the
19
+ # project. Possible values include: 'Multiclass', 'Multilabel'
20
+ attr_accessor :classification_type
21
+
22
+ # @return [Array<Enum>] A list of ExportPlatform that the trained model
23
+ # should be able to support.
24
+ attr_accessor :target_export_platforms
25
+
26
+
27
+ #
28
+ # Mapper for ProjectSettings class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'ProjectSettings',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'ProjectSettings',
39
+ model_properties: {
40
+ domain_id: {
41
+ client_side_validation: true,
42
+ required: false,
43
+ serialized_name: 'domainId',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ classification_type: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ serialized_name: 'classificationType',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ target_export_platforms: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ serialized_name: 'targetExportPlatforms',
60
+ type: {
61
+ name: 'Sequence',
62
+ element: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ serialized_name: 'enumElementType',
66
+ type: {
67
+ name: 'String'
68
+ }
69
+ }
70
+ }
71
+ }
72
+ }
73
+ }
74
+ }
75
+ end
76
+ end
77
+ end
78
+ end
@@ -0,0 +1,91 @@
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::V3_0
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class Region
13
+
14
+ include MsRestAzure
15
+
16
+ # @return Id of the tag associated with this region.
17
+ attr_accessor :tag_id
18
+
19
+ # @return [Float] Coordinate of the left boundary.
20
+ attr_accessor :left
21
+
22
+ # @return [Float] Coordinate of the top boundary.
23
+ attr_accessor :top
24
+
25
+ # @return [Float] Width.
26
+ attr_accessor :width
27
+
28
+ # @return [Float] Height.
29
+ attr_accessor :height
30
+
31
+
32
+ #
33
+ # Mapper for Region class as Ruby Hash.
34
+ # This will be used for serialization/deserialization.
35
+ #
36
+ def self.mapper()
37
+ {
38
+ client_side_validation: true,
39
+ required: false,
40
+ serialized_name: 'Region',
41
+ type: {
42
+ name: 'Composite',
43
+ class_name: 'Region',
44
+ model_properties: {
45
+ tag_id: {
46
+ client_side_validation: true,
47
+ required: true,
48
+ serialized_name: 'tagId',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ left: {
54
+ client_side_validation: true,
55
+ required: true,
56
+ serialized_name: 'left',
57
+ type: {
58
+ name: 'Double'
59
+ }
60
+ },
61
+ top: {
62
+ client_side_validation: true,
63
+ required: true,
64
+ serialized_name: 'top',
65
+ type: {
66
+ name: 'Double'
67
+ }
68
+ },
69
+ width: {
70
+ client_side_validation: true,
71
+ required: true,
72
+ serialized_name: 'width',
73
+ type: {
74
+ name: 'Double'
75
+ }
76
+ },
77
+ height: {
78
+ client_side_validation: true,
79
+ required: true,
80
+ serialized_name: 'height',
81
+ type: {
82
+ name: 'Double'
83
+ }
84
+ }
85
+ }
86
+ }
87
+ }
88
+ end
89
+ end
90
+ end
91
+ end
@@ -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::V3_0
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,153 @@
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::V3_0
7
+ module Models
8
+ #
9
+ # result of an image classification request.
10
+ #
11
+ class StoredImagePrediction
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The URI to the (resized) prediction image.
16
+ attr_accessor :resized_image_uri
17
+
18
+ # @return [String] The URI to the thumbnail of the original prediction
19
+ # image.
20
+ attr_accessor :thumbnail_uri
21
+
22
+ # @return [String] The URI to the original prediction image.
23
+ attr_accessor :original_image_uri
24
+
25
+ # @return Domain used for the prediction.
26
+ attr_accessor :domain
27
+
28
+ # @return Prediction Id.
29
+ attr_accessor :id
30
+
31
+ # @return Project Id.
32
+ attr_accessor :project
33
+
34
+ # @return Iteration Id.
35
+ attr_accessor :iteration
36
+
37
+ # @return [DateTime] Date this prediction was created.
38
+ attr_accessor :created
39
+
40
+ # @return [Array<Prediction>] List of predictions.
41
+ attr_accessor :predictions
42
+
43
+
44
+ #
45
+ # Mapper for StoredImagePrediction class as Ruby Hash.
46
+ # This will be used for serialization/deserialization.
47
+ #
48
+ def self.mapper()
49
+ {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'StoredImagePrediction',
53
+ type: {
54
+ name: 'Composite',
55
+ class_name: 'StoredImagePrediction',
56
+ model_properties: {
57
+ resized_image_uri: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ read_only: true,
61
+ serialized_name: 'resizedImageUri',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ thumbnail_uri: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ read_only: true,
70
+ serialized_name: 'thumbnailUri',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ },
75
+ original_image_uri: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ read_only: true,
79
+ serialized_name: 'originalImageUri',
80
+ type: {
81
+ name: 'String'
82
+ }
83
+ },
84
+ domain: {
85
+ client_side_validation: true,
86
+ required: false,
87
+ read_only: true,
88
+ serialized_name: 'domain',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ },
93
+ id: {
94
+ client_side_validation: true,
95
+ required: false,
96
+ read_only: true,
97
+ serialized_name: 'id',
98
+ type: {
99
+ name: 'String'
100
+ }
101
+ },
102
+ project: {
103
+ client_side_validation: true,
104
+ required: false,
105
+ read_only: true,
106
+ serialized_name: 'project',
107
+ type: {
108
+ name: 'String'
109
+ }
110
+ },
111
+ iteration: {
112
+ client_side_validation: true,
113
+ required: false,
114
+ read_only: true,
115
+ serialized_name: 'iteration',
116
+ type: {
117
+ name: 'String'
118
+ }
119
+ },
120
+ created: {
121
+ client_side_validation: true,
122
+ required: false,
123
+ read_only: true,
124
+ serialized_name: 'created',
125
+ type: {
126
+ name: 'DateTime'
127
+ }
128
+ },
129
+ predictions: {
130
+ client_side_validation: true,
131
+ required: false,
132
+ read_only: true,
133
+ serialized_name: 'predictions',
134
+ type: {
135
+ name: 'Sequence',
136
+ element: {
137
+ client_side_validation: true,
138
+ required: false,
139
+ serialized_name: 'PredictionElementType',
140
+ type: {
141
+ name: 'Composite',
142
+ class_name: 'Prediction'
143
+ }
144
+ }
145
+ }
146
+ }
147
+ }
148
+ }
149
+ }
150
+ end
151
+ end
152
+ end
153
+ end
@@ -0,0 +1,93 @@
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::V3_0
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 [TagType] Gets or sets the type of the tag. Possible values
25
+ # include: 'Regular', 'Negative'
26
+ attr_accessor :type
27
+
28
+ # @return [Integer] Gets the number of images with this tag.
29
+ attr_accessor :image_count
30
+
31
+
32
+ #
33
+ # Mapper for Tag class as Ruby Hash.
34
+ # This will be used for serialization/deserialization.
35
+ #
36
+ def self.mapper()
37
+ {
38
+ client_side_validation: true,
39
+ required: false,
40
+ serialized_name: 'Tag',
41
+ type: {
42
+ name: 'Composite',
43
+ class_name: 'Tag',
44
+ model_properties: {
45
+ id: {
46
+ client_side_validation: true,
47
+ required: false,
48
+ read_only: true,
49
+ serialized_name: 'id',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ name: {
55
+ client_side_validation: true,
56
+ required: true,
57
+ serialized_name: 'name',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ description: {
63
+ client_side_validation: true,
64
+ required: true,
65
+ serialized_name: 'description',
66
+ type: {
67
+ name: 'String'
68
+ }
69
+ },
70
+ type: {
71
+ client_side_validation: true,
72
+ required: true,
73
+ serialized_name: 'type',
74
+ type: {
75
+ name: 'String'
76
+ }
77
+ },
78
+ image_count: {
79
+ client_side_validation: true,
80
+ required: false,
81
+ read_only: true,
82
+ serialized_name: 'imageCount',
83
+ type: {
84
+ name: 'Number'
85
+ }
86
+ }
87
+ }
88
+ }
89
+ }
90
+ end
91
+ end
92
+ end
93
+ end