@openmle/omle.js 0.1.0-rc4 → 0.1.0-rc6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2377 @@
1
+ // Generated by scripts/gen_proto_descriptor.mjs — DO NOT EDIT.
2
+ //
3
+ // The omle.proto schema as a protobufjs JSON descriptor. Regenerate with:
4
+ // npm run gen:proto:local (from a sibling omle checkout)
5
+ // npm run gen:proto (clones openmle/omle@main)
6
+ export const protoDescriptor = {
7
+ "nested": {
8
+ "omle": {
9
+ "nested": {
10
+ "OMLEModel": {
11
+ "fields": {
12
+ "metadata": {
13
+ "type": "ModelMetadata",
14
+ "id": 1
15
+ },
16
+ "operator_imports": {
17
+ "rule": "repeated",
18
+ "type": "NamespaceImport",
19
+ "id": 2
20
+ },
21
+ "function_imports": {
22
+ "rule": "repeated",
23
+ "type": "NamespaceImport",
24
+ "id": 3
25
+ },
26
+ "inputs": {
27
+ "rule": "repeated",
28
+ "type": "InputSpec",
29
+ "id": 4
30
+ },
31
+ "outputs": {
32
+ "rule": "repeated",
33
+ "type": "OutputSpec",
34
+ "id": 5
35
+ },
36
+ "model_schema": {
37
+ "type": "ModelSchema",
38
+ "id": 6
39
+ },
40
+ "nodes": {
41
+ "rule": "repeated",
42
+ "type": "Node",
43
+ "id": 7
44
+ },
45
+ "verification": {
46
+ "type": "ModelVerification",
47
+ "id": 8
48
+ },
49
+ "warmup": {
50
+ "type": "RuntimeWarmup",
51
+ "id": 9
52
+ },
53
+ "sample_inputs": {
54
+ "type": "SampleInputSet",
55
+ "id": 10
56
+ },
57
+ "tensor_entries": {
58
+ "rule": "repeated",
59
+ "type": "TensorEntry",
60
+ "id": 20
61
+ },
62
+ "functions": {
63
+ "rule": "repeated",
64
+ "type": "DefineFunction",
65
+ "id": 30
66
+ }
67
+ }
68
+ },
69
+ "SourceFramework": {
70
+ "fields": {
71
+ "name": {
72
+ "type": "string",
73
+ "id": 1
74
+ },
75
+ "version": {
76
+ "type": "string",
77
+ "id": 2
78
+ },
79
+ "role": {
80
+ "type": "string",
81
+ "id": 3
82
+ }
83
+ }
84
+ },
85
+ "ModelMetadata": {
86
+ "fields": {
87
+ "format_version": {
88
+ "type": "string",
89
+ "id": 1
90
+ },
91
+ "name": {
92
+ "type": "string",
93
+ "id": 2
94
+ },
95
+ "version": {
96
+ "type": "string",
97
+ "id": 3
98
+ },
99
+ "timestamp": {
100
+ "type": "string",
101
+ "id": 4
102
+ },
103
+ "producer": {
104
+ "type": "string",
105
+ "id": 5
106
+ },
107
+ "producer_version": {
108
+ "type": "string",
109
+ "id": 6
110
+ },
111
+ "source_frameworks": {
112
+ "rule": "repeated",
113
+ "type": "SourceFramework",
114
+ "id": 7
115
+ },
116
+ "doc_string": {
117
+ "type": "string",
118
+ "id": 8
119
+ },
120
+ "copyright": {
121
+ "type": "string",
122
+ "id": 9
123
+ },
124
+ "attributes": {
125
+ "keyType": "string",
126
+ "type": "string",
127
+ "id": 20
128
+ }
129
+ }
130
+ },
131
+ "NamespaceImport": {
132
+ "fields": {
133
+ "namespace": {
134
+ "type": "string",
135
+ "id": 1
136
+ },
137
+ "version": {
138
+ "type": "string",
139
+ "id": 2
140
+ }
141
+ }
142
+ },
143
+ "DataType": {
144
+ "values": {
145
+ "DATA_TYPE_UNSPECIFIED": 0,
146
+ "BOOL": 1,
147
+ "INT8": 2,
148
+ "INT16": 3,
149
+ "INT32": 4,
150
+ "INT64": 5,
151
+ "UINT8": 6,
152
+ "UINT16": 7,
153
+ "UINT32": 8,
154
+ "UINT64": 9,
155
+ "FLOAT16": 10,
156
+ "FLOAT32": 11,
157
+ "FLOAT64": 12,
158
+ "STRING": 13,
159
+ "BYTES": 14,
160
+ "DATE": 15,
161
+ "TIME": 16,
162
+ "TIMESTAMP": 17
163
+ }
164
+ },
165
+ "MeasureLevel": {
166
+ "values": {
167
+ "MEASURE_LEVEL_UNSPECIFIED": 0,
168
+ "CONTINUOUS": 1,
169
+ "NOMINAL": 2,
170
+ "ORDINAL": 3,
171
+ "FLAG": 4
172
+ }
173
+ },
174
+ "TaskType": {
175
+ "values": {
176
+ "TASK_TYPE_UNSPECIFIED": 0,
177
+ "REGRESSION": 1,
178
+ "BINARY": 2,
179
+ "MULTICLASS": 3,
180
+ "CLUSTERING": 4,
181
+ "ANOMALY_DETECTION": 5
182
+ }
183
+ },
184
+ "OutputRole": {
185
+ "values": {
186
+ "OUTPUT_ROLE_UNSPECIFIED": 0,
187
+ "PREDICTION": 1,
188
+ "PROBABILITY": 2,
189
+ "SCORE": 3,
190
+ "CONFIDENCE": 4,
191
+ "STANDARD_ERROR": 5,
192
+ "STANDARD_DEVIATION": 6,
193
+ "RESIDUAL": 7,
194
+ "TRANSFORMED_VALUE": 8,
195
+ "ENTITY_ID": 9,
196
+ "AFFINITY": 10,
197
+ "CONTRIBUTION": 11,
198
+ "INTERMEDIATE": 12
199
+ }
200
+ },
201
+ "Scalar": {
202
+ "oneofs": {
203
+ "value": {
204
+ "oneof": [
205
+ "bool_value",
206
+ "int_value",
207
+ "float_value",
208
+ "double_value",
209
+ "string_value"
210
+ ]
211
+ }
212
+ },
213
+ "fields": {
214
+ "bool_value": {
215
+ "type": "bool",
216
+ "id": 1
217
+ },
218
+ "int_value": {
219
+ "type": "int64",
220
+ "id": 2
221
+ },
222
+ "float_value": {
223
+ "type": "float",
224
+ "id": 3
225
+ },
226
+ "double_value": {
227
+ "type": "double",
228
+ "id": 4
229
+ },
230
+ "string_value": {
231
+ "type": "string",
232
+ "id": 5
233
+ }
234
+ }
235
+ },
236
+ "InputSpec": {
237
+ "fields": {
238
+ "name": {
239
+ "type": "string",
240
+ "id": 1
241
+ },
242
+ "type": {
243
+ "type": "TensorType",
244
+ "id": 2
245
+ },
246
+ "description": {
247
+ "type": "string",
248
+ "id": 3
249
+ },
250
+ "attributes": {
251
+ "keyType": "string",
252
+ "type": "string",
253
+ "id": 20
254
+ }
255
+ }
256
+ },
257
+ "OutputSpec": {
258
+ "fields": {
259
+ "name": {
260
+ "type": "string",
261
+ "id": 1
262
+ },
263
+ "type": {
264
+ "type": "TensorType",
265
+ "id": 2
266
+ },
267
+ "role": {
268
+ "type": "OutputRole",
269
+ "id": 3
270
+ },
271
+ "binding": {
272
+ "type": "OutputBinding",
273
+ "id": 4
274
+ },
275
+ "description": {
276
+ "type": "string",
277
+ "id": 5
278
+ },
279
+ "field_names": {
280
+ "rule": "repeated",
281
+ "type": "string",
282
+ "id": 6
283
+ },
284
+ "attributes": {
285
+ "keyType": "string",
286
+ "type": "string",
287
+ "id": 20
288
+ }
289
+ }
290
+ },
291
+ "OutputBinding": {
292
+ "fields": {
293
+ "target_name": {
294
+ "type": "string",
295
+ "id": 1
296
+ },
297
+ "values": {
298
+ "rule": "repeated",
299
+ "type": "Scalar",
300
+ "id": 2
301
+ },
302
+ "segment_id": {
303
+ "type": "string",
304
+ "id": 3
305
+ },
306
+ "rank": {
307
+ "type": "int32",
308
+ "id": 4
309
+ },
310
+ "attributes": {
311
+ "keyType": "string",
312
+ "type": "string",
313
+ "id": 20
314
+ }
315
+ }
316
+ },
317
+ "ModelSchema": {
318
+ "fields": {
319
+ "features": {
320
+ "rule": "repeated",
321
+ "type": "Feature",
322
+ "id": 1
323
+ },
324
+ "targets": {
325
+ "rule": "repeated",
326
+ "type": "Target",
327
+ "id": 2
328
+ }
329
+ }
330
+ },
331
+ "NameRange": {
332
+ "fields": {
333
+ "prefix": {
334
+ "type": "string",
335
+ "id": 1
336
+ },
337
+ "start": {
338
+ "type": "int32",
339
+ "id": 2
340
+ },
341
+ "end": {
342
+ "type": "int32",
343
+ "id": 3
344
+ },
345
+ "width": {
346
+ "type": "int32",
347
+ "id": 4
348
+ }
349
+ }
350
+ },
351
+ "Feature": {
352
+ "oneofs": {
353
+ "naming": {
354
+ "oneof": [
355
+ "name",
356
+ "range"
357
+ ]
358
+ }
359
+ },
360
+ "fields": {
361
+ "name": {
362
+ "type": "string",
363
+ "id": 1
364
+ },
365
+ "range": {
366
+ "type": "NameRange",
367
+ "id": 2
368
+ },
369
+ "description": {
370
+ "type": "string",
371
+ "id": 3
372
+ },
373
+ "type": {
374
+ "type": "TensorType",
375
+ "id": 4
376
+ },
377
+ "measure_level": {
378
+ "type": "MeasureLevel",
379
+ "id": 5
380
+ },
381
+ "source": {
382
+ "type": "string",
383
+ "id": 6
384
+ },
385
+ "index": {
386
+ "type": "int32",
387
+ "id": 7
388
+ },
389
+ "missing_value_policy": {
390
+ "type": "MissingValuePolicy",
391
+ "id": 8
392
+ },
393
+ "missing_replacement_value": {
394
+ "type": "Scalar",
395
+ "id": 9
396
+ },
397
+ "invalid_value_policy": {
398
+ "type": "InvalidValuePolicy",
399
+ "id": 10
400
+ },
401
+ "invalid_replacement_value": {
402
+ "type": "Scalar",
403
+ "id": 11
404
+ },
405
+ "outlier_value_policy": {
406
+ "type": "OutlierValuePolicy",
407
+ "id": 12
408
+ },
409
+ "domain": {
410
+ "type": "ValueDomain",
411
+ "id": 13
412
+ },
413
+ "attributes": {
414
+ "keyType": "string",
415
+ "type": "string",
416
+ "id": 20
417
+ }
418
+ },
419
+ "nested": {
420
+ "MissingValuePolicy": {
421
+ "values": {
422
+ "MISSING_PROPAGATE": 0,
423
+ "MISSING_AS_VALUE": 1,
424
+ "MISSING_AS_INVALID": 2
425
+ }
426
+ },
427
+ "InvalidValuePolicy": {
428
+ "values": {
429
+ "INVALID_RETURN_INVALID": 0,
430
+ "INVALID_AS_IS": 1,
431
+ "INVALID_AS_MISSING": 2,
432
+ "INVALID_AS_VALUE": 3
433
+ }
434
+ },
435
+ "OutlierValuePolicy": {
436
+ "values": {
437
+ "OUTLIER_AS_IS": 0,
438
+ "OUTLIER_AS_MISSING": 1,
439
+ "OUTLIER_AS_EXTREME": 2
440
+ }
441
+ }
442
+ }
443
+ },
444
+ "Target": {
445
+ "fields": {
446
+ "name": {
447
+ "type": "string",
448
+ "id": 1
449
+ },
450
+ "type": {
451
+ "type": "TensorType",
452
+ "id": 2
453
+ },
454
+ "kind": {
455
+ "type": "TargetKind",
456
+ "id": 3
457
+ },
458
+ "measure_level": {
459
+ "type": "MeasureLevel",
460
+ "id": 4
461
+ },
462
+ "class_labels": {
463
+ "rule": "repeated",
464
+ "type": "Scalar",
465
+ "id": 5
466
+ },
467
+ "description": {
468
+ "type": "string",
469
+ "id": 6
470
+ },
471
+ "attributes": {
472
+ "keyType": "string",
473
+ "type": "string",
474
+ "id": 20
475
+ }
476
+ },
477
+ "nested": {
478
+ "TargetKind": {
479
+ "values": {
480
+ "TARGET_KIND_UNSPECIFIED": 0,
481
+ "REGRESSION": 1,
482
+ "BINARY": 2,
483
+ "MULTICLASS": 3
484
+ }
485
+ }
486
+ }
487
+ },
488
+ "ValueDomain": {
489
+ "fields": {
490
+ "continuous": {
491
+ "type": "ContinuousDomain",
492
+ "id": 1
493
+ },
494
+ "discrete": {
495
+ "type": "DiscreteDomain",
496
+ "id": 2
497
+ }
498
+ }
499
+ },
500
+ "ContinuousDomain": {
501
+ "fields": {
502
+ "intervals": {
503
+ "rule": "repeated",
504
+ "type": "Interval",
505
+ "id": 1
506
+ }
507
+ }
508
+ },
509
+ "Interval": {
510
+ "fields": {
511
+ "left_margin": {
512
+ "type": "Scalar",
513
+ "id": 1
514
+ },
515
+ "right_margin": {
516
+ "type": "Scalar",
517
+ "id": 2
518
+ },
519
+ "closure": {
520
+ "type": "Closure",
521
+ "id": 3
522
+ }
523
+ },
524
+ "nested": {
525
+ "Closure": {
526
+ "values": {
527
+ "CLOSURE_UNSPECIFIED": 0,
528
+ "OPEN_OPEN": 1,
529
+ "OPEN_CLOSED": 2,
530
+ "CLOSED_OPEN": 3,
531
+ "CLOSED_CLOSED": 4
532
+ }
533
+ }
534
+ }
535
+ },
536
+ "DiscreteDomain": {
537
+ "fields": {
538
+ "values": {
539
+ "rule": "repeated",
540
+ "type": "DomainValue",
541
+ "id": 1
542
+ },
543
+ "ordered": {
544
+ "type": "bool",
545
+ "id": 2
546
+ }
547
+ }
548
+ },
549
+ "DomainValue": {
550
+ "fields": {
551
+ "value": {
552
+ "type": "Scalar",
553
+ "id": 1
554
+ },
555
+ "original_value": {
556
+ "type": "Scalar",
557
+ "id": 2
558
+ },
559
+ "display_name": {
560
+ "type": "string",
561
+ "id": 3
562
+ },
563
+ "property": {
564
+ "type": "ValueProperty",
565
+ "id": 4
566
+ }
567
+ },
568
+ "nested": {
569
+ "ValueProperty": {
570
+ "values": {
571
+ "VALID": 0,
572
+ "INVALID": 1,
573
+ "MISSING": 2
574
+ }
575
+ }
576
+ }
577
+ },
578
+ "TensorType": {
579
+ "fields": {
580
+ "dtype": {
581
+ "type": "DataType",
582
+ "id": 1
583
+ },
584
+ "shape": {
585
+ "rule": "repeated",
586
+ "type": "int64",
587
+ "id": 2
588
+ }
589
+ }
590
+ },
591
+ "Float32List": {
592
+ "fields": {
593
+ "values": {
594
+ "rule": "repeated",
595
+ "type": "float",
596
+ "id": 1
597
+ }
598
+ }
599
+ },
600
+ "Float64List": {
601
+ "fields": {
602
+ "values": {
603
+ "rule": "repeated",
604
+ "type": "double",
605
+ "id": 1
606
+ }
607
+ }
608
+ },
609
+ "Int32List": {
610
+ "fields": {
611
+ "values": {
612
+ "rule": "repeated",
613
+ "type": "int32",
614
+ "id": 1
615
+ }
616
+ }
617
+ },
618
+ "Int64List": {
619
+ "fields": {
620
+ "values": {
621
+ "rule": "repeated",
622
+ "type": "int64",
623
+ "id": 1
624
+ }
625
+ }
626
+ },
627
+ "StringList": {
628
+ "fields": {
629
+ "values": {
630
+ "rule": "repeated",
631
+ "type": "string",
632
+ "id": 1
633
+ }
634
+ }
635
+ },
636
+ "BoolList": {
637
+ "fields": {
638
+ "values": {
639
+ "rule": "repeated",
640
+ "type": "bool",
641
+ "id": 1
642
+ }
643
+ }
644
+ },
645
+ "BytesList": {
646
+ "fields": {
647
+ "values": {
648
+ "rule": "repeated",
649
+ "type": "bytes",
650
+ "id": 1
651
+ }
652
+ }
653
+ },
654
+ "Tensor": {
655
+ "oneofs": {
656
+ "data": {
657
+ "oneof": [
658
+ "raw_data",
659
+ "float32_data",
660
+ "float64_data",
661
+ "int32_data",
662
+ "int64_data",
663
+ "string_data",
664
+ "bytes_data",
665
+ "bool_data"
666
+ ]
667
+ }
668
+ },
669
+ "fields": {
670
+ "name": {
671
+ "type": "string",
672
+ "id": 1
673
+ },
674
+ "type": {
675
+ "type": "TensorType",
676
+ "id": 2
677
+ },
678
+ "raw_data": {
679
+ "type": "bytes",
680
+ "id": 3
681
+ },
682
+ "float32_data": {
683
+ "type": "Float32List",
684
+ "id": 4
685
+ },
686
+ "float64_data": {
687
+ "type": "Float64List",
688
+ "id": 5
689
+ },
690
+ "int32_data": {
691
+ "type": "Int32List",
692
+ "id": 6
693
+ },
694
+ "int64_data": {
695
+ "type": "Int64List",
696
+ "id": 7
697
+ },
698
+ "string_data": {
699
+ "type": "StringList",
700
+ "id": 8
701
+ },
702
+ "bytes_data": {
703
+ "type": "BytesList",
704
+ "id": 9
705
+ },
706
+ "bool_data": {
707
+ "type": "BoolList",
708
+ "id": 10
709
+ }
710
+ }
711
+ },
712
+ "SparseTensor": {
713
+ "fields": {
714
+ "name": {
715
+ "type": "string",
716
+ "id": 1
717
+ },
718
+ "type": {
719
+ "type": "TensorType",
720
+ "id": 2
721
+ },
722
+ "default_value": {
723
+ "type": "Scalar",
724
+ "id": 3
725
+ },
726
+ "csr": {
727
+ "type": "CSRMatrix",
728
+ "id": 10
729
+ }
730
+ }
731
+ },
732
+ "CSRMatrix": {
733
+ "oneofs": {
734
+ "data": {
735
+ "oneof": [
736
+ "raw_data",
737
+ "float32_data",
738
+ "float64_data",
739
+ "int32_data",
740
+ "int64_data",
741
+ "string_data"
742
+ ]
743
+ }
744
+ },
745
+ "fields": {
746
+ "indices": {
747
+ "rule": "repeated",
748
+ "type": "int64",
749
+ "id": 1
750
+ },
751
+ "indptr": {
752
+ "rule": "repeated",
753
+ "type": "int64",
754
+ "id": 2
755
+ },
756
+ "raw_data": {
757
+ "type": "bytes",
758
+ "id": 3
759
+ },
760
+ "float32_data": {
761
+ "type": "Float32List",
762
+ "id": 4
763
+ },
764
+ "float64_data": {
765
+ "type": "Float64List",
766
+ "id": 5
767
+ },
768
+ "int32_data": {
769
+ "type": "Int32List",
770
+ "id": 6
771
+ },
772
+ "int64_data": {
773
+ "type": "Int64List",
774
+ "id": 7
775
+ },
776
+ "string_data": {
777
+ "type": "StringList",
778
+ "id": 8
779
+ }
780
+ }
781
+ },
782
+ "TensorEntry": {
783
+ "oneofs": {
784
+ "value": {
785
+ "oneof": [
786
+ "dense",
787
+ "sparse"
788
+ ]
789
+ }
790
+ },
791
+ "fields": {
792
+ "id": {
793
+ "type": "string",
794
+ "id": 1
795
+ },
796
+ "dense": {
797
+ "type": "Tensor",
798
+ "id": 2
799
+ },
800
+ "sparse": {
801
+ "type": "SparseTensor",
802
+ "id": 3
803
+ },
804
+ "attributes": {
805
+ "keyType": "string",
806
+ "type": "string",
807
+ "id": 20
808
+ }
809
+ }
810
+ },
811
+ "TensorRef": {
812
+ "fields": {
813
+ "id": {
814
+ "type": "string",
815
+ "id": 1
816
+ }
817
+ }
818
+ },
819
+ "TensorValue": {
820
+ "oneofs": {
821
+ "value": {
822
+ "oneof": [
823
+ "tensor",
824
+ "sparse",
825
+ "tensor_ref"
826
+ ]
827
+ }
828
+ },
829
+ "fields": {
830
+ "tensor": {
831
+ "type": "Tensor",
832
+ "id": 1
833
+ },
834
+ "sparse": {
835
+ "type": "SparseTensor",
836
+ "id": 2
837
+ },
838
+ "tensor_ref": {
839
+ "type": "TensorRef",
840
+ "id": 3
841
+ }
842
+ }
843
+ },
844
+ "NameRef": {
845
+ "fields": {
846
+ "value": {
847
+ "type": "string",
848
+ "id": 1
849
+ },
850
+ "field": {
851
+ "type": "string",
852
+ "id": 2
853
+ }
854
+ }
855
+ },
856
+ "Expression": {
857
+ "oneofs": {
858
+ "kind": {
859
+ "oneof": [
860
+ "literal",
861
+ "ref",
862
+ "apply"
863
+ ]
864
+ }
865
+ },
866
+ "fields": {
867
+ "literal": {
868
+ "type": "Scalar",
869
+ "id": 1
870
+ },
871
+ "ref": {
872
+ "type": "NameRef",
873
+ "id": 2
874
+ },
875
+ "apply": {
876
+ "type": "Apply",
877
+ "id": 3
878
+ }
879
+ }
880
+ },
881
+ "Apply": {
882
+ "fields": {
883
+ "function": {
884
+ "type": "string",
885
+ "id": 1
886
+ },
887
+ "arguments": {
888
+ "rule": "repeated",
889
+ "type": "Expression",
890
+ "id": 2
891
+ }
892
+ }
893
+ },
894
+ "Predicate": {
895
+ "oneofs": {
896
+ "kind": {
897
+ "oneof": [
898
+ "true_predicate",
899
+ "false_predicate",
900
+ "simple",
901
+ "simple_set",
902
+ "compound"
903
+ ]
904
+ }
905
+ },
906
+ "fields": {
907
+ "true_predicate": {
908
+ "type": "TruePredicate",
909
+ "id": 1
910
+ },
911
+ "false_predicate": {
912
+ "type": "FalsePredicate",
913
+ "id": 2
914
+ },
915
+ "simple": {
916
+ "type": "SimplePredicate",
917
+ "id": 3
918
+ },
919
+ "simple_set": {
920
+ "type": "SimpleSetPredicate",
921
+ "id": 4
922
+ },
923
+ "compound": {
924
+ "type": "CompoundPredicate",
925
+ "id": 5
926
+ }
927
+ }
928
+ },
929
+ "TruePredicate": {
930
+ "fields": {}
931
+ },
932
+ "FalsePredicate": {
933
+ "fields": {}
934
+ },
935
+ "SimplePredicate": {
936
+ "fields": {
937
+ "column": {
938
+ "type": "NameRef",
939
+ "id": 1
940
+ },
941
+ "op": {
942
+ "type": "Operator",
943
+ "id": 2
944
+ },
945
+ "value": {
946
+ "type": "Scalar",
947
+ "id": 3
948
+ }
949
+ },
950
+ "nested": {
951
+ "Operator": {
952
+ "values": {
953
+ "OPERATOR_UNSPECIFIED": 0,
954
+ "LESS_THAN": 1,
955
+ "LESS_OR_EQUAL": 2,
956
+ "GREATER_THAN": 3,
957
+ "GREATER_OR_EQUAL": 4,
958
+ "EQUAL": 5,
959
+ "NOT_EQUAL": 6,
960
+ "IS_MISSING": 7,
961
+ "IS_NOT_MISSING": 8
962
+ }
963
+ }
964
+ }
965
+ },
966
+ "SimpleSetPredicate": {
967
+ "fields": {
968
+ "column": {
969
+ "type": "NameRef",
970
+ "id": 1
971
+ },
972
+ "op": {
973
+ "type": "Operator",
974
+ "id": 2
975
+ },
976
+ "values": {
977
+ "rule": "repeated",
978
+ "type": "Scalar",
979
+ "id": 3
980
+ }
981
+ },
982
+ "nested": {
983
+ "Operator": {
984
+ "values": {
985
+ "OPERATOR_UNSPECIFIED": 0,
986
+ "IN": 1,
987
+ "NOT_IN": 2
988
+ }
989
+ }
990
+ }
991
+ },
992
+ "CompoundPredicate": {
993
+ "fields": {
994
+ "op": {
995
+ "type": "BooleanOperator",
996
+ "id": 1
997
+ },
998
+ "predicates": {
999
+ "rule": "repeated",
1000
+ "type": "Predicate",
1001
+ "id": 2
1002
+ }
1003
+ },
1004
+ "nested": {
1005
+ "BooleanOperator": {
1006
+ "values": {
1007
+ "BOOLEAN_OPERATOR_UNSPECIFIED": 0,
1008
+ "AND": 1,
1009
+ "OR": 2,
1010
+ "XOR": 3,
1011
+ "SURROGATE": 4
1012
+ }
1013
+ }
1014
+ }
1015
+ },
1016
+ "DefineFunction": {
1017
+ "fields": {
1018
+ "name": {
1019
+ "type": "string",
1020
+ "id": 1
1021
+ },
1022
+ "doc_string": {
1023
+ "type": "string",
1024
+ "id": 2
1025
+ },
1026
+ "parameters": {
1027
+ "rule": "repeated",
1028
+ "type": "Parameter",
1029
+ "id": 3
1030
+ },
1031
+ "result_data_type": {
1032
+ "type": "DataType",
1033
+ "id": 4
1034
+ },
1035
+ "result_measure_level": {
1036
+ "type": "MeasureLevel",
1037
+ "id": 5
1038
+ },
1039
+ "body": {
1040
+ "type": "Expression",
1041
+ "id": 6
1042
+ },
1043
+ "attributes": {
1044
+ "keyType": "string",
1045
+ "type": "string",
1046
+ "id": 20
1047
+ }
1048
+ },
1049
+ "nested": {
1050
+ "Parameter": {
1051
+ "fields": {
1052
+ "name": {
1053
+ "type": "string",
1054
+ "id": 1
1055
+ },
1056
+ "data_type": {
1057
+ "type": "DataType",
1058
+ "id": 2
1059
+ },
1060
+ "measure_level": {
1061
+ "type": "MeasureLevel",
1062
+ "id": 3
1063
+ }
1064
+ }
1065
+ }
1066
+ }
1067
+ },
1068
+ "NodeInput": {
1069
+ "oneofs": {
1070
+ "ref": {
1071
+ "oneof": [
1072
+ "name",
1073
+ "range"
1074
+ ]
1075
+ }
1076
+ },
1077
+ "fields": {
1078
+ "name": {
1079
+ "type": "NameRef",
1080
+ "id": 1
1081
+ },
1082
+ "range": {
1083
+ "type": "NameRange",
1084
+ "id": 2
1085
+ }
1086
+ }
1087
+ },
1088
+ "NodeOutput": {
1089
+ "fields": {
1090
+ "name": {
1091
+ "type": "string",
1092
+ "id": 1
1093
+ },
1094
+ "type": {
1095
+ "type": "TensorType",
1096
+ "id": 2
1097
+ },
1098
+ "measure_level": {
1099
+ "type": "MeasureLevel",
1100
+ "id": 3
1101
+ },
1102
+ "domain": {
1103
+ "type": "ValueDomain",
1104
+ "id": 4
1105
+ },
1106
+ "description": {
1107
+ "type": "string",
1108
+ "id": 5
1109
+ },
1110
+ "role": {
1111
+ "type": "OutputRole",
1112
+ "id": 6
1113
+ },
1114
+ "binding": {
1115
+ "type": "OutputBinding",
1116
+ "id": 7
1117
+ },
1118
+ "field_names": {
1119
+ "rule": "repeated",
1120
+ "type": "string",
1121
+ "id": 8
1122
+ },
1123
+ "attributes": {
1124
+ "keyType": "string",
1125
+ "type": "string",
1126
+ "id": 20
1127
+ }
1128
+ }
1129
+ },
1130
+ "NameAlias": {
1131
+ "fields": {
1132
+ "from_name": {
1133
+ "type": "string",
1134
+ "id": 1
1135
+ },
1136
+ "to_name": {
1137
+ "type": "string",
1138
+ "id": 2
1139
+ }
1140
+ }
1141
+ },
1142
+ "CompositeNode": {
1143
+ "fields": {
1144
+ "input_aliases": {
1145
+ "rule": "repeated",
1146
+ "type": "NameAlias",
1147
+ "id": 1
1148
+ },
1149
+ "nodes": {
1150
+ "rule": "repeated",
1151
+ "type": "Node",
1152
+ "id": 2
1153
+ },
1154
+ "output_aliases": {
1155
+ "rule": "repeated",
1156
+ "type": "NameAlias",
1157
+ "id": 3
1158
+ }
1159
+ }
1160
+ },
1161
+ "Node": {
1162
+ "oneofs": {
1163
+ "body": {
1164
+ "oneof": [
1165
+ "composite",
1166
+ "tree",
1167
+ "tree_ensemble",
1168
+ "linear",
1169
+ "naive_bayes",
1170
+ "clustering",
1171
+ "svm",
1172
+ "neural_network",
1173
+ "anomaly_detection"
1174
+ ]
1175
+ }
1176
+ },
1177
+ "fields": {
1178
+ "name": {
1179
+ "type": "string",
1180
+ "id": 1
1181
+ },
1182
+ "domain": {
1183
+ "type": "string",
1184
+ "id": 2
1185
+ },
1186
+ "op": {
1187
+ "type": "string",
1188
+ "id": 3
1189
+ },
1190
+ "inputs": {
1191
+ "rule": "repeated",
1192
+ "type": "NodeInput",
1193
+ "id": 4
1194
+ },
1195
+ "outputs": {
1196
+ "rule": "repeated",
1197
+ "type": "NodeOutput",
1198
+ "id": 5
1199
+ },
1200
+ "attributes": {
1201
+ "rule": "repeated",
1202
+ "type": "Attribute",
1203
+ "id": 6
1204
+ },
1205
+ "composite": {
1206
+ "type": "CompositeNode",
1207
+ "id": 20
1208
+ },
1209
+ "tree": {
1210
+ "type": "Tree",
1211
+ "id": 30
1212
+ },
1213
+ "tree_ensemble": {
1214
+ "type": "TreeEnsemble",
1215
+ "id": 31
1216
+ },
1217
+ "linear": {
1218
+ "type": "Linear",
1219
+ "id": 32
1220
+ },
1221
+ "naive_bayes": {
1222
+ "type": "NaiveBayes",
1223
+ "id": 33
1224
+ },
1225
+ "clustering": {
1226
+ "type": "Clustering",
1227
+ "id": 34
1228
+ },
1229
+ "svm": {
1230
+ "type": "SVM",
1231
+ "id": 35
1232
+ },
1233
+ "neural_network": {
1234
+ "type": "NeuralNetwork",
1235
+ "id": 36
1236
+ },
1237
+ "anomaly_detection": {
1238
+ "type": "AnomalyDetection",
1239
+ "id": 37
1240
+ },
1241
+ "metadata": {
1242
+ "keyType": "string",
1243
+ "type": "string",
1244
+ "id": 100
1245
+ }
1246
+ }
1247
+ },
1248
+ "Attribute": {
1249
+ "oneofs": {
1250
+ "value": {
1251
+ "oneof": [
1252
+ "i",
1253
+ "f32",
1254
+ "f64",
1255
+ "s",
1256
+ "b",
1257
+ "ints",
1258
+ "float32s",
1259
+ "float64s",
1260
+ "strings",
1261
+ "bools",
1262
+ "tensor_ref",
1263
+ "tensor",
1264
+ "sparse",
1265
+ "type",
1266
+ "expr",
1267
+ "predicate"
1268
+ ]
1269
+ }
1270
+ },
1271
+ "fields": {
1272
+ "name": {
1273
+ "type": "string",
1274
+ "id": 1
1275
+ },
1276
+ "i": {
1277
+ "type": "int64",
1278
+ "id": 2
1279
+ },
1280
+ "f32": {
1281
+ "type": "float",
1282
+ "id": 3
1283
+ },
1284
+ "f64": {
1285
+ "type": "double",
1286
+ "id": 4
1287
+ },
1288
+ "s": {
1289
+ "type": "string",
1290
+ "id": 5
1291
+ },
1292
+ "b": {
1293
+ "type": "bool",
1294
+ "id": 6
1295
+ },
1296
+ "ints": {
1297
+ "type": "Int64List",
1298
+ "id": 7
1299
+ },
1300
+ "float32s": {
1301
+ "type": "Float32List",
1302
+ "id": 8
1303
+ },
1304
+ "float64s": {
1305
+ "type": "Float64List",
1306
+ "id": 9
1307
+ },
1308
+ "strings": {
1309
+ "type": "StringList",
1310
+ "id": 10
1311
+ },
1312
+ "bools": {
1313
+ "type": "BoolList",
1314
+ "id": 11
1315
+ },
1316
+ "tensor_ref": {
1317
+ "type": "TensorRef",
1318
+ "id": 12
1319
+ },
1320
+ "tensor": {
1321
+ "type": "Tensor",
1322
+ "id": 13
1323
+ },
1324
+ "sparse": {
1325
+ "type": "SparseTensor",
1326
+ "id": 14
1327
+ },
1328
+ "type": {
1329
+ "type": "TensorType",
1330
+ "id": 15
1331
+ },
1332
+ "expr": {
1333
+ "type": "Expression",
1334
+ "id": 16
1335
+ },
1336
+ "predicate": {
1337
+ "type": "Predicate",
1338
+ "id": 17
1339
+ }
1340
+ }
1341
+ },
1342
+ "PostTransform": {
1343
+ "values": {
1344
+ "POST_TRANSFORM_UNSPECIFIED": 0,
1345
+ "IDENTITY": 1,
1346
+ "SIGMOID": 2,
1347
+ "SIGMOID_BINARY": 3,
1348
+ "SOFTMAX": 4,
1349
+ "LOGIT": 5,
1350
+ "PROBIT": 6,
1351
+ "EXP": 7,
1352
+ "CLOGLOG": 8,
1353
+ "CAUCHIT": 9,
1354
+ "LOGLOG": 10
1355
+ }
1356
+ },
1357
+ "Tree": {
1358
+ "fields": {
1359
+ "task_type": {
1360
+ "type": "TaskType",
1361
+ "id": 1
1362
+ },
1363
+ "num_nodes": {
1364
+ "type": "int32",
1365
+ "id": 2
1366
+ },
1367
+ "node_kind": {
1368
+ "rule": "repeated",
1369
+ "type": "NodeKind",
1370
+ "id": 3
1371
+ },
1372
+ "split_feature": {
1373
+ "rule": "repeated",
1374
+ "type": "int32",
1375
+ "id": 10
1376
+ },
1377
+ "split_threshold": {
1378
+ "type": "TensorValue",
1379
+ "id": 11
1380
+ },
1381
+ "split_op": {
1382
+ "rule": "repeated",
1383
+ "type": "SplitOp",
1384
+ "id": 12
1385
+ },
1386
+ "category_set_offset": {
1387
+ "rule": "repeated",
1388
+ "type": "int32",
1389
+ "id": 20
1390
+ },
1391
+ "category_set_count": {
1392
+ "rule": "repeated",
1393
+ "type": "int32",
1394
+ "id": 21
1395
+ },
1396
+ "category_set": {
1397
+ "rule": "repeated",
1398
+ "type": "int32",
1399
+ "id": 22
1400
+ },
1401
+ "complex_predicates": {
1402
+ "rule": "repeated",
1403
+ "type": "ComplexPredicate",
1404
+ "id": 23
1405
+ },
1406
+ "children_index": {
1407
+ "rule": "repeated",
1408
+ "type": "int32",
1409
+ "id": 30
1410
+ },
1411
+ "children_offset": {
1412
+ "rule": "repeated",
1413
+ "type": "int32",
1414
+ "id": 31
1415
+ },
1416
+ "children_count": {
1417
+ "rule": "repeated",
1418
+ "type": "int32",
1419
+ "id": 32
1420
+ },
1421
+ "default_child": {
1422
+ "rule": "repeated",
1423
+ "type": "int32",
1424
+ "id": 33
1425
+ },
1426
+ "leaf_value": {
1427
+ "type": "TensorValue",
1428
+ "id": 40
1429
+ },
1430
+ "leaf_width": {
1431
+ "type": "int32",
1432
+ "id": 41
1433
+ },
1434
+ "leaf_vector": {
1435
+ "type": "TensorValue",
1436
+ "id": 42
1437
+ },
1438
+ "leaf_vector_index": {
1439
+ "rule": "repeated",
1440
+ "type": "int32",
1441
+ "id": 43
1442
+ }
1443
+ },
1444
+ "nested": {
1445
+ "NodeKind": {
1446
+ "values": {
1447
+ "NODE_KIND_UNSPECIFIED": 0,
1448
+ "LEAF": 1,
1449
+ "BRANCH": 2
1450
+ }
1451
+ },
1452
+ "SplitOp": {
1453
+ "values": {
1454
+ "SPLIT_OP_UNSPECIFIED": 0,
1455
+ "LESS_THAN": 1,
1456
+ "LESS_OR_EQUAL": 2,
1457
+ "GREATER_THAN": 3,
1458
+ "GREATER_OR_EQUAL": 4,
1459
+ "EQUAL": 5,
1460
+ "NOT_EQUAL": 6,
1461
+ "IN_SET": 7,
1462
+ "NOT_IN_SET": 8,
1463
+ "IS_MISSING": 9
1464
+ }
1465
+ },
1466
+ "ComplexPredicate": {
1467
+ "fields": {
1468
+ "node_index": {
1469
+ "type": "int32",
1470
+ "id": 1
1471
+ },
1472
+ "predicate": {
1473
+ "type": "Predicate",
1474
+ "id": 2
1475
+ }
1476
+ }
1477
+ }
1478
+ }
1479
+ },
1480
+ "TreeEnsemble": {
1481
+ "oneofs": {
1482
+ "_tree_weights": {
1483
+ "oneof": [
1484
+ "tree_weights"
1485
+ ]
1486
+ },
1487
+ "_base_scores": {
1488
+ "oneof": [
1489
+ "base_scores"
1490
+ ]
1491
+ }
1492
+ },
1493
+ "fields": {
1494
+ "task_type": {
1495
+ "type": "TaskType",
1496
+ "id": 1
1497
+ },
1498
+ "trees": {
1499
+ "rule": "repeated",
1500
+ "type": "Tree",
1501
+ "id": 2
1502
+ },
1503
+ "aggregation": {
1504
+ "type": "Aggregation",
1505
+ "id": 3
1506
+ },
1507
+ "tree_weights": {
1508
+ "type": "TensorValue",
1509
+ "id": 4,
1510
+ "options": {
1511
+ "proto3_optional": true
1512
+ }
1513
+ },
1514
+ "base_scores": {
1515
+ "type": "TensorValue",
1516
+ "id": 5,
1517
+ "options": {
1518
+ "proto3_optional": true
1519
+ }
1520
+ },
1521
+ "tree_group": {
1522
+ "rule": "repeated",
1523
+ "type": "int32",
1524
+ "id": 6
1525
+ },
1526
+ "post_transform": {
1527
+ "type": "PostTransform",
1528
+ "id": 10
1529
+ }
1530
+ },
1531
+ "nested": {
1532
+ "Aggregation": {
1533
+ "values": {
1534
+ "AGGREGATION_UNSPECIFIED": 0,
1535
+ "SUM": 1,
1536
+ "AVERAGE": 2,
1537
+ "WEIGHTED_SUM": 3,
1538
+ "WEIGHTED_AVERAGE": 4,
1539
+ "MAJORITY_VOTE": 5,
1540
+ "SOFT_VOTE": 6,
1541
+ "MIN": 7,
1542
+ "MAX": 8
1543
+ }
1544
+ }
1545
+ }
1546
+ },
1547
+ "Linear": {
1548
+ "oneofs": {
1549
+ "_intercept": {
1550
+ "oneof": [
1551
+ "intercept"
1552
+ ]
1553
+ },
1554
+ "_weight_covariances": {
1555
+ "oneof": [
1556
+ "weight_covariances"
1557
+ ]
1558
+ },
1559
+ "_noise_precision": {
1560
+ "oneof": [
1561
+ "noise_precision"
1562
+ ]
1563
+ }
1564
+ },
1565
+ "fields": {
1566
+ "task_type": {
1567
+ "type": "TaskType",
1568
+ "id": 1
1569
+ },
1570
+ "coefficients": {
1571
+ "type": "TensorValue",
1572
+ "id": 2
1573
+ },
1574
+ "intercept": {
1575
+ "type": "TensorValue",
1576
+ "id": 3,
1577
+ "options": {
1578
+ "proto3_optional": true
1579
+ }
1580
+ },
1581
+ "weight_covariances": {
1582
+ "type": "TensorValue",
1583
+ "id": 4,
1584
+ "options": {
1585
+ "proto3_optional": true
1586
+ }
1587
+ },
1588
+ "noise_precision": {
1589
+ "type": "TensorValue",
1590
+ "id": 5,
1591
+ "options": {
1592
+ "proto3_optional": true
1593
+ }
1594
+ },
1595
+ "post_transform": {
1596
+ "type": "PostTransform",
1597
+ "id": 10
1598
+ }
1599
+ }
1600
+ },
1601
+ "NaiveBayes": {
1602
+ "oneofs": {
1603
+ "implementation": {
1604
+ "oneof": [
1605
+ "gaussian",
1606
+ "multinomial",
1607
+ "bernoulli",
1608
+ "categorical"
1609
+ ]
1610
+ }
1611
+ },
1612
+ "fields": {
1613
+ "task_type": {
1614
+ "type": "TaskType",
1615
+ "id": 1
1616
+ },
1617
+ "class_log_priors": {
1618
+ "type": "TensorValue",
1619
+ "id": 2
1620
+ },
1621
+ "gaussian": {
1622
+ "type": "GaussianNaiveBayes",
1623
+ "id": 10
1624
+ },
1625
+ "multinomial": {
1626
+ "type": "MultinomialNaiveBayes",
1627
+ "id": 11
1628
+ },
1629
+ "bernoulli": {
1630
+ "type": "BernoulliNaiveBayes",
1631
+ "id": 12
1632
+ },
1633
+ "categorical": {
1634
+ "type": "CategoricalNaiveBayes",
1635
+ "id": 13
1636
+ }
1637
+ }
1638
+ },
1639
+ "GaussianNaiveBayes": {
1640
+ "oneofs": {
1641
+ "_variance_epsilon": {
1642
+ "oneof": [
1643
+ "variance_epsilon"
1644
+ ]
1645
+ }
1646
+ },
1647
+ "fields": {
1648
+ "means": {
1649
+ "type": "TensorValue",
1650
+ "id": 1
1651
+ },
1652
+ "variances": {
1653
+ "type": "TensorValue",
1654
+ "id": 2
1655
+ },
1656
+ "variance_epsilon": {
1657
+ "type": "Scalar",
1658
+ "id": 3,
1659
+ "options": {
1660
+ "proto3_optional": true
1661
+ }
1662
+ }
1663
+ }
1664
+ },
1665
+ "MultinomialNaiveBayes": {
1666
+ "fields": {
1667
+ "feature_log_prob": {
1668
+ "type": "TensorValue",
1669
+ "id": 1
1670
+ }
1671
+ }
1672
+ },
1673
+ "BernoulliNaiveBayes": {
1674
+ "oneofs": {
1675
+ "_binarize_threshold": {
1676
+ "oneof": [
1677
+ "binarize_threshold"
1678
+ ]
1679
+ }
1680
+ },
1681
+ "fields": {
1682
+ "feature_log_prob": {
1683
+ "type": "TensorValue",
1684
+ "id": 1
1685
+ },
1686
+ "binarize_threshold": {
1687
+ "type": "Scalar",
1688
+ "id": 2,
1689
+ "options": {
1690
+ "proto3_optional": true
1691
+ }
1692
+ }
1693
+ }
1694
+ },
1695
+ "CategoricalNaiveBayes": {
1696
+ "fields": {
1697
+ "category_log_prob": {
1698
+ "type": "TensorValue",
1699
+ "id": 1
1700
+ },
1701
+ "category_offset": {
1702
+ "rule": "repeated",
1703
+ "type": "int32",
1704
+ "id": 2
1705
+ },
1706
+ "category_count": {
1707
+ "rule": "repeated",
1708
+ "type": "int32",
1709
+ "id": 3
1710
+ }
1711
+ }
1712
+ },
1713
+ "Clustering": {
1714
+ "oneofs": {
1715
+ "implementation": {
1716
+ "oneof": [
1717
+ "prototype",
1718
+ "gaussian_mixture"
1719
+ ]
1720
+ }
1721
+ },
1722
+ "fields": {
1723
+ "task_type": {
1724
+ "type": "TaskType",
1725
+ "id": 1
1726
+ },
1727
+ "prototype": {
1728
+ "type": "PrototypeClustering",
1729
+ "id": 10
1730
+ },
1731
+ "gaussian_mixture": {
1732
+ "type": "GaussianMixtureClustering",
1733
+ "id": 11
1734
+ }
1735
+ }
1736
+ },
1737
+ "PrototypeClustering": {
1738
+ "fields": {
1739
+ "centers": {
1740
+ "type": "TensorValue",
1741
+ "id": 1
1742
+ },
1743
+ "distance_measure": {
1744
+ "type": "DistanceMeasure",
1745
+ "id": 2
1746
+ },
1747
+ "cluster_labels": {
1748
+ "rule": "repeated",
1749
+ "type": "Scalar",
1750
+ "id": 3
1751
+ }
1752
+ },
1753
+ "nested": {
1754
+ "DistanceMeasure": {
1755
+ "values": {
1756
+ "DISTANCE_MEASURE_UNSPECIFIED": 0,
1757
+ "EUCLIDEAN": 1,
1758
+ "SQUARED_EUCLIDEAN": 2,
1759
+ "MANHATTAN": 3,
1760
+ "COSINE": 4
1761
+ }
1762
+ }
1763
+ }
1764
+ },
1765
+ "GaussianMixtureClustering": {
1766
+ "fields": {
1767
+ "weights": {
1768
+ "type": "TensorValue",
1769
+ "id": 1
1770
+ },
1771
+ "means": {
1772
+ "type": "TensorValue",
1773
+ "id": 2
1774
+ },
1775
+ "covariances": {
1776
+ "type": "TensorValue",
1777
+ "id": 3
1778
+ },
1779
+ "covariance_type": {
1780
+ "type": "CovarianceType",
1781
+ "id": 4
1782
+ },
1783
+ "component_labels": {
1784
+ "rule": "repeated",
1785
+ "type": "Scalar",
1786
+ "id": 5
1787
+ }
1788
+ },
1789
+ "nested": {
1790
+ "CovarianceType": {
1791
+ "values": {
1792
+ "COVARIANCE_TYPE_UNSPECIFIED": 0,
1793
+ "FULL": 1,
1794
+ "DIAGONAL": 2,
1795
+ "SPHERICAL": 3
1796
+ }
1797
+ }
1798
+ }
1799
+ },
1800
+ "SVM": {
1801
+ "oneofs": {
1802
+ "_multiclass_strategy": {
1803
+ "oneof": [
1804
+ "multiclass_strategy"
1805
+ ]
1806
+ },
1807
+ "implementation": {
1808
+ "oneof": [
1809
+ "linear",
1810
+ "kernel"
1811
+ ]
1812
+ }
1813
+ },
1814
+ "fields": {
1815
+ "task_type": {
1816
+ "type": "TaskType",
1817
+ "id": 1
1818
+ },
1819
+ "multiclass_strategy": {
1820
+ "type": "MulticlassStrategy",
1821
+ "id": 3,
1822
+ "options": {
1823
+ "proto3_optional": true
1824
+ }
1825
+ },
1826
+ "linear": {
1827
+ "type": "LinearSVM",
1828
+ "id": 10
1829
+ },
1830
+ "kernel": {
1831
+ "type": "KernelSVM",
1832
+ "id": 11
1833
+ },
1834
+ "post_transform": {
1835
+ "type": "PostTransform",
1836
+ "id": 20
1837
+ }
1838
+ },
1839
+ "nested": {
1840
+ "MulticlassStrategy": {
1841
+ "values": {
1842
+ "MULTICLASS_STRATEGY_UNSPECIFIED": 0,
1843
+ "ONE_VS_REST": 1,
1844
+ "ONE_VS_ONE": 2
1845
+ }
1846
+ }
1847
+ }
1848
+ },
1849
+ "LinearSVM": {
1850
+ "oneofs": {
1851
+ "_intercept": {
1852
+ "oneof": [
1853
+ "intercept"
1854
+ ]
1855
+ }
1856
+ },
1857
+ "fields": {
1858
+ "coefficients": {
1859
+ "type": "TensorValue",
1860
+ "id": 1
1861
+ },
1862
+ "intercept": {
1863
+ "type": "TensorValue",
1864
+ "id": 2,
1865
+ "options": {
1866
+ "proto3_optional": true
1867
+ }
1868
+ }
1869
+ }
1870
+ },
1871
+ "KernelSVM": {
1872
+ "oneofs": {
1873
+ "_intercept": {
1874
+ "oneof": [
1875
+ "intercept"
1876
+ ]
1877
+ },
1878
+ "_gamma": {
1879
+ "oneof": [
1880
+ "gamma"
1881
+ ]
1882
+ },
1883
+ "_degree": {
1884
+ "oneof": [
1885
+ "degree"
1886
+ ]
1887
+ },
1888
+ "_coef0": {
1889
+ "oneof": [
1890
+ "coef0"
1891
+ ]
1892
+ },
1893
+ "_prob_a": {
1894
+ "oneof": [
1895
+ "prob_a"
1896
+ ]
1897
+ },
1898
+ "_prob_b": {
1899
+ "oneof": [
1900
+ "prob_b"
1901
+ ]
1902
+ }
1903
+ },
1904
+ "fields": {
1905
+ "kernel_type": {
1906
+ "type": "KernelType",
1907
+ "id": 1
1908
+ },
1909
+ "support_vectors": {
1910
+ "type": "TensorValue",
1911
+ "id": 2
1912
+ },
1913
+ "dual_coefficients": {
1914
+ "type": "TensorValue",
1915
+ "id": 3
1916
+ },
1917
+ "intercept": {
1918
+ "type": "TensorValue",
1919
+ "id": 4,
1920
+ "options": {
1921
+ "proto3_optional": true
1922
+ }
1923
+ },
1924
+ "gamma": {
1925
+ "type": "Scalar",
1926
+ "id": 5,
1927
+ "options": {
1928
+ "proto3_optional": true
1929
+ }
1930
+ },
1931
+ "degree": {
1932
+ "type": "int32",
1933
+ "id": 6,
1934
+ "options": {
1935
+ "proto3_optional": true
1936
+ }
1937
+ },
1938
+ "coef0": {
1939
+ "type": "Scalar",
1940
+ "id": 7,
1941
+ "options": {
1942
+ "proto3_optional": true
1943
+ }
1944
+ },
1945
+ "n_support": {
1946
+ "rule": "repeated",
1947
+ "type": "int64",
1948
+ "id": 8
1949
+ },
1950
+ "prob_a": {
1951
+ "type": "TensorValue",
1952
+ "id": 9,
1953
+ "options": {
1954
+ "proto3_optional": true
1955
+ }
1956
+ },
1957
+ "prob_b": {
1958
+ "type": "TensorValue",
1959
+ "id": 10,
1960
+ "options": {
1961
+ "proto3_optional": true
1962
+ }
1963
+ }
1964
+ },
1965
+ "nested": {
1966
+ "KernelType": {
1967
+ "values": {
1968
+ "KERNEL_TYPE_UNSPECIFIED": 0,
1969
+ "LINEAR": 1,
1970
+ "POLY": 2,
1971
+ "RBF": 3,
1972
+ "SIGMOID": 4
1973
+ }
1974
+ }
1975
+ }
1976
+ },
1977
+ "NeuralNetwork": {
1978
+ "fields": {
1979
+ "task_type": {
1980
+ "type": "TaskType",
1981
+ "id": 1
1982
+ },
1983
+ "layers": {
1984
+ "rule": "repeated",
1985
+ "type": "DenseLayer",
1986
+ "id": 2
1987
+ }
1988
+ },
1989
+ "nested": {
1990
+ "Activation": {
1991
+ "values": {
1992
+ "ACTIVATION_UNSPECIFIED": 0,
1993
+ "IDENTITY": 1,
1994
+ "LOGISTIC": 2,
1995
+ "TANH": 3,
1996
+ "RELU": 4,
1997
+ "SOFTMAX": 5
1998
+ }
1999
+ },
2000
+ "DenseLayer": {
2001
+ "oneofs": {
2002
+ "_bias": {
2003
+ "oneof": [
2004
+ "bias"
2005
+ ]
2006
+ }
2007
+ },
2008
+ "fields": {
2009
+ "weights": {
2010
+ "type": "TensorValue",
2011
+ "id": 1
2012
+ },
2013
+ "bias": {
2014
+ "type": "TensorValue",
2015
+ "id": 2,
2016
+ "options": {
2017
+ "proto3_optional": true
2018
+ }
2019
+ },
2020
+ "activation": {
2021
+ "type": "Activation",
2022
+ "id": 3
2023
+ },
2024
+ "name": {
2025
+ "type": "string",
2026
+ "id": 4
2027
+ }
2028
+ }
2029
+ }
2030
+ }
2031
+ },
2032
+ "AnomalyDetection": {
2033
+ "oneofs": {
2034
+ "_threshold": {
2035
+ "oneof": [
2036
+ "threshold"
2037
+ ]
2038
+ },
2039
+ "implementation": {
2040
+ "oneof": [
2041
+ "isolation_forest",
2042
+ "one_class_svm",
2043
+ "linear_one_class_svm",
2044
+ "local_outlier_factor",
2045
+ "elliptic_envelope"
2046
+ ]
2047
+ }
2048
+ },
2049
+ "fields": {
2050
+ "task_type": {
2051
+ "type": "TaskType",
2052
+ "id": 1
2053
+ },
2054
+ "mode": {
2055
+ "type": "DetectionMode",
2056
+ "id": 2
2057
+ },
2058
+ "raw_score_polarity": {
2059
+ "type": "ScorePolarity",
2060
+ "id": 3
2061
+ },
2062
+ "threshold": {
2063
+ "type": "Scalar",
2064
+ "id": 4,
2065
+ "options": {
2066
+ "proto3_optional": true
2067
+ }
2068
+ },
2069
+ "isolation_forest": {
2070
+ "type": "IsolationForest",
2071
+ "id": 10
2072
+ },
2073
+ "one_class_svm": {
2074
+ "type": "OneClassSVM",
2075
+ "id": 11
2076
+ },
2077
+ "linear_one_class_svm": {
2078
+ "type": "LinearOneClassSVM",
2079
+ "id": 12
2080
+ },
2081
+ "local_outlier_factor": {
2082
+ "type": "LocalOutlierFactor",
2083
+ "id": 13
2084
+ },
2085
+ "elliptic_envelope": {
2086
+ "type": "EllipticEnvelope",
2087
+ "id": 14
2088
+ }
2089
+ },
2090
+ "nested": {
2091
+ "DetectionMode": {
2092
+ "values": {
2093
+ "DETECTION_MODE_UNSPECIFIED": 0,
2094
+ "OUTLIER_DETECTION": 1,
2095
+ "NOVELTY_DETECTION": 2
2096
+ }
2097
+ },
2098
+ "ScorePolarity": {
2099
+ "values": {
2100
+ "SCORE_POLARITY_UNSPECIFIED": 0,
2101
+ "HIGHER_MORE_ABNORMAL": 1,
2102
+ "LOWER_MORE_ABNORMAL": 2
2103
+ }
2104
+ }
2105
+ }
2106
+ },
2107
+ "IsolationForest": {
2108
+ "oneofs": {
2109
+ "_offset": {
2110
+ "oneof": [
2111
+ "offset"
2112
+ ]
2113
+ }
2114
+ },
2115
+ "fields": {
2116
+ "trees": {
2117
+ "rule": "repeated",
2118
+ "type": "Tree",
2119
+ "id": 1
2120
+ },
2121
+ "max_samples": {
2122
+ "type": "int64",
2123
+ "id": 2
2124
+ },
2125
+ "offset": {
2126
+ "type": "Scalar",
2127
+ "id": 3,
2128
+ "options": {
2129
+ "proto3_optional": true
2130
+ }
2131
+ }
2132
+ }
2133
+ },
2134
+ "OneClassSVM": {
2135
+ "oneofs": {
2136
+ "_offset": {
2137
+ "oneof": [
2138
+ "offset"
2139
+ ]
2140
+ }
2141
+ },
2142
+ "fields": {
2143
+ "kernel_svm": {
2144
+ "type": "KernelSVM",
2145
+ "id": 1
2146
+ },
2147
+ "offset": {
2148
+ "type": "Scalar",
2149
+ "id": 2,
2150
+ "options": {
2151
+ "proto3_optional": true
2152
+ }
2153
+ }
2154
+ }
2155
+ },
2156
+ "LinearOneClassSVM": {
2157
+ "oneofs": {
2158
+ "_intercept": {
2159
+ "oneof": [
2160
+ "intercept"
2161
+ ]
2162
+ },
2163
+ "_offset": {
2164
+ "oneof": [
2165
+ "offset"
2166
+ ]
2167
+ }
2168
+ },
2169
+ "fields": {
2170
+ "coefficients": {
2171
+ "type": "TensorValue",
2172
+ "id": 1
2173
+ },
2174
+ "intercept": {
2175
+ "type": "TensorValue",
2176
+ "id": 2,
2177
+ "options": {
2178
+ "proto3_optional": true
2179
+ }
2180
+ },
2181
+ "offset": {
2182
+ "type": "Scalar",
2183
+ "id": 3,
2184
+ "options": {
2185
+ "proto3_optional": true
2186
+ }
2187
+ }
2188
+ }
2189
+ },
2190
+ "LocalOutlierFactor": {
2191
+ "oneofs": {
2192
+ "_offset": {
2193
+ "oneof": [
2194
+ "offset"
2195
+ ]
2196
+ }
2197
+ },
2198
+ "fields": {
2199
+ "reference_samples": {
2200
+ "type": "TensorValue",
2201
+ "id": 1
2202
+ },
2203
+ "n_neighbors": {
2204
+ "type": "int32",
2205
+ "id": 2
2206
+ },
2207
+ "metric": {
2208
+ "type": "string",
2209
+ "id": 3
2210
+ },
2211
+ "metric_params": {
2212
+ "keyType": "string",
2213
+ "type": "string",
2214
+ "id": 4
2215
+ },
2216
+ "offset": {
2217
+ "type": "Scalar",
2218
+ "id": 5,
2219
+ "options": {
2220
+ "proto3_optional": true
2221
+ }
2222
+ }
2223
+ }
2224
+ },
2225
+ "EllipticEnvelope": {
2226
+ "oneofs": {
2227
+ "_precision": {
2228
+ "oneof": [
2229
+ "precision"
2230
+ ]
2231
+ },
2232
+ "_offset": {
2233
+ "oneof": [
2234
+ "offset"
2235
+ ]
2236
+ }
2237
+ },
2238
+ "fields": {
2239
+ "location": {
2240
+ "type": "TensorValue",
2241
+ "id": 1
2242
+ },
2243
+ "covariance": {
2244
+ "type": "TensorValue",
2245
+ "id": 2
2246
+ },
2247
+ "precision": {
2248
+ "type": "TensorValue",
2249
+ "id": 3,
2250
+ "options": {
2251
+ "proto3_optional": true
2252
+ }
2253
+ },
2254
+ "offset": {
2255
+ "type": "Scalar",
2256
+ "id": 4,
2257
+ "options": {
2258
+ "proto3_optional": true
2259
+ }
2260
+ }
2261
+ }
2262
+ },
2263
+ "NumericTolerance": {
2264
+ "oneofs": {
2265
+ "_atol": {
2266
+ "oneof": [
2267
+ "atol"
2268
+ ]
2269
+ },
2270
+ "_rtol": {
2271
+ "oneof": [
2272
+ "rtol"
2273
+ ]
2274
+ }
2275
+ },
2276
+ "fields": {
2277
+ "atol": {
2278
+ "type": "Scalar",
2279
+ "id": 1,
2280
+ "options": {
2281
+ "proto3_optional": true
2282
+ }
2283
+ },
2284
+ "rtol": {
2285
+ "type": "Scalar",
2286
+ "id": 2,
2287
+ "options": {
2288
+ "proto3_optional": true
2289
+ }
2290
+ }
2291
+ }
2292
+ },
2293
+ "ModelVerification": {
2294
+ "fields": {
2295
+ "cases": {
2296
+ "rule": "repeated",
2297
+ "type": "VerificationCase",
2298
+ "id": 1
2299
+ },
2300
+ "tolerance": {
2301
+ "type": "NumericTolerance",
2302
+ "id": 2
2303
+ }
2304
+ }
2305
+ },
2306
+ "VerificationCase": {
2307
+ "fields": {
2308
+ "inputs": {
2309
+ "rule": "repeated",
2310
+ "type": "TensorRef",
2311
+ "id": 1
2312
+ },
2313
+ "expected_outputs": {
2314
+ "rule": "repeated",
2315
+ "type": "TensorRef",
2316
+ "id": 2
2317
+ },
2318
+ "description": {
2319
+ "type": "string",
2320
+ "id": 3
2321
+ }
2322
+ }
2323
+ },
2324
+ "RuntimeWarmup": {
2325
+ "fields": {
2326
+ "cases": {
2327
+ "rule": "repeated",
2328
+ "type": "WarmupCase",
2329
+ "id": 1
2330
+ }
2331
+ }
2332
+ },
2333
+ "WarmupCase": {
2334
+ "fields": {
2335
+ "inputs": {
2336
+ "rule": "repeated",
2337
+ "type": "TensorRef",
2338
+ "id": 1
2339
+ },
2340
+ "description": {
2341
+ "type": "string",
2342
+ "id": 2
2343
+ },
2344
+ "repeat": {
2345
+ "type": "int32",
2346
+ "id": 3
2347
+ }
2348
+ }
2349
+ },
2350
+ "SampleInputSet": {
2351
+ "fields": {
2352
+ "cases": {
2353
+ "rule": "repeated",
2354
+ "type": "SampleInputCase",
2355
+ "id": 1
2356
+ }
2357
+ }
2358
+ },
2359
+ "SampleInputCase": {
2360
+ "fields": {
2361
+ "inputs": {
2362
+ "rule": "repeated",
2363
+ "type": "TensorRef",
2364
+ "id": 1
2365
+ },
2366
+ "description": {
2367
+ "type": "string",
2368
+ "id": 2
2369
+ }
2370
+ }
2371
+ }
2372
+ }
2373
+ }
2374
+ }
2375
+ };
2376
+ export default protoDescriptor;
2377
+ //# sourceMappingURL=proto_descriptor.js.map