KNeighborsRegressor - ~b-reg-64 - weights_k3 - cdist#

Fitted on a problem type ~b-reg-64 (see find_suitable_problem), method predict matches output . Model was converted with additional parameter: <class 'sklearn.neighbors._regression.KNeighborsRegressor'>={'optim': 'cdist'}.

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

index

0

skl_nop

1

onx_size

6049

onx_nnodes

16

onx_ninits

8

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

1

onx_op_Reshape

3

onx_size_optim

6049

onx_nnodes_optim

16

onx_ninits_optim

8

fit__fit_X.shape

(112, 4)

%0 X X double((0, 4)) CD_CDist CDist (CD_CDist) metric=b'euclidean' X->CD_CDist variable variable double((0, 1)) knny_ArrayFeatureExtractorcst knny_ArrayFeatureExtractorcst float64((112,)) [0.04 0.32 3.42 1.85 1.86 0.16 0.1  1.81 3.33 3.37... 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 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 final_ReduceSumcst final_ReduceSumcst int64((1,)) [1] norm_ReduceSum ReduceSum (norm_ReduceSum) keepdims=0 final_ReduceSumcst->norm_ReduceSum final_ReduceSum ReduceSum (final_ReduceSum) keepdims=0 final_ReduceSumcst->final_ReduceSum Re_Reshapecst Re_Reshapecst int64((2,)) [-1  1] Re_Reshape Reshape (Re_Reshape) allowzero=0 Re_Reshapecst->Re_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 wei_max0 wei_max0 wei_Reciprocal Reciprocal (wei_Reciprocal) wei_max0->wei_Reciprocal wei_Max->wei_max0 knny_Z0 knny_Z0 knny_Z0->knny_Reshape knny_ArrayFeatureExtractor->knny_Z0 wei_Y0 wei_Y0 wei_Y0->norm_ReduceSum final_Mul Mul (final_Mul) wei_Y0->final_Mul wei_Reciprocal->wei_Y0 knny_reshaped0 knny_reshaped0 final_Cast Cast (final_Cast) to=11 knny_reshaped0->final_Cast knny_Reshape->knny_reshaped0 norm_reduced0 norm_reduced0 normr_Reshape Reshape (normr_Reshape) allowzero=0 norm_reduced0->normr_Reshape norm_ReduceSum->norm_reduced0 final_output0 final_output0 final_output0->final_Mul final_Cast->final_output0 final_C0 final_C0 final_C0->final_ReduceSum final_Mul->final_C0 final_reduced0 final_reduced0 normr_Shape Shape (normr_Shape) final_reduced0->normr_Shape Di_Div Div (Di_Div) final_reduced0->Di_Div final_ReduceSum->final_reduced0 normr_shape0 normr_shape0 normr_shape0->normr_Reshape normr_Shape->normr_shape0 normr_reshaped0 normr_reshaped0 normr_reshaped0->Di_Div normr_Reshape->normr_reshaped0 Di_C0 Di_C0 Di_C0->Re_Reshape Di_Div->Di_C0 Re_Reshape->variable