KNeighborsRegressor - ~m-reg-64 - default_k3 - cdist#

Fitted on a problem type ~m-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)

index

0

skl_nop

1

onx_size

6325

onx_nnodes

8

onx_ninits

4

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_

14

onx_ai.onnx.ml

1

onx_com.microsoft

1

onx_op_Cast

1

onx_op_Reshape

1

onx_size_optim

6325

onx_nnodes_optim

8

onx_ninits_optim

4

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, 2)) knny_ArrayFeatureExtractorcst knny_ArrayFeatureExtractorcst float64((2, 112)) [[0.04 0.32 3.42 1.85 1.86 0.16 0.1  1.81 3.33 3.3... 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((3,)) [ 2 -1  3] knny_Reshape Reshape (knny_Reshape) allowzero=0 knny_Reshapecst->knny_Reshape CD_dist CD_dist CD_dist->To_TopK CD_CDist->CD_dist To_Values0 To_Values0 To_Indices1 To_Indices1 knny_Flatten Flatten (knny_Flatten) To_Indices1->knny_Flatten To_TopK->To_Values0 To_TopK->To_Indices1 knny_output0 knny_output0 knny_output0->knny_ArrayFeatureExtractor knny_Flatten->knny_output0 knny_Z0 knny_Z0 knny_Z0->knny_Reshape knny_ArrayFeatureExtractor->knny_Z0 knny_reshaped0 knny_reshaped0 knny_Transpose Transpose (knny_Transpose) perm=[1 0 2] knny_reshaped0->knny_Transpose knny_Reshape->knny_reshaped0 knny_transposed0 knny_transposed0 Ca_Cast Cast (Ca_Cast) to=11 knny_transposed0->Ca_Cast knny_Transpose->knny_transposed0 Ca_output0 Ca_output0 Re_ReduceMean ReduceMean (Re_ReduceMean) axes=[2] keepdims=0 Ca_output0->Re_ReduceMean Ca_Cast->Ca_output0 Re_ReduceMean->variable