.. _l-OneVsRestClassifier-b-cl-logreg-zipmap:False-o17: OneVsRestClassifier - b-cl - logreg - {'zipmap': False} ======================================================= Fitted on a problem type *b-cl* (see :func:`find_suitable_problem `), method `predict_proba` matches output . Model was converted with additional parameter: ``={'zipmap': False}``. :: OneVsRestClassifier(estimator=LogisticRegression(random_state=0, solver='liblinear'), n_jobs=8) +----------------------------------+----------+ | index | 0 | +==================================+==========+ | skl_nop | 2 | +----------------------------------+----------+ | skl_ncoef | 1 | +----------------------------------+----------+ | skl_nlin | 1 | +----------------------------------+----------+ | onx_size | 1460 | +----------------------------------+----------+ | onx_nnodes | 14 | +----------------------------------+----------+ | onx_ninits | 5 | +----------------------------------+----------+ | 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_op_Cast | 3 | +----------------------------------+----------+ | onx_op_ZipMap | 1 | +----------------------------------+----------+ | onx_op_Reshape | 1 | +----------------------------------+----------+ | onx_size_optim | 1460 | +----------------------------------+----------+ | onx_nnodes_optim | 14 | +----------------------------------+----------+ | onx_ninits_optim | 5 | +----------------------------------+----------+ | fit_classes_.shape | 2 | +----------------------------------+----------+ | fit_n_classes_ | 2 | +----------------------------------+----------+ | fit_estimators_.size | 1 | +----------------------------------+----------+ | fit_estimators_.intercept_.shape | 1 | +----------------------------------+----------+ | fit_estimators_.n_iter_.shape | 1 | +----------------------------------+----------+ | fit_estimators_.classes_.shape | 2 | +----------------------------------+----------+ | fit_estimators_.coef_.shape | (1, 4) | +----------------------------------+----------+ .. gdot:: digraph{ size=7; ranksep=0.25; nodesep=0.05; orientation=portrait; X [shape=box color=red label="X\nfloat((0, 4))" fontsize=10]; output_label [shape=box color=green label="output_label\nint64((0,))" fontsize=10]; output_probability [shape=box color=green label="output_probability\n[{int64, {'kind': 'tensor', 'elem': 'float', 'shape': }}]" fontsize=10]; starts [shape=box label="starts\nint64((1,))\n[1]" fontsize=10]; ends [shape=box label="ends\nint64((1,))\n[2]" fontsize=10]; unit_float_tensor [shape=box label="unit_float_tensor\nfloat32(())\n1.0" fontsize=10]; classes [shape=box label="classes\nint32((2,))\n[0 1]" fontsize=10]; shape_tensor [shape=box label="shape_tensor\nint64((1,))\n[-1]" fontsize=10]; label_0 [shape=box label="label_0" fontsize=10]; probability_tensor [shape=box label="probability_tensor" fontsize=10]; LinearClassifier [shape=box style="filled,rounded" color=orange label="LinearClassifier\n(LinearClassifier)\nclasslabels_ints=[0 1]\ncoefficients=[ 0.45876738 1.29...\nintercepts=[ 0.28357968 -0.2835...\nmulti_class=1\npost_transform=b'LOGISTIC'" fontsize=10]; X -> LinearClassifier; LinearClassifier -> label_0; LinearClassifier -> probability_tensor; proba_0 [shape=box label="proba_0" fontsize=10]; Normalizer [shape=box style="filled,rounded" color=orange label="Normalizer\n(Normalizer)\nnorm=b'L1'" fontsize=10]; probability_tensor -> Normalizer; Normalizer -> proba_0; probY_0 [shape=box label="probY_0" fontsize=10]; Slice [shape=box style="filled,rounded" color=orange label="Slice\n(Slice)" fontsize=10]; proba_0 -> Slice; starts -> Slice; ends -> Slice; starts -> Slice; Slice -> probY_0; concatenated [shape=box label="concatenated" fontsize=10]; Concat [shape=box style="filled,rounded" color=orange label="Concat\n(Concat)\naxis=1" fontsize=10]; probY_0 -> Concat; Concat -> concatenated; zeroth_col [shape=box label="zeroth_col" fontsize=10]; Sub [shape=box style="filled,rounded" color=orange label="Sub\n(Sub)" fontsize=10]; unit_float_tensor -> Sub; concatenated -> Sub; Sub -> zeroth_col; merged_prob [shape=box label="merged_prob" fontsize=10]; Concat1 [shape=box style="filled,rounded" color=orange label="Concat\n(Concat1)\naxis=1" fontsize=10]; zeroth_col -> Concat1; concatenated -> Concat1; Concat1 -> merged_prob; probabilities [shape=box label="probabilities" fontsize=10]; LpNormalization [shape=box style="filled,rounded" color=orange label="LpNormalization\n(LpNormalization)\naxis=1\np=1" fontsize=10]; merged_prob -> LpNormalization; LpNormalization -> probabilities; label_name [shape=box label="label_name" fontsize=10]; ArgMax [shape=box style="filled,rounded" color=orange label="ArgMax\n(ArgMax)\naxis=1" fontsize=10]; merged_prob -> ArgMax; ArgMax -> label_name; array_feature_extractor_result [shape=box label="array_feature_extractor_result" fontsize=10]; ArrayFeatureExtractor [shape=box style="filled,rounded" color=orange label="ArrayFeatureExtractor\n(ArrayFeatureExtractor)" fontsize=10]; classes -> ArrayFeatureExtractor; label_name -> ArrayFeatureExtractor; ArrayFeatureExtractor -> array_feature_extractor_result; ZipMap [shape=box style="filled,rounded" color=orange label="ZipMap\n(ZipMap)\nclasslabels_int64s=[0 1]" fontsize=10]; probabilities -> ZipMap; ZipMap -> output_probability; cast2_result [shape=box label="cast2_result" fontsize=10]; Cast [shape=box style="filled,rounded" color=orange label="Cast\n(Cast)\nto=1" fontsize=10]; array_feature_extractor_result -> Cast; Cast -> cast2_result; reshaped_result [shape=box label="reshaped_result" fontsize=10]; Reshape [shape=box style="filled,rounded" color=orange label="Reshape\n(Reshape)" fontsize=10]; cast2_result -> Reshape; shape_tensor -> Reshape; Reshape -> reshaped_result; label [shape=box label="label" fontsize=10]; Cast1 [shape=box style="filled,rounded" color=orange label="Cast\n(Cast1)\nto=7" fontsize=10]; reshaped_result -> Cast1; Cast1 -> label; Cast2 [shape=box style="filled,rounded" color=orange label="Cast\n(Cast2)\nto=7" fontsize=10]; label -> Cast2; Cast2 -> output_label; }