Skip to content

Commit

Permalink
Update Discretizers.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
tawheeler authored May 15, 2020
1 parent a19db52 commit 91de605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/Discretizers.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1523,7 +1523,7 @@
}
],
"source": [
"data = [randn(100); randn(100)+1.0]\n",
"data = [randn(100); randn(100).+1.0]\n",
"labels = [fill(:cat, 100); fill(:dog, 100)]\n",
"integer_labels = encode(CategoricalDiscretizer([:cat, :dog]), labels)\n",
"edges = binedges(DiscretizeMODL_Optimal(), data, integer_labels)"
Expand Down

0 comments on commit 91de605

Please sign in to comment.