.. _l-OneVsRestClassifier-m-cl-logreg-zipmap:False-o17: OneVsRestClassifier - m-cl - logreg - {'zipmap': False} ======================================================= Fitted on a problem type *m-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 | 4 | +----------------------------------+----------+ | skl_ncoef | 3 | +----------------------------------+----------+ | skl_nlin | 3 | +----------------------------------+----------+ | onx_size | 2106 | +----------------------------------+----------+ | onx_nnodes | 18 | +----------------------------------+----------+ | 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.13.1 | +----------------------------------+----------+ | onx_ | 17 | +----------------------------------+----------+ | onx_ai.onnx.ml | 1 | +----------------------------------+----------+ | onx_op_Cast | 3 | +----------------------------------+----------+ | onx_op_ZipMap | 1 | +----------------------------------+----------+ | onx_op_Reshape | 1 | +----------------------------------+----------+ | onx_size_optim | 2106 | +----------------------------------+----------+ | onx_nnodes_optim | 18 | +----------------------------------+----------+ | onx_ninits_optim | 4 | +----------------------------------+----------+ | fit_classes_.shape | 3 | +----------------------------------+----------+ | fit_n_classes_ | 3 | +----------------------------------+----------+ | fit_estimators_.size | 3 | +----------------------------------+----------+ | fit_estimators_.coef_.shape | (1, 4) | +----------------------------------+----------+ | fit_estimators_.classes_.shape | 2 | +----------------------------------+----------+ | fit_estimators_.intercept_.shape | 1 | +----------------------------------+----------+ | fit_estimators_.n_iter_.shape | 1 | +----------------------------------+----------+ .. 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]; classes [shape=box label="classes\nint32((3,))\n[0 1 2]" 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; label_2 [shape=box label="label_2" fontsize=10]; probability_tensor2 [shape=box label="probability_tensor2" fontsize=10]; LinearClassifier2 [shape=box style="filled,rounded" color=orange label="LinearClassifier\n(LinearClassifier2)\nclasslabels_ints=[0 1]\ncoefficients=[ 1.5807194 0.445...\nintercepts=[ 1.2862748 -1.28627...\nmulti_class=1\npost_transform=b'LOGISTIC'" fontsize=10]; X -> LinearClassifier2; LinearClassifier2 -> label_2; LinearClassifier2 -> probability_tensor2; label_1 [shape=box label="label_1" fontsize=10]; probability_tensor1 [shape=box label="probability_tensor1" fontsize=10]; LinearClassifier1 [shape=box style="filled,rounded" color=orange label="LinearClassifier\n(LinearClassifier1)\nclasslabels_ints=[0 1]\ncoefficients=[-0.3060872 1.296...\nintercepts=[-0.864665 0.864665...\nmulti_class=1\npost_transform=b'LOGISTIC'" fontsize=10]; X -> LinearClassifier1; LinearClassifier1 -> label_1; LinearClassifier1 -> probability_tensor1; 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; proba_1 [shape=box label="proba_1" fontsize=10]; Normalizer1 [shape=box style="filled,rounded" color=orange label="Normalizer\n(Normalizer1)\nnorm=b'L1'" fontsize=10]; probability_tensor1 -> Normalizer1; Normalizer1 -> proba_1; proba_2 [shape=box label="proba_2" fontsize=10]; Normalizer2 [shape=box style="filled,rounded" color=orange label="Normalizer\n(Normalizer2)\nnorm=b'L1'" fontsize=10]; probability_tensor2 -> Normalizer2; Normalizer2 -> proba_2; probY_2 [shape=box label="probY_2" fontsize=10]; Slice2 [shape=box style="filled,rounded" color=orange label="Slice\n(Slice2)" fontsize=10]; proba_2 -> Slice2; starts -> Slice2; ends -> Slice2; starts -> Slice2; Slice2 -> probY_2; 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; probY_1 [shape=box label="probY_1" fontsize=10]; Slice1 [shape=box style="filled,rounded" color=orange label="Slice\n(Slice1)" fontsize=10]; proba_1 -> Slice1; starts -> Slice1; ends -> Slice1; starts -> Slice1; Slice1 -> probY_1; 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; probY_1 -> Concat; probY_2 -> Concat; Concat -> concatenated; 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]; concatenated -> 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]; concatenated -> ArgMax; ArgMax -> label_name; ZipMap [shape=box style="filled,rounded" color=orange label="ZipMap\n(ZipMap)\nclasslabels_int64s=[0 1 2]" fontsize=10]; probabilities -> ZipMap; ZipMap -> output_probability; 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; 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; }