KNeighborsClassifier - ~b-cl-64 - weights_k3 - {‘optim’: ‘cdist’, ‘zipmap’: False}#

Fitted on a problem type ~b-cl-64 (see find_suitable_problem), method predict_proba matches output . Model was converted with additional parameter: <class 'sklearn.neighbors._classification.KNeighborsClassifier'>={'optim': 'cdist', 'zipmap': False}.

KNeighborsClassifier(algorithm='brute', n_jobs=8, n_neighbors=3,
                 weights='distance')

index

0

skl_nop

1

onx_size

5963

onx_nnodes

23

onx_ninits

10

onx_doc_string

onx_ir_version

8

onx_domain

ai.onnx

onx_model_version

0

onx_producer_name

skl2onnx

onx_producer_version

1.11.1

onx_

15

onx_ai.onnx.ml

1

onx_com.microsoft

1

onx_op_Cast

3

onx_op_Reshape

2

onx_size_optim

5963

onx_nnodes_optim

23

onx_ninits_optim

10

fit_classes_.shape

2

fit__fit_X.shape

(112, 4)

%0 X X double((0, 4)) CD_CDist CDist (CD_CDist) metric=b'euclidean' X->CD_CDist label label int64((0,)) probabilities probabilities double((0, 2)) blab_ArrayFeatureExtractorcst blab_ArrayFeatureExtractorcst int64((2,)) [0 1] blab_ArrayFeatureExtractor ArrayFeatureExtractor (blab_ArrayFeatureExtractor) blab_ArrayFeatureExtractorcst->blab_ArrayFeatureExtractor knny_ArrayFeatureExtractorcst knny_ArrayFeatureExtractorcst int64((112,)) [0 0 1 1 1 0 0 1 1 1 1 1 1 1 1 0 1 1 0 0 0 1 1 0 0... knny_ArrayFeatureExtractor ArrayFeatureExtractor (knny_ArrayFeatureExtractor) knny_ArrayFeatureExtractorcst->knny_ArrayFeatureExtractor CD_CDistcst CD_CDistcst float64((112, 4)) [[ 4.30175021e+00  3.94531870e+00  9.21953113e-01 ... CD_CDistcst->CD_CDist To_TopKcst To_TopKcst int64((1,)) [3] To_TopK TopK (To_TopK) largest=0 sorted=1 To_TopKcst->To_TopK knny_Reshapecst knny_Reshapecst int64((2,)) [-1  3] knny_Reshape Reshape (knny_Reshape) allowzero=0 knny_Reshapecst->knny_Reshape bprob_Equalcst bprob_Equalcst int64((1,)) [0] bprob_Equal Equal (bprob_Equal) bprob_Equalcst->bprob_Equal wei_Mulcst wei_Mulcst float64((1,)) [-1.] wei_Mul Mul (wei_Mul) wei_Mulcst->wei_Mul wei_Maxcst wei_Maxcst float64((1,)) [1.e-06] wei_Max Max (wei_Max) wei_Maxcst->wei_Max bprob_ReduceSumcst bprob_ReduceSumcst int64((1,)) [1] bprob_Equal1 Equal (bprob_Equal1) bprob_ReduceSumcst->bprob_Equal1 bprob_ReduceSum1 ReduceSum (bprob_ReduceSum1) keepdims=1 bprob_ReduceSumcst->bprob_ReduceSum1 bprob_ReduceSum ReduceSum (bprob_ReduceSum) keepdims=1 bprob_ReduceSumcst->bprob_ReduceSum bprob_ReduceSum2 ReduceSum (bprob_ReduceSum2) keepdims=1 bprob_ReduceSumcst->bprob_ReduceSum2 blab_Reshapecst blab_Reshapecst int64((1,)) [-1] blab_Reshape Reshape (blab_Reshape) allowzero=0 blab_Reshapecst->blab_Reshape CD_dist CD_dist CD_dist->To_TopK CD_CDist->CD_dist To_Values0 To_Values0 To_Values0->wei_Mul To_Indices1 To_Indices1 knny_Flatten Flatten (knny_Flatten) To_Indices1->knny_Flatten To_TopK->To_Values0 To_TopK->To_Indices1 wei_C0 wei_C0 wei_C0->wei_Max wei_Mul->wei_C0 knny_output0 knny_output0 knny_output0->knny_ArrayFeatureExtractor knny_Flatten->knny_output0 knny_Z0 knny_Z0 knny_Z0->knny_Reshape knny_ArrayFeatureExtractor->knny_Z0 wei_max0 wei_max0 wei_Reciprocal Reciprocal (wei_Reciprocal) wei_max0->wei_Reciprocal wei_Max->wei_max0 wei_Y0 wei_Y0 bprob_Mul Mul (bprob_Mul) wei_Y0->bprob_Mul bprob_Mul1 Mul (bprob_Mul1) wei_Y0->bprob_Mul1 wei_Reciprocal->wei_Y0 knny_reshaped0 knny_reshaped0 knny_reshaped0->bprob_Equal knny_reshaped0->bprob_Equal1 knny_Reshape->knny_reshaped0 bprob_C01 bprob_C01 bprob_Cast Cast (bprob_Cast) to=11 bprob_C01->bprob_Cast bprob_Equal->bprob_C01 bprob_C04 bprob_C04 bprob_Cast1 Cast (bprob_Cast1) to=11 bprob_C04->bprob_Cast1 bprob_Equal1->bprob_C04 bprob_output0 bprob_output0 bprob_output0->bprob_Mul bprob_Cast->bprob_output0 bprob_output02 bprob_output02 bprob_output02->bprob_Mul1 bprob_Cast1->bprob_output02 bprob_C0 bprob_C0 bprob_C0->bprob_ReduceSum bprob_Mul->bprob_C0 bprob_C03 bprob_C03 bprob_C03->bprob_ReduceSum1 bprob_Mul1->bprob_C03 bprob_reduced02 bprob_reduced02 bprob_Concat Concat (bprob_Concat) axis=1 bprob_reduced02->bprob_Concat bprob_ReduceSum1->bprob_reduced02 bprob_reduced0 bprob_reduced0 bprob_reduced0->bprob_Concat bprob_ReduceSum->bprob_reduced0 bprob_concat_result0 bprob_concat_result0 blab_ArgMax ArgMax (blab_ArgMax) axis=1 keepdims=0 bprob_concat_result0->blab_ArgMax bprob_concat_result0->bprob_ReduceSum2 bprob_Div Div (bprob_Div) bprob_concat_result0->bprob_Div bprob_Concat->bprob_concat_result0 blab_reduced0 blab_reduced0 blab_reduced0->blab_ArrayFeatureExtractor blab_ArgMax->blab_reduced0 bprob_reduced03 bprob_reduced03 bprob_reduced03->bprob_Div bprob_ReduceSum2->bprob_reduced03 bprob_Div->probabilities blab_Z0 blab_Z0 blab_Cast Cast (blab_Cast) to=7 blab_Z0->blab_Cast blab_ArrayFeatureExtractor->blab_Z0 blab_output0 blab_output0 blab_output0->blab_Reshape blab_Cast->blab_output0 blab_Reshape->label