.. _l-RadiusNeighborsRegressor-~b-reg-64-weights_k3-cdist-o17: RadiusNeighborsRegressor - ~b-reg-64 - weights_k3 - cdist ========================================================= Fitted on a problem type *~b-reg-64* (see :func:`find_suitable_problem `), method `predict` matches output . Model was converted with additional parameter: ``={'optim': 'cdist'}``. :: RadiusNeighborsRegressor(algorithm='brute', n_jobs=8, weights='distance') +----------------------+----------+ | index | 0 | +======================+==========+ | skl_nop | 1 | +----------------------+----------+ | onx_size | 6753 | +----------------------+----------+ | onx_nnodes | 27 | +----------------------+----------+ | onx_ninits | 7 | +----------------------+----------+ | onx_doc_string | | +----------------------+----------+ | onx_ir_version | 8 | +----------------------+----------+ | onx_domain | ai.onnx | +----------------------+----------+ | onx_model_version | 0 | +----------------------+----------+ | onx_producer_name | skl2onnx | +----------------------+----------+ | onx_producer_version | 1.13.1 | +----------------------+----------+ | onx_ | 17 | +----------------------+----------+ | onx_ai.onnx.ml | 1 | +----------------------+----------+ | onx_com.microsoft | 1 | +----------------------+----------+ | onx_op_Cast | 4 | +----------------------+----------+ | onx_op_Reshape | 3 | +----------------------+----------+ | onx_size_optim | 6753 | +----------------------+----------+ | onx_nnodes_optim | 27 | +----------------------+----------+ | onx_ninits_optim | 7 | +----------------------+----------+ | fit__fit_X.shape | (112, 4) | +----------------------+----------+ .. gdot:: digraph{ size=7; ranksep=0.25; nodesep=0.05; orientation=portrait; X [shape=box color=red label="X\ndouble((0, 4))" fontsize=10]; variable [shape=box color=green label="variable\ndouble((0, 1))" fontsize=10]; knny_ArrayFeatureExtractorcst [shape=box label="knny_ArrayFeatureExtractorcst\nfloat64((112,))\n[0.04 0.32 3.42 1.85 1.86 0.16 0.1 1.81 3.33 3.37..." fontsize=10]; cond_CDistcst [shape=box label="cond_CDistcst\nfloat64((112, 4))\n[[ 4.30175021e+00 3.94531870e+00 9.21953113e-01 ..." fontsize=10]; cond_Lesscst [shape=box label="cond_Lesscst\nfloat64((1,))\n[1.]" fontsize=10]; arange_CumSumcst [shape=box label="arange_CumSumcst\nint64((1,))\n[1]" fontsize=10]; knny_Reshapecst [shape=box label="knny_Reshapecst\nint64((2,))\n[ -1 112]" fontsize=10]; wei_Maxcst [shape=box label="wei_Maxcst\nfloat64((1,))\n[1.e-06]" fontsize=10]; Re_Reshapecst [shape=box label="Re_Reshapecst\nint64((2,))\n[-1 1]" fontsize=10]; cond_dist [shape=box label="cond_dist" fontsize=10]; cond_CDist [shape=box style="filled,rounded" color=orange label="CDist\n(cond_CDist)\nmetric=b'euclidean'" fontsize=10]; X -> cond_CDist; cond_CDistcst -> cond_CDist; cond_CDist -> cond_dist; cond_C0 [shape=box label="cond_C0" fontsize=10]; cond_Less [shape=box style="filled,rounded" color=orange label="Less\n(cond_Less)" fontsize=10]; cond_dist -> cond_Less; cond_Lesscst -> cond_Less; cond_Less -> cond_C0; arange_shape0 [shape=box label="arange_shape0" fontsize=10]; arange_Shape [shape=box style="filled,rounded" color=orange label="Shape\n(arange_Shape)" fontsize=10]; cond_dist -> arange_Shape; arange_Shape -> arange_shape0; nndist_output02 [shape=box label="nndist_output02" fontsize=10]; nndist_ConstantOfShape [shape=box style="filled,rounded" color=orange label="ConstantOfShape\n(nndist_ConstantOfShape)" fontsize=10]; arange_shape0 -> nndist_ConstantOfShape; nndist_ConstantOfShape -> nndist_output02; arange_output01 [shape=box label="arange_output01" fontsize=10]; arange_ConstantOfShape [shape=box style="filled,rounded" color=orange label="ConstantOfShape\n(arange_ConstantOfShape)\nvalue=[-1.]" fontsize=10]; arange_shape0 -> arange_ConstantOfShape; arange_ConstantOfShape -> arange_output01; nnbin_output0 [shape=box label="nnbin_output0" fontsize=10]; nnbin_Cast [shape=box style="filled,rounded" color=orange label="Cast\n(nnbin_Cast)\nto=11" fontsize=10]; cond_C0 -> nnbin_Cast; nnbin_Cast -> nnbin_output0; nndist_output01 [shape=box label="nndist_output01" fontsize=10]; nndist_Cast [shape=box style="filled,rounded" color=orange label="Cast\n(nndist_Cast)\nto=11" fontsize=10]; nndist_output02 -> nndist_Cast; nndist_Cast -> nndist_output01; arange_output0 [shape=box label="arange_output0" fontsize=10]; arange_Cast [shape=box style="filled,rounded" color=orange label="Cast\n(arange_Cast)\nto=7" fontsize=10]; arange_output01 -> arange_Cast; arange_Cast -> arange_output0; arange_y0 [shape=box label="arange_y0" fontsize=10]; arange_CumSum [shape=box style="filled,rounded" color=orange label="CumSum\n(arange_CumSum)" fontsize=10]; arange_output0 -> arange_CumSum; arange_CumSumcst -> arange_CumSum; arange_CumSum -> arange_y0; nndist_output0 [shape=box label="nndist_output0" fontsize=10]; nndist_Where [shape=box style="filled,rounded" color=orange label="Where\n(nndist_Where)" fontsize=10]; cond_C0 -> nndist_Where; cond_dist -> nndist_Where; nndist_output01 -> nndist_Where; nndist_Where -> nndist_output0; wei_max0 [shape=box label="wei_max0" fontsize=10]; wei_Max [shape=box style="filled,rounded" color=orange label="Max\n(wei_Max)" fontsize=10]; nndist_output0 -> wei_Max; wei_Maxcst -> wei_Max; wei_Max -> wei_max0; arange_Y0 [shape=box label="arange_Y0" fontsize=10]; arange_Neg [shape=box style="filled,rounded" color=orange label="Neg\n(arange_Neg)" fontsize=10]; arange_y0 -> arange_Neg; arange_Neg -> arange_Y0; arange_C0 [shape=box label="arange_C0" fontsize=10]; arange_Add [shape=box style="filled,rounded" color=orange label="Add\n(arange_Add)" fontsize=10]; arange_Y0 -> arange_Add; arange_output0 -> arange_Add; arange_Add -> arange_C0; wei_Y0 [shape=box label="wei_Y0" fontsize=10]; wei_Reciprocal [shape=box style="filled,rounded" color=orange label="Reciprocal\n(wei_Reciprocal)" fontsize=10]; wei_max0 -> wei_Reciprocal; wei_Reciprocal -> wei_Y0; wei_C0 [shape=box label="wei_C0" fontsize=10]; wei_Mul [shape=box style="filled,rounded" color=orange label="Mul\n(wei_Mul)" fontsize=10]; nnbin_output0 -> wei_Mul; wei_Y0 -> wei_Mul; wei_Mul -> wei_C0; nnind_output0 [shape=box label="nnind_output0" fontsize=10]; nnind_Where [shape=box style="filled,rounded" color=orange label="Where\n(nnind_Where)" fontsize=10]; cond_C0 -> nnind_Where; arange_C0 -> nnind_Where; arange_output0 -> nnind_Where; nnind_Where -> nnind_output0; knny_output0 [shape=box label="knny_output0" fontsize=10]; knny_Flatten [shape=box style="filled,rounded" color=orange label="Flatten\n(knny_Flatten)" fontsize=10]; nnind_output0 -> knny_Flatten; knny_Flatten -> knny_output0; norm_reduced0 [shape=box label="norm_reduced0" fontsize=10]; norm_ReduceSum [shape=box style="filled,rounded" color=orange label="ReduceSum\n(norm_ReduceSum)\nkeepdims=0" fontsize=10]; wei_C0 -> norm_ReduceSum; arange_CumSumcst -> norm_ReduceSum; norm_ReduceSum -> norm_reduced0; knny_Z0 [shape=box label="knny_Z0" fontsize=10]; knny_ArrayFeatureExtractor [shape=box style="filled,rounded" color=orange label="ArrayFeatureExtractor\n(knny_ArrayFeatureExtractor)" fontsize=10]; knny_ArrayFeatureExtractorcst -> knny_ArrayFeatureExtractor; knny_output0 -> knny_ArrayFeatureExtractor; knny_ArrayFeatureExtractor -> knny_Z0; knny_reshaped0 [shape=box label="knny_reshaped0" fontsize=10]; knny_Reshape [shape=box style="filled,rounded" color=orange label="Reshape\n(knny_Reshape)\nallowzero=0" fontsize=10]; knny_Z0 -> knny_Reshape; knny_Reshapecst -> knny_Reshape; knny_Reshape -> knny_reshaped0; final_output0 [shape=box label="final_output0" fontsize=10]; final_Cast [shape=box style="filled,rounded" color=orange label="Cast\n(final_Cast)\nto=11" fontsize=10]; knny_reshaped0 -> final_Cast; final_Cast -> final_output0; final_C0 [shape=box label="final_C0" fontsize=10]; final_Mul [shape=box style="filled,rounded" color=orange label="Mul\n(final_Mul)" fontsize=10]; final_output0 -> final_Mul; wei_C0 -> final_Mul; final_Mul -> final_C0; final_reduced0 [shape=box label="final_reduced0" fontsize=10]; final_ReduceSum [shape=box style="filled,rounded" color=orange label="ReduceSum\n(final_ReduceSum)\nkeepdims=0" fontsize=10]; final_C0 -> final_ReduceSum; arange_CumSumcst -> final_ReduceSum; final_ReduceSum -> final_reduced0; normr_shape0 [shape=box label="normr_shape0" fontsize=10]; normr_Shape [shape=box style="filled,rounded" color=orange label="Shape\n(normr_Shape)" fontsize=10]; final_reduced0 -> normr_Shape; normr_Shape -> normr_shape0; normr_reshaped0 [shape=box label="normr_reshaped0" fontsize=10]; normr_Reshape [shape=box style="filled,rounded" color=orange label="Reshape\n(normr_Reshape)\nallowzero=0" fontsize=10]; norm_reduced0 -> normr_Reshape; normr_shape0 -> normr_Reshape; normr_Reshape -> normr_reshaped0; Di_C0 [shape=box label="Di_C0" fontsize=10]; Di_Div [shape=box style="filled,rounded" color=orange label="Div\n(Di_Div)" fontsize=10]; final_reduced0 -> Di_Div; normr_reshaped0 -> Di_Div; Di_Div -> Di_C0; Re_Reshape [shape=box style="filled,rounded" color=orange label="Reshape\n(Re_Reshape)\nallowzero=0" fontsize=10]; Di_C0 -> Re_Reshape; Re_Reshapecst -> Re_Reshape; Re_Reshape -> variable; }