-
Notifications
You must be signed in to change notification settings - Fork 2
/
swagger.yaml
906 lines (892 loc) · 31.6 KB
/
swagger.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
swagger: '2.0'
info:
version: '3.4'
description: |-
REST API that provides a requirements classifier. The classifier is based on a Naive Bayes implemented using Apache Mahout (https://mahout.apache.org/)
This service implements two different classifiers:
**· Multiclass classifier:** given a property P for the requirement_type property which identifies a model, the multiclass classifier builds a multiclass model for each possible value {V} of the property P in the dataset. Each requirement is related to a single value V.
**· Multilabel classifier:** given the domain of property values {V}, the multilabel classifier is used for properties that can have more than one value V for each item.
**DATASET REQUIREMENTS**
In order to guarantee a minimum accuracy in the classification process, this classifier requires a minimum number of requirements per each tag(i.e., per each requirement-type value). Based on an analytical evaluation with real datasets, this value can be estimated with the following formula:
**|reqs-per-tag|** = (N - 1) x 40,
where N = nº of tags (i.e., classes or requirement types) in the dataset.
*Note: this analytical evaluation has been tested with values N=2,3,4 and a minim accuracy=75%*
title: Requirement Classifier API
host: api.openreq.eu
basePath: /requirements-classifier
tags:
- name: binary-classification-controller
description: Binary Classification Controller
- name: multilabel-classification-controller
description: Multilabel Classification Controller
paths:
/upc/classifier-component/classify:
post:
tags:
- binary-classification-controller
summary: Classify a list of requirements
description: 'Given a list of requirements, and using the model stored for the requested company, the requirements are classified and a recommended label is returned for each requirement (with a level of confidence)'
operationId: classifyUsingPOST
consumes:
- application/json
produces:
- application/json
parameters:
- name: company
in: query
description: Proprietary company of the model
required: true
type: string
allowEmptyValue: false
- name: context
in: query
description: 'Whether to apply contextual information analysis or not. If positive, contextual information (i.e. requirements'' position order and hierarchical structure) is used to apply the same tag during the classification process to all members belonging to a same document list structure.'
required: false
type: boolean
default: false
allowEmptyValue: false
x-example: false
- name: property
in: query
description: Property of the classifier (i.e. property value of the *requirement_type* field)
required: true
type: string
allowEmptyValue: false
- in: body
name: request
description: Request with the requirements to classify
required: true
schema:
$ref: '#/definitions/Classify_requirements_list'
responses:
'200':
description: OK
schema:
$ref: '#/definitions/RecommendationList'
'201':
description: Created
'401':
description: Unauthorized
'403':
description: Forbidden
'404':
description: Not Found
deprecated: false
/upc/classifier-component/model:
post:
tags:
- binary-classification-controller
summary: Create a model
description: "Given a list of requirements, and a specific company and property, a new model is generated and stored in the database. Each model is identified by a company and a property. Therefore, there is only one model per property and company.\n\nThis method is executed in an asynchronous way. As a response you will get an object with a single attribute id (check swagger response below) when the training has started. Once the execution is finished, you will get a response to the endpoint set in the *url* parameter. The format of the response is as follows: \n\n{\n\t\"message\":\"Response message\",\n\t\"id\": \"1562315038067_409\",\n\t\"code\": 200\n}\n\nThe 'id' field can be used to match the synchronous response of the request with the asynchronous response of the response. The 'code' field states the HTTP code of the request."
operationId: trainUsingPOST
consumes:
- application/json
produces:
- '*/*'
parameters:
- name: company
in: query
description: Proprietary company of the model
required: true
type: string
allowEmptyValue: false
x-example: UPC
- name: property
in: query
description: Property of the classifier (i.e. property value of the *requirement_type* field)
required: true
type: string
allowEmptyValue: false
x-example: requirement
- in: body
name: request
description: Request with the requirements to train the model
required: true
schema:
$ref: '#/definitions/Requirements_list'
- name: url
in: query
description: The endpoint where the result of the operation will be returned
required: false
type: string
allowEmptyValue: false
responses:
'200':
description: OK
schema:
$ref: '#/definitions/ResultId'
'201':
description: Created
'401':
description: Unauthorized
'403':
description: Forbidden
'404':
description: Not Found
deprecated: false
put:
tags:
- binary-classification-controller
summary: Update a model
description: 'Given a list of requirements, updates the model of the classifier for the given company'
operationId: updateUsingPUT
consumes:
- application/json
produces:
- '*/*'
parameters:
- name: company
in: query
description: Proprietary company of the model
required: true
type: string
allowEmptyValue: false
x-example: UPC
- name: property
in: query
description: Property of the classifier (i.e. property value of the *requirement_type* field)
required: true
type: string
allowEmptyValue: false
x-example: requirement
- in: body
name: request
description: Request with the requirements to train and update the model
required: true
schema:
$ref: '#/definitions/Requirements_list'
responses:
'200':
description: OK
schema:
type: string
'201':
description: Created
'401':
description: Unauthorized
'403':
description: Forbidden
'404':
description: Not Found
deprecated: false
delete:
tags:
- binary-classification-controller
summary: Delete a model
description: |-
Given a **company** and a **property**, deletes the associated stored model. Additionally this method allows some variations:
- If *property* = "ALL", removes all models of the given company.
- If *company* = "ALL", removes all models of all companies (used as safe drop database).
operationId: deleteModelUsingDELETE
produces:
- '*/*'
parameters:
- name: company
in: query
description: Proprietary company of the model
required: true
type: string
allowEmptyValue: false
x-example: UPC
- name: property
in: query
description: Property of the classifier (i.e. property value of the *requirement_type* field)
required: true
type: string
allowEmptyValue: false
x-example: requirement
responses:
'200':
description: Files deleted correctly
schema:
type: string
'204':
description: No Content
'401':
description: Unauthorized
'403':
description: Forbidden
'404':
description: Model(s) not found
schema:
type: string
deprecated: false
/upc/classifier-component/multiclassifier/classify:
post:
tags:
- multilabel-classification-controller
summary: Classify by domain
description: 'Given a list of requirements, a company name and a domain of the company, classifies the list of requirements using the domain model. The result is a list of recommendations based on the classification results.'
operationId: classifyUsingPOST_1
consumes:
- application/json
produces:
- '*/*'
parameters:
- name: Model list
in: query
description: 'List of property values to generate models (if empty, all values are generated)'
required: false
type: array
items:
type: string
collectionFormat: multi
allowEmptyValue: false
- name: company
in: query
description: The company to which the model belongs
required: true
type: string
allowEmptyValue: false
x-example: UPC
- name: context
in: query
description: 'Whether to apply contextual information analysis or not. If positive, contextual information (i.e. requirements'' position order and hierarchical structure) is used to apply the same tag during the classification process to all members belonging to a same document list structure.'
required: false
type: boolean
default: false
allowEmptyValue: false
x-example: false
- name: property
in: query
description: Property of the classifier
required: true
type: string
allowEmptyValue: false
x-example: requirement
- in: body
name: request
description: Request with the requirements to train
required: true
schema:
$ref: '#/definitions/Classify_requirements_list'
responses:
'200':
description: OK
schema:
$ref: '#/definitions/RecommendationList'
'201':
description: Created
'401':
description: Unauthorized
'403':
description: Forbidden
'404':
description: Not Found
deprecated: false
/upc/classifier-component/multiclassifier/model:
post:
tags:
- multilabel-classification-controller
summary: Create multiple models
description: "Given a list of requirements and a company name, multiple models are created based on the values of a given *property* which are set as a *requirementParts* field. Given a *requirementPart* object:\n\n- *id*: the *property* of the classifier (i.e. *reqDomains*)\n- *text*: a \\n separated list with the values of the *requirementPart* (i.e. the *property*)\n\nThis method results in a creation of a set of models, which are created as follows:\n\n- If *modelList* is neither null nor empty, a model is created per each value of *property* in *modelList*\n- Else if *modelList* is null or empty, a model is created per each possible value of *property* found in the dataset\n\n Each model is a sub-classifier evaluating whether a given requirement can be classified as a specific value of the *property* field.\n\nThis method is executed in an asynchronous way. As a response you will get an object with a single attribute id (check swagger response below) when the training has started. Once the execution is finished, you will get a response to the endpoint set in the *url* parameter. The format of the response is as follows: \n\n{\n\t\"message\":\"Response message\",\n\t\"id\": \"1562315038067_409\",\n\t\"code\": 200\n}\n\nThe 'id' field can be used to match the synchronous response of the request with the asynchronous response of the response. The 'code' field states the HTTP code of the request.\n\n**WARNING**: if no data is provided for a specific property value, no model will be created"
operationId: testUsingPOST
consumes:
- application/json
produces:
- '*/*'
parameters:
- name: company
in: query
description: The company to which the model belongs
required: true
type: string
allowEmptyValue: false
x-example: UPC
- name: modelList
in: query
description: 'List of property values to generate models (if empty, all values are generated)'
required: false
type: array
items:
type: string
collectionFormat: multi
allowEmptyValue: false
- name: property
in: query
description: Property of the classifier
required: true
type: string
allowEmptyValue: false
x-example: requirement
- in: body
name: request
description: Request with the requirements to train
required: true
schema:
$ref: '#/definitions/Multiclassify_requirements_list'
- name: url
in: query
description: The endpoint where the result of the operation will be returned
required: false
type: string
allowEmptyValue: false
responses:
'200':
description: OK
schema:
$ref: '#/definitions/ResultId'
'201':
description: Created
'401':
description: Unauthorized
'403':
description: Forbidden
'404':
description: Not Found
deprecated: false
put:
tags:
- multilabel-classification-controller
summary: Update multiple models
description: |-
Given a list of requirements and a company name, a multidimensional classifier (i.e. multiple models) is updated based on the values of a given *property* which are set as a *requirementParts* field. Given a *requirementPart* object:
- *id*: the *property* of the classifier (i.e. *reqDomains*)
- *text*: a \n separated list with the values of the *requirementPart* (i.e. the *property*)
This method results in the update of a set of models, which are created as follows:
- If *modelList* is neither null nor empty, a model is updated per each value of *property* in *modelList*
- Else if *modelList* is null or empty, a model is updated per each possible value of *property* found in the dataset
Each model is a sub-classifier evaluating whether a given requirement can be classified as a specific value of the *property* field.
operationId: updateUsingPUT_1
consumes:
- application/json
produces:
- '*/*'
parameters:
- name: Model list
in: query
description: 'List of property values to update models (if empty, all values are generated)'
required: false
type: array
items:
type: string
collectionFormat: multi
allowEmptyValue: false
- name: company
in: query
description: The company to which the model belongs
required: true
type: string
allowEmptyValue: false
x-example: UPC
- name: property
in: query
description: Property of the classifier
required: true
type: string
allowEmptyValue: false
x-example: requirement
- in: body
name: request
description: Request with the requirements to train
required: true
schema:
$ref: '#/definitions/Multiclassify_requirements_list'
responses:
'200':
description: OK
schema:
type: string
'201':
description: Created
'401':
description: Unauthorized
'403':
description: Forbidden
'404':
description: Not Found
deprecated: false
delete:
tags:
- multilabel-classification-controller
summary: Delete multiple models
description: |-
Given a **company** and a **property**, deletes the associated stored models for the given *property* as follows:
- If *modelList* is neither null nor empty, a model is deleted per each value of *property* in *modelList*
- Else if *modelList* is null or empty, all models of the given *property* are deleted
operationId: deleteUsingDELETE
produces:
- '*/*'
parameters:
- name: company
in: query
description: Proprietary company of the model
required: true
type: string
allowEmptyValue: false
x-example: UPC
- name: modelList
in: query
description: 'List of property values to generate models (if empty, all values are generated)'
required: false
type: array
items:
type: string
collectionFormat: multi
allowEmptyValue: false
- name: property
in: query
description: Property of the classifier (requirement_type)
required: true
type: string
allowEmptyValue: false
x-example: requirement
responses:
'200':
description: OK
schema:
type: string
'204':
description: No Content
'401':
description: Unauthorized
'403':
description: Forbidden
deprecated: false
'/upc/classifier-component/multiclassifier/model/{property}':
get:
tags:
- multilabel-classification-controller
summary: Get models from property
description: 'Given a **company** and a **property**, returns a list of all models created for that multi-label property. Notice that if no data was provided for a specific value, no model has been created.'
operationId: getMultilabelValuesUsingGET
produces:
- '*/*'
parameters:
- name: company
in: query
description: The company to which the model belongs
required: true
type: string
allowEmptyValue: false
x-example: UPC
- name: property
in: path
description: Property of the classifier
required: true
type: string
x-example: requirement
responses:
'200':
description: OK
schema:
type: array
items:
type: string
'401':
description: Unauthorized
'403':
description: Forbidden
'404':
description: Not Found
deprecated: false
/upc/classifier-component/multiclassifier/train&test:
post:
tags:
- multilabel-classification-controller
summary: Train and test by domain
description: |
Returns the result of a k cross-validation using the requirements received in the request and the model of the implicit *company* and *property* (send as parameters in the request). Splits the requirements in k groups, trains a classifier for each group with all of the requirements received except the ones in the group and tests it with the requirements in the group.
Returns the average of several statistics like the accuracy of the model
operationId: trainAndTestUsingPOST_1
consumes:
- application/json
produces:
- application/json
parameters:
- name: Model list
in: query
description: 'List of property values to generate models (if empty, all values are generated)'
required: false
type: array
items:
type: string
collectionFormat: multi
allowEmptyValue: false
- name: context
in: query
description: 'Whether to apply contextual information analysis or not. If positive, contextual information (i.e. requirements'' position order and hierarchical structure) is used to apply the same tag during the classification process to all members belonging to a same document list structure.'
required: false
type: boolean
default: false
allowEmptyValue: false
x-example: false
- name: k
in: query
description: Number of tests
required: true
type: integer
format: int32
allowEmptyValue: false
x-example: 10
- name: property
in: query
description: Property of the classifier
required: true
type: string
allowEmptyValue: false
x-example: requirement
- in: body
name: request
description: Request with the requirements to test
required: true
schema:
$ref: '#/definitions/Multiclassify_requirements_list'
responses:
'200':
description: OK
schema:
$ref: '#/definitions/Stats'
'201':
description: Created
'401':
description: Unauthorized
'403':
description: Forbidden
'404':
description: Not Found
deprecated: false
/upc/classifier-component/train&test:
post:
tags:
- binary-classification-controller
summary: Train and test
description: |
Returns the result of a k cross-validation using the requirements received in the request. Splits the requirements in k groups, trains a classifier for each group with all of the requirements received except the ones in the group and tests it with the requirements in the group.
Returns the average of several statistics like the accuracy of the model
operationId: trainAndTestUsingPOST
consumes:
- application/json
produces:
- application/json
parameters:
- name: context
in: query
description: 'Whether to apply contextual information analysis or not. If positive, contextual information (i.e. requirements'' position order and hierarchical structure) is used to apply the same tag during the classification process to all members belonging to a same document list structure.'
required: false
type: boolean
default: false
allowEmptyValue: false
x-example: false
- name: k
in: query
description: Number of tests
required: true
type: integer
format: int32
allowEmptyValue: false
- name: property
in: query
description: Property of the classifier (i.e. property value of the *requirement_type* field)
required: false
type: string
allowEmptyValue: false
- in: body
name: request
description: Request with the requirements to test
required: true
schema:
$ref: '#/definitions/Requirements_list'
responses:
'200':
description: OK
schema:
$ref: '#/definitions/Stats'
'201':
description: Created
'401':
description: Unauthorized
'403':
description: Forbidden
'404':
description: Not Found
deprecated: false
definitions:
Classify_Requirement:
type: object
properties:
documentPositionOrder:
type: integer
format: int32
description: 'The position of the Requirement as ascending number when Requirements are ordered and order has relevance, such as in a document file.'
id:
type: string
description: ID of the requirement
requirementParent:
type: string
description: The parent Requirement of the current Requirement for hierarchical structure in which the parent and child are tied together and cannot be understood without each other.
text:
type: string
description: Text with the requirement information
title: Classify Requirement
description: A project requirement
Classify_requirements_list:
type: object
properties:
requirements:
type: array
description: Requirements list
items:
$ref: '#/definitions/Classify_Requirement'
title: Classify requirements list
description: A project reqs list
ConfusionMatrixStats:
type: object
properties:
false_negatives:
type: integer
format: int32
description: False negatives
false_positives:
type: integer
format: int32
description: False positives
true_negatives:
type: integer
format: int32
description: True negatives
true_positives:
type: integer
format: int32
description: True positives
title: ConfusionMatrixStats
Multiclassify_Requirement:
type: object
properties:
documentPositionOrder:
type: integer
format: int32
description: 'The position of the Requirement as ascending number when Requirements are ordered and order has relevance, such as in a document file.'
id:
type: string
description: ID of the requirement
requirementParent:
type: string
description: The parent Requirement of the current Requirement for hierarchical structure in which the parent and child are tied together and cannot be understood without each other.
requirementParts:
type: array
description: Aggregation of RequirementParts out of which the requirement consists of. This aggregation provides a mechanism for specifying requirement fragments or additional information for the Requirement.
items:
$ref: '#/definitions/Requirement_Part'
text:
type: string
description: Text with the requirement information
title: Multiclassify Requirement
description: A project requirement
Multiclassify_requirements_list:
type: object
properties:
requirements:
type: array
description: Requirements list
items:
$ref: '#/definitions/Multiclassify_Requirement'
title: Multiclassify requirements list
description: A project reqs list
Recommendation:
type: object
properties:
confidence:
type: number
format: double
requirement:
type: string
requirement_type:
type: string
title: Recommendation
RecommendationList:
type: object
properties:
recommendations:
type: array
items:
$ref: '#/definitions/Recommendation'
title: RecommendationList
Requirement:
type: object
properties:
documentPositionOrder:
type: integer
format: int32
example: 24
description: 'The position of the Requirement as ascending number when Requirements are ordered and order has relevance, such as in a document file.'
id:
type: string
example: REQ002
description: ID of the requirement
requirementParent:
type: string
example: REQ001
description: The parent Requirement of the current Requirement for hierarchical structure in which the parent and child are tied together and cannot be understood without each other.
requirement_type:
type: string
example: requirement
description: Requirement type
text:
type: string
example: The system must be implemented using last Java version
description: Text with the requirement information
title: Requirement
description: A project requirement
Requirement_Part:
type: object
properties:
id:
type: string
example: domain
description: ID of the requirement part. Use your attribute property key for multi-label classification
text:
type: string
example: |-
Medical
Healthcare
Automotive
description: 'Content of a requirement part. Use the value of your property for multi-label classification. In case of multiple values, use a \n separated list'
title: Requirement Part
description: 'A part of which a Requirement is composed of (not a sub-requirement). RequirementParts are an extension mechanism for specifying additional information related to a Requirement. For example, RequirementPart can be used to include fragments of Requirement content or additional properties of Requirement.'
Requirements_list:
type: object
properties:
requirements:
type: array
description: Requirements list
items:
$ref: '#/definitions/Requirement'
title: Requirements list
description: A project reqs list
ResponseEntity:
type: object
properties:
body:
type: object
statusCode:
type: string
enum:
- '100'
- '101'
- '102'
- '103'
- '200'
- '201'
- '202'
- '203'
- '204'
- '205'
- '206'
- '207'
- '208'
- '226'
- '300'
- '301'
- '302'
- '303'
- '304'
- '305'
- '307'
- '308'
- '400'
- '401'
- '402'
- '403'
- '404'
- '405'
- '406'
- '407'
- '408'
- '409'
- '410'
- '411'
- '412'
- '413'
- '414'
- '415'
- '416'
- '417'
- '418'
- '419'
- '420'
- '421'
- '422'
- '423'
- '424'
- '426'
- '428'
- '429'
- '431'
- '451'
- '500'
- '501'
- '502'
- '503'
- '504'
- '505'
- '506'
- '507'
- '508'
- '509'
- '510'
- '511'
statusCodeValue:
type: integer
format: int32
title: ResponseEntity
ResultId:
type: object
properties:
id:
type: string
title: ResultId
Stats:
type: object
properties:
accuracy:
type: number
format: double
description: Accuracy
confusion_matrix:
type: object
description: Confusion matrix
additionalProperties:
$ref: '#/definitions/ConfusionMatrixStats'
false_negatives:
type: integer
format: int32
description: False negatives
false_positives:
type: integer
format: int32
description: False positives
kappa:
type: number
format: double
description: Kappa
reliability:
type: number
format: double
description: Reliability
reliability_std_deviation:
type: number
format: double
description: Reliability standard deviation
true_negatives:
type: integer
format: int32
description: True negatives
true_positives:
type: integer
format: int32
description: True positives
weighted_f1_score:
type: number
format: double
description: Weighted F1 score
weighted_precision:
type: number
format: double
description: Weighted precision
weighted_recall:
type: number
format: double
description: Weighted recall
title: Stats
description: Stats results of the classifier test