Skip to content

Commit 0fce872

Browse files
committed
fixed bug in example notebook
1 parent abf0040 commit 0fce872

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

examples/SklearnPipelinePermuter_Example.ipynb

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -509,14 +509,7 @@
509509
"cell_type": "markdown",
510510
"metadata": {},
511511
"source": [
512-
"### Save and Load `PipelinePermuter` results"
513-
]
514-
},
515-
{
516-
"cell_type": "markdown",
517-
"metadata": {},
518-
"source": [
519-
"#### Save to Pickle File"
512+
"### Export Results as LaTeX Table"
520513
]
521514
},
522515
{
@@ -527,14 +520,21 @@
527520
},
528521
"outputs": [],
529522
"source": [
530-
"pipeline_permuter.to_pickle(tmpdir.joinpath(\"test.pkl\"))"
523+
"print(pipeline_permuter.metric_summary_to_latex())"
531524
]
532525
},
533526
{
534527
"cell_type": "markdown",
535528
"metadata": {},
536529
"source": [
537-
"#### Load from Pickle File"
530+
"### Save and Load `PipelinePermuter` results"
531+
]
532+
},
533+
{
534+
"cell_type": "markdown",
535+
"metadata": {},
536+
"source": [
537+
"#### Save to Pickle File"
538538
]
539539
},
540540
{
@@ -545,14 +545,14 @@
545545
},
546546
"outputs": [],
547547
"source": [
548-
"pipeline_permuter_load = SklearnPipelinePermuter.from_pickle(tmpdir.joinpath(\"test.pkl\"))"
548+
"pipeline_permuter.to_pickle(tmpdir.joinpath(\"test.pkl\"))"
549549
]
550550
},
551551
{
552552
"cell_type": "markdown",
553553
"metadata": {},
554554
"source": [
555-
"### Export Results as LaTeX Table"
555+
"#### Load from Pickle File"
556556
]
557557
},
558558
{
@@ -563,7 +563,7 @@
563563
},
564564
"outputs": [],
565565
"source": [
566-
"print(merged_permuter.metric_summary_to_latex())"
566+
"pipeline_permuter_load = SklearnPipelinePermuter.from_pickle(tmpdir.joinpath(\"test.pkl\"))"
567567
]
568568
},
569569
{

0 commit comments

Comments
 (0)