Created
December 30, 2015 23:28
-
-
Save aflaxman/cb0660e602d361d06599 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"execution_count": 1, | |
"metadata": { | |
"collapsed": false | |
}, | |
"outputs": [], | |
"source": [ | |
"import numpy as np, pandas as pd\n", | |
"import matplotlib.pyplot as plt, ipywidgets, mpld3\n", | |
"plt.style.use('fivethirtyeight')\n", | |
"%matplotlib inline" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 2, | |
"metadata": { | |
"collapsed": false | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"Wall time: 4.03 s\n" | |
] | |
}, | |
{ | |
"data": { | |
"text/plain": [ | |
"{'C': 100, 'kernel': 'rbf'}" | |
] | |
}, | |
"execution_count": 2, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"import sklearn.svm, sklearn.grid_search, sklearn.datasets.samples_generator\n", | |
"parameters = {'kernel':('poly', 'rbf'), 'C':[.01, .1, 1, 10, 100, 1000]}\n", | |
"clf = sklearn.grid_search.GridSearchCV(\n", | |
" sklearn.svm.SVC(probability=True),\n", | |
" parameters,\n", | |
" cv=5,\n", | |
" n_jobs=4)\n", | |
"X, y = sklearn.datasets.samples_generator.make_classification(n_samples=200, n_features=5, random_state=12345)\n", | |
"%time clf.fit(X, y)\n", | |
"clf.best_params_" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 3, | |
"metadata": { | |
"collapsed": false | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"text/html": [ | |
"\n", | |
"\n", | |
"<style>\n", | |
"\n", | |
"</style>\n", | |
"\n", | |
"<div id=\"fig_el7520581154642555376278\"></div>\n", | |
"<script>\n", | |
"function mpld3_load_lib(url, callback){\n", | |
" var s = document.createElement('script');\n", | |
" s.src = url;\n", | |
" s.async = true;\n", | |
" s.onreadystatechange = s.onload = callback;\n", | |
" s.onerror = function(){console.warn(\"failed to load library \" + url);};\n", | |
" document.getElementsByTagName(\"head\")[0].appendChild(s);\n", | |
"}\n", | |
"\n", | |
"if(typeof(mpld3) !== \"undefined\" && mpld3._mpld3IsLoaded){\n", | |
" // already loaded: just create the figure\n", | |
" !function(mpld3){\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.draw_figure(\"fig_el7520581154642555376278\", {\"axes\": [{\"xlim\": [-0.5, 11.5], \"yscale\": \"linear\", \"axesbg\": \"#F0F0F0\", \"texts\": [], \"zoomable\": true, \"images\": [], \"xdomain\": [-0.5, 11.5], \"ylim\": [-0.10000000000000001, 1.1000000000000001], \"paths\": [], \"sharey\": [], \"sharex\": [], \"axesbgalpha\": null, \"axes\": [{\"scale\": \"linear\", \"tickformat\": null, \"grid\": {\"color\": \"#CBCBCB\", \"alpha\": 1.0, \"dasharray\": \"10,0\", \"gridOn\": true}, \"fontsize\": 10.0, \"position\": \"bottom\", \"nticks\": 8, \"tickvalues\": null}, {\"scale\": \"linear\", \"tickformat\": null, \"grid\": {\"color\": \"#CBCBCB\", \"alpha\": 1.0, \"dasharray\": \"10,0\", \"gridOn\": true}, \"fontsize\": 10.0, \"position\": \"left\", \"nticks\": 8, \"tickvalues\": null}], \"lines\": [{\"color\": \"#808080\", \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"10,0\", \"zorder\": -5, \"alpha\": 1, \"xindex\": 0, \"linewidth\": 4.0, \"data\": \"data12\", \"id\": \"el7520409338656\"}, {\"color\": \"#808080\", \"yindex\": 2, \"coordinates\": \"data\", \"dasharray\": \"10,0\", \"zorder\": -5, \"alpha\": 1, \"xindex\": 0, \"linewidth\": 4.0, \"data\": \"data12\", \"id\": \"el7520409339328\"}, {\"color\": \"#808080\", \"yindex\": 3, \"coordinates\": \"data\", \"dasharray\": \"10,0\", \"zorder\": -5, \"alpha\": 1, \"xindex\": 0, \"linewidth\": 4.0, \"data\": \"data12\", \"id\": \"el7520409339608\"}, {\"color\": \"#808080\", \"yindex\": 4, \"coordinates\": \"data\", \"dasharray\": \"10,0\", \"zorder\": -5, \"alpha\": 1, \"xindex\": 0, \"linewidth\": 4.0, \"data\": \"data12\", \"id\": \"el7520409339888\"}, {\"color\": \"#808080\", \"yindex\": 5, \"coordinates\": \"data\", \"dasharray\": \"10,0\", \"zorder\": -5, \"alpha\": 1, \"xindex\": 0, \"linewidth\": 4.0, \"data\": \"data12\", \"id\": \"el7520409340168\"}], \"markers\": [{\"edgecolor\": \"#000000\", \"facecolor\": \"#30A2DA\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data01\", \"id\": \"el7520408812512pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#FC4F30\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data02\", \"id\": \"el7520408879848pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#E5AE38\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data03\", \"id\": \"el7520408881136pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#6D904F\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data04\", \"id\": \"el7520408882760pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#8B8B8B\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data05\", \"id\": \"el7520409228176pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#30A2DA\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data06\", \"id\": \"el7520408266064pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#FC4F30\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data07\", \"id\": \"el7520408156480pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#E5AE38\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data08\", \"id\": \"el7520407842376pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#6D904F\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data09\", \"id\": \"el7520409230304pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#8B8B8B\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data10\", \"id\": \"el7520409285240pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#30A2DA\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 2, \"data\": \"data09\", \"id\": \"el7520408267296pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#FC4F30\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data11\", \"id\": \"el7520409288152pts\"}], \"id\": \"el7520407718992\", \"ydomain\": [-0.10000000000000001, 1.1000000000000001], \"collections\": [], \"xscale\": \"linear\", \"bbox\": [0.080000000000000002, 0.125, 0.87, 0.77500000000000002]}], \"height\": 320.0, \"width\": 480.0, \"plugins\": [{\"type\": \"reset\"}, {\"enabled\": false, \"button\": true, \"type\": \"zoom\"}, {\"enabled\": false, \"button\": true, \"type\": \"boxzoom\"}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'poly', 'C': 0.01} (rep 0)</h1>\", \"<h1>{'kernel': 'poly', 'C': 0.01} (rep 1)</h1>\", \"<h1>{'kernel': 'poly', 'C': 0.01} (rep 2)</h1>\", \"<h1>{'kernel': 'poly', 'C': 0.01} (rep 3)</h1>\", \"<h1>{'kernel': 'poly', 'C': 0.01} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520408812512pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 0.01} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.01} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.01} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.01} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.01} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520408879848pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'poly', 'C': 0.1} (rep 0)</h1>\", \"<h1>{'kernel': 'poly', 'C': 0.1} (rep 1)</h1>\", \"<h1>{'kernel': 'poly', 'C': 0.1} (rep 2)</h1>\", \"<h1>{'kernel': 'poly', 'C': 0.1} (rep 3)</h1>\", \"<h1>{'kernel': 'poly', 'C': 0.1} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520408881136pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 0.1} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.1} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.1} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.1} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.1} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520408882760pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'poly', 'C': 1} (rep 0)</h1>\", \"<h1>{'kernel': 'poly', 'C': 1} (rep 1)</h1>\", \"<h1>{'kernel': 'poly', 'C': 1} (rep 2)</h1>\", \"<h1>{'kernel': 'poly', 'C': 1} (rep 3)</h1>\", \"<h1>{'kernel': 'poly', 'C': 1} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520409228176pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 1} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520408266064pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'poly', 'C': 10} (rep 0)</h1>\", \"<h1>{'kernel': 'poly', 'C': 10} (rep 1)</h1>\", \"<h1>{'kernel': 'poly', 'C': 10} (rep 2)</h1>\", \"<h1>{'kernel': 'poly', 'C': 10} (rep 3)</h1>\", \"<h1>{'kernel': 'poly', 'C': 10} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520408156480pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 10} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 10} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 10} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 10} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 10} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520407842376pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'poly', 'C': 100} (rep 0)</h1>\", \"<h1>{'kernel': 'poly', 'C': 100} (rep 1)</h1>\", \"<h1>{'kernel': 'poly', 'C': 100} (rep 2)</h1>\", \"<h1>{'kernel': 'poly', 'C': 100} (rep 3)</h1>\", \"<h1>{'kernel': 'poly', 'C': 100} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520409230304pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 100} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 100} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 100} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 100} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 100} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520409285240pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'poly', 'C': 1000} (rep 0)</h1>\", \"<h1>{'kernel': 'poly', 'C': 1000} (rep 1)</h1>\", \"<h1>{'kernel': 'poly', 'C': 1000} (rep 2)</h1>\", \"<h1>{'kernel': 'poly', 'C': 1000} (rep 3)</h1>\", \"<h1>{'kernel': 'poly', 'C': 1000} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520408267296pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 1000} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1000} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1000} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1000} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1000} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520409288152pts\", \"hoffset\": 10}], \"data\": {\"data12\": [[0.0, 0.6585365853658537, 0.7073170731707317, 0.575, 0.5897435897435898, 0.6153846153846154], [1.0, 0.5121951219512195, 0.5121951219512195, 0.525, 0.5128205128205128, 0.5128205128205128], [2.0, 0.926829268292683, 0.8292682926829268, 0.725, 0.7435897435897436, 0.6923076923076923], [3.0, 0.8780487804878049, 0.8048780487804879, 0.775, 0.8461538461538461, 0.8461538461538461], [4.0, 0.926829268292683, 0.7804878048780488, 0.75, 0.8461538461538461, 0.6923076923076923], [5.0, 0.9512195121951219, 0.8292682926829268, 0.8, 0.8974358974358975, 0.8205128205128205], [6.0, 0.8536585365853658, 0.8048780487804879, 0.75, 0.8717948717948718, 0.7948717948717948], [7.0, 0.9512195121951219, 0.8780487804878049, 0.875, 0.8717948717948718, 0.8461538461538461], [8.0, 0.8780487804878049, 0.8048780487804879, 0.75, 0.8974358974358975, 0.7948717948717948], [9.0, 0.926829268292683, 0.9024390243902439, 0.875, 0.9230769230769231, 0.8461538461538461], [10.0, 0.8780487804878049, 0.8048780487804879, 0.75, 0.8974358974358975, 0.7948717948717948], [11.0, 0.9024390243902439, 0.8780487804878049, 0.85, 0.8461538461538461, 0.8461538461538461]], \"data11\": [[11.0, 0.9024390243902439], [11.0, 0.8780487804878049], [11.0, 0.85], [11.0, 0.8461538461538461], [11.0, 0.8461538461538461]], \"data10\": [[9.0, 0.926829268292683], [9.0, 0.9024390243902439], [9.0, 0.875], [9.0, 0.9230769230769231], [9.0, 0.8461538461538461]], \"data08\": [[7.0, 0.9512195121951219], [7.0, 0.8780487804878049], [7.0, 0.875], [7.0, 0.8717948717948718], [7.0, 0.8461538461538461]], \"data09\": [[8.0, 0.8780487804878049, 10.0], [8.0, 0.8048780487804879, 10.0], [8.0, 0.75, 10.0], [8.0, 0.8974358974358975, 10.0], [8.0, 0.7948717948717948, 10.0]], \"data06\": [[5.0, 0.9512195121951219], [5.0, 0.8292682926829268], [5.0, 0.8], [5.0, 0.8974358974358975], [5.0, 0.8205128205128205]], \"data07\": [[6.0, 0.8536585365853658], [6.0, 0.8048780487804879], [6.0, 0.75], [6.0, 0.8717948717948718], [6.0, 0.7948717948717948]], \"data04\": [[3.0, 0.8780487804878049], [3.0, 0.8048780487804879], [3.0, 0.775], [3.0, 0.8461538461538461], [3.0, 0.8461538461538461]], \"data05\": [[4.0, 0.926829268292683], [4.0, 0.7804878048780488], [4.0, 0.75], [4.0, 0.8461538461538461], [4.0, 0.6923076923076923]], \"data02\": [[1.0, 0.5121951219512195], [1.0, 0.5121951219512195], [1.0, 0.525], [1.0, 0.5128205128205128], [1.0, 0.5128205128205128]], \"data03\": [[2.0, 0.926829268292683], [2.0, 0.8292682926829268], [2.0, 0.725], [2.0, 0.7435897435897436], [2.0, 0.6923076923076923]], \"data01\": [[0.0, 0.6585365853658537], [0.0, 0.7073170731707317], [0.0, 0.575], [0.0, 0.5897435897435898], [0.0, 0.6153846153846154]]}, \"id\": \"el752058115464\"});\n", | |
" }(mpld3);\n", | |
"}else if(typeof define === \"function\" && define.amd){\n", | |
" // require.js is available: use it to load d3/mpld3\n", | |
" require.config({paths: {d3: \"https://mpld3.github.io/js/d3.v3.min\"}});\n", | |
" require([\"d3\"], function(d3){\n", | |
" window.d3 = d3;\n", | |
" mpld3_load_lib(\"https://mpld3.github.io/js/mpld3.v0.2.js\", function(){\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.draw_figure(\"fig_el7520581154642555376278\", {\"axes\": [{\"xlim\": [-0.5, 11.5], \"yscale\": \"linear\", \"axesbg\": \"#F0F0F0\", \"texts\": [], \"zoomable\": true, \"images\": [], \"xdomain\": [-0.5, 11.5], \"ylim\": [-0.10000000000000001, 1.1000000000000001], \"paths\": [], \"sharey\": [], \"sharex\": [], \"axesbgalpha\": null, \"axes\": [{\"scale\": \"linear\", \"tickformat\": null, \"grid\": {\"color\": \"#CBCBCB\", \"alpha\": 1.0, \"dasharray\": \"10,0\", \"gridOn\": true}, \"fontsize\": 10.0, \"position\": \"bottom\", \"nticks\": 8, \"tickvalues\": null}, {\"scale\": \"linear\", \"tickformat\": null, \"grid\": {\"color\": \"#CBCBCB\", \"alpha\": 1.0, \"dasharray\": \"10,0\", \"gridOn\": true}, \"fontsize\": 10.0, \"position\": \"left\", \"nticks\": 8, \"tickvalues\": null}], \"lines\": [{\"color\": \"#808080\", \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"10,0\", \"zorder\": -5, \"alpha\": 1, \"xindex\": 0, \"linewidth\": 4.0, \"data\": \"data12\", \"id\": \"el7520409338656\"}, {\"color\": \"#808080\", \"yindex\": 2, \"coordinates\": \"data\", \"dasharray\": \"10,0\", \"zorder\": -5, \"alpha\": 1, \"xindex\": 0, \"linewidth\": 4.0, \"data\": \"data12\", \"id\": \"el7520409339328\"}, {\"color\": \"#808080\", \"yindex\": 3, \"coordinates\": \"data\", \"dasharray\": \"10,0\", \"zorder\": -5, \"alpha\": 1, \"xindex\": 0, \"linewidth\": 4.0, \"data\": \"data12\", \"id\": \"el7520409339608\"}, {\"color\": \"#808080\", \"yindex\": 4, \"coordinates\": \"data\", \"dasharray\": \"10,0\", \"zorder\": -5, \"alpha\": 1, \"xindex\": 0, \"linewidth\": 4.0, \"data\": \"data12\", \"id\": \"el7520409339888\"}, {\"color\": \"#808080\", \"yindex\": 5, \"coordinates\": \"data\", \"dasharray\": \"10,0\", \"zorder\": -5, \"alpha\": 1, \"xindex\": 0, \"linewidth\": 4.0, \"data\": \"data12\", \"id\": \"el7520409340168\"}], \"markers\": [{\"edgecolor\": \"#000000\", \"facecolor\": \"#30A2DA\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data01\", \"id\": \"el7520408812512pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#FC4F30\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data02\", \"id\": \"el7520408879848pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#E5AE38\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data03\", \"id\": \"el7520408881136pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#6D904F\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data04\", \"id\": \"el7520408882760pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#8B8B8B\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data05\", \"id\": \"el7520409228176pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#30A2DA\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data06\", \"id\": \"el7520408266064pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#FC4F30\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data07\", \"id\": \"el7520408156480pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#E5AE38\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data08\", \"id\": \"el7520407842376pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#6D904F\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data09\", \"id\": \"el7520409230304pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#8B8B8B\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data10\", \"id\": \"el7520409285240pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#30A2DA\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 2, \"data\": \"data09\", \"id\": \"el7520408267296pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#FC4F30\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data11\", \"id\": \"el7520409288152pts\"}], \"id\": \"el7520407718992\", \"ydomain\": [-0.10000000000000001, 1.1000000000000001], \"collections\": [], \"xscale\": \"linear\", \"bbox\": [0.080000000000000002, 0.125, 0.87, 0.77500000000000002]}], \"height\": 320.0, \"width\": 480.0, \"plugins\": [{\"type\": \"reset\"}, {\"enabled\": false, \"button\": true, \"type\": \"zoom\"}, {\"enabled\": false, \"button\": true, \"type\": \"boxzoom\"}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'poly', 'C': 0.01} (rep 0)</h1>\", \"<h1>{'kernel': 'poly', 'C': 0.01} (rep 1)</h1>\", \"<h1>{'kernel': 'poly', 'C': 0.01} (rep 2)</h1>\", \"<h1>{'kernel': 'poly', 'C': 0.01} (rep 3)</h1>\", \"<h1>{'kernel': 'poly', 'C': 0.01} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520408812512pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 0.01} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.01} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.01} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.01} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.01} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520408879848pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'poly', 'C': 0.1} (rep 0)</h1>\", \"<h1>{'kernel': 'poly', 'C': 0.1} (rep 1)</h1>\", \"<h1>{'kernel': 'poly', 'C': 0.1} (rep 2)</h1>\", \"<h1>{'kernel': 'poly', 'C': 0.1} (rep 3)</h1>\", \"<h1>{'kernel': 'poly', 'C': 0.1} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520408881136pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 0.1} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.1} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.1} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.1} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.1} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520408882760pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'poly', 'C': 1} (rep 0)</h1>\", \"<h1>{'kernel': 'poly', 'C': 1} (rep 1)</h1>\", \"<h1>{'kernel': 'poly', 'C': 1} (rep 2)</h1>\", \"<h1>{'kernel': 'poly', 'C': 1} (rep 3)</h1>\", \"<h1>{'kernel': 'poly', 'C': 1} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520409228176pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 1} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520408266064pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'poly', 'C': 10} (rep 0)</h1>\", \"<h1>{'kernel': 'poly', 'C': 10} (rep 1)</h1>\", \"<h1>{'kernel': 'poly', 'C': 10} (rep 2)</h1>\", \"<h1>{'kernel': 'poly', 'C': 10} (rep 3)</h1>\", \"<h1>{'kernel': 'poly', 'C': 10} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520408156480pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 10} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 10} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 10} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 10} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 10} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520407842376pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'poly', 'C': 100} (rep 0)</h1>\", \"<h1>{'kernel': 'poly', 'C': 100} (rep 1)</h1>\", \"<h1>{'kernel': 'poly', 'C': 100} (rep 2)</h1>\", \"<h1>{'kernel': 'poly', 'C': 100} (rep 3)</h1>\", \"<h1>{'kernel': 'poly', 'C': 100} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520409230304pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 100} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 100} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 100} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 100} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 100} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520409285240pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'poly', 'C': 1000} (rep 0)</h1>\", \"<h1>{'kernel': 'poly', 'C': 1000} (rep 1)</h1>\", \"<h1>{'kernel': 'poly', 'C': 1000} (rep 2)</h1>\", \"<h1>{'kernel': 'poly', 'C': 1000} (rep 3)</h1>\", \"<h1>{'kernel': 'poly', 'C': 1000} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520408267296pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 1000} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1000} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1000} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1000} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1000} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520409288152pts\", \"hoffset\": 10}], \"data\": {\"data12\": [[0.0, 0.6585365853658537, 0.7073170731707317, 0.575, 0.5897435897435898, 0.6153846153846154], [1.0, 0.5121951219512195, 0.5121951219512195, 0.525, 0.5128205128205128, 0.5128205128205128], [2.0, 0.926829268292683, 0.8292682926829268, 0.725, 0.7435897435897436, 0.6923076923076923], [3.0, 0.8780487804878049, 0.8048780487804879, 0.775, 0.8461538461538461, 0.8461538461538461], [4.0, 0.926829268292683, 0.7804878048780488, 0.75, 0.8461538461538461, 0.6923076923076923], [5.0, 0.9512195121951219, 0.8292682926829268, 0.8, 0.8974358974358975, 0.8205128205128205], [6.0, 0.8536585365853658, 0.8048780487804879, 0.75, 0.8717948717948718, 0.7948717948717948], [7.0, 0.9512195121951219, 0.8780487804878049, 0.875, 0.8717948717948718, 0.8461538461538461], [8.0, 0.8780487804878049, 0.8048780487804879, 0.75, 0.8974358974358975, 0.7948717948717948], [9.0, 0.926829268292683, 0.9024390243902439, 0.875, 0.9230769230769231, 0.8461538461538461], [10.0, 0.8780487804878049, 0.8048780487804879, 0.75, 0.8974358974358975, 0.7948717948717948], [11.0, 0.9024390243902439, 0.8780487804878049, 0.85, 0.8461538461538461, 0.8461538461538461]], \"data11\": [[11.0, 0.9024390243902439], [11.0, 0.8780487804878049], [11.0, 0.85], [11.0, 0.8461538461538461], [11.0, 0.8461538461538461]], \"data10\": [[9.0, 0.926829268292683], [9.0, 0.9024390243902439], [9.0, 0.875], [9.0, 0.9230769230769231], [9.0, 0.8461538461538461]], \"data08\": [[7.0, 0.9512195121951219], [7.0, 0.8780487804878049], [7.0, 0.875], [7.0, 0.8717948717948718], [7.0, 0.8461538461538461]], \"data09\": [[8.0, 0.8780487804878049, 10.0], [8.0, 0.8048780487804879, 10.0], [8.0, 0.75, 10.0], [8.0, 0.8974358974358975, 10.0], [8.0, 0.7948717948717948, 10.0]], \"data06\": [[5.0, 0.9512195121951219], [5.0, 0.8292682926829268], [5.0, 0.8], [5.0, 0.8974358974358975], [5.0, 0.8205128205128205]], \"data07\": [[6.0, 0.8536585365853658], [6.0, 0.8048780487804879], [6.0, 0.75], [6.0, 0.8717948717948718], [6.0, 0.7948717948717948]], \"data04\": [[3.0, 0.8780487804878049], [3.0, 0.8048780487804879], [3.0, 0.775], [3.0, 0.8461538461538461], [3.0, 0.8461538461538461]], \"data05\": [[4.0, 0.926829268292683], [4.0, 0.7804878048780488], [4.0, 0.75], [4.0, 0.8461538461538461], [4.0, 0.6923076923076923]], \"data02\": [[1.0, 0.5121951219512195], [1.0, 0.5121951219512195], [1.0, 0.525], [1.0, 0.5128205128205128], [1.0, 0.5128205128205128]], \"data03\": [[2.0, 0.926829268292683], [2.0, 0.8292682926829268], [2.0, 0.725], [2.0, 0.7435897435897436], [2.0, 0.6923076923076923]], \"data01\": [[0.0, 0.6585365853658537], [0.0, 0.7073170731707317], [0.0, 0.575], [0.0, 0.5897435897435898], [0.0, 0.6153846153846154]]}, \"id\": \"el752058115464\"});\n", | |
" });\n", | |
" });\n", | |
"}else{\n", | |
" // require.js not available: dynamically load d3 & mpld3\n", | |
" mpld3_load_lib(\"https://mpld3.github.io/js/d3.v3.min.js\", function(){\n", | |
" mpld3_load_lib(\"https://mpld3.github.io/js/mpld3.v0.2.js\", function(){\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.draw_figure(\"fig_el7520581154642555376278\", {\"axes\": [{\"xlim\": [-0.5, 11.5], \"yscale\": \"linear\", \"axesbg\": \"#F0F0F0\", \"texts\": [], \"zoomable\": true, \"images\": [], \"xdomain\": [-0.5, 11.5], \"ylim\": [-0.10000000000000001, 1.1000000000000001], \"paths\": [], \"sharey\": [], \"sharex\": [], \"axesbgalpha\": null, \"axes\": [{\"scale\": \"linear\", \"tickformat\": null, \"grid\": {\"color\": \"#CBCBCB\", \"alpha\": 1.0, \"dasharray\": \"10,0\", \"gridOn\": true}, \"fontsize\": 10.0, \"position\": \"bottom\", \"nticks\": 8, \"tickvalues\": null}, {\"scale\": \"linear\", \"tickformat\": null, \"grid\": {\"color\": \"#CBCBCB\", \"alpha\": 1.0, \"dasharray\": \"10,0\", \"gridOn\": true}, \"fontsize\": 10.0, \"position\": \"left\", \"nticks\": 8, \"tickvalues\": null}], \"lines\": [{\"color\": \"#808080\", \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"10,0\", \"zorder\": -5, \"alpha\": 1, \"xindex\": 0, \"linewidth\": 4.0, \"data\": \"data12\", \"id\": \"el7520409338656\"}, {\"color\": \"#808080\", \"yindex\": 2, \"coordinates\": \"data\", \"dasharray\": \"10,0\", \"zorder\": -5, \"alpha\": 1, \"xindex\": 0, \"linewidth\": 4.0, \"data\": \"data12\", \"id\": \"el7520409339328\"}, {\"color\": \"#808080\", \"yindex\": 3, \"coordinates\": \"data\", \"dasharray\": \"10,0\", \"zorder\": -5, \"alpha\": 1, \"xindex\": 0, \"linewidth\": 4.0, \"data\": \"data12\", \"id\": \"el7520409339608\"}, {\"color\": \"#808080\", \"yindex\": 4, \"coordinates\": \"data\", \"dasharray\": \"10,0\", \"zorder\": -5, \"alpha\": 1, \"xindex\": 0, \"linewidth\": 4.0, \"data\": \"data12\", \"id\": \"el7520409339888\"}, {\"color\": \"#808080\", \"yindex\": 5, \"coordinates\": \"data\", \"dasharray\": \"10,0\", \"zorder\": -5, \"alpha\": 1, \"xindex\": 0, \"linewidth\": 4.0, \"data\": \"data12\", \"id\": \"el7520409340168\"}], \"markers\": [{\"edgecolor\": \"#000000\", \"facecolor\": \"#30A2DA\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data01\", \"id\": \"el7520408812512pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#FC4F30\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data02\", \"id\": \"el7520408879848pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#E5AE38\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data03\", \"id\": \"el7520408881136pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#6D904F\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data04\", \"id\": \"el7520408882760pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#8B8B8B\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data05\", \"id\": \"el7520409228176pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#30A2DA\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data06\", \"id\": \"el7520408266064pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#FC4F30\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data07\", \"id\": \"el7520408156480pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#E5AE38\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data08\", \"id\": \"el7520407842376pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#6D904F\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data09\", \"id\": \"el7520409230304pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#8B8B8B\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data10\", \"id\": \"el7520409285240pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#30A2DA\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 2, \"data\": \"data09\", \"id\": \"el7520408267296pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#FC4F30\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data11\", \"id\": \"el7520409288152pts\"}], \"id\": \"el7520407718992\", \"ydomain\": [-0.10000000000000001, 1.1000000000000001], \"collections\": [], \"xscale\": \"linear\", \"bbox\": [0.080000000000000002, 0.125, 0.87, 0.77500000000000002]}], \"height\": 320.0, \"width\": 480.0, \"plugins\": [{\"type\": \"reset\"}, {\"enabled\": false, \"button\": true, \"type\": \"zoom\"}, {\"enabled\": false, \"button\": true, \"type\": \"boxzoom\"}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'poly', 'C': 0.01} (rep 0)</h1>\", \"<h1>{'kernel': 'poly', 'C': 0.01} (rep 1)</h1>\", \"<h1>{'kernel': 'poly', 'C': 0.01} (rep 2)</h1>\", \"<h1>{'kernel': 'poly', 'C': 0.01} (rep 3)</h1>\", \"<h1>{'kernel': 'poly', 'C': 0.01} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520408812512pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 0.01} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.01} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.01} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.01} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.01} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520408879848pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'poly', 'C': 0.1} (rep 0)</h1>\", \"<h1>{'kernel': 'poly', 'C': 0.1} (rep 1)</h1>\", \"<h1>{'kernel': 'poly', 'C': 0.1} (rep 2)</h1>\", \"<h1>{'kernel': 'poly', 'C': 0.1} (rep 3)</h1>\", \"<h1>{'kernel': 'poly', 'C': 0.1} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520408881136pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 0.1} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.1} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.1} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.1} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.1} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520408882760pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'poly', 'C': 1} (rep 0)</h1>\", \"<h1>{'kernel': 'poly', 'C': 1} (rep 1)</h1>\", \"<h1>{'kernel': 'poly', 'C': 1} (rep 2)</h1>\", \"<h1>{'kernel': 'poly', 'C': 1} (rep 3)</h1>\", \"<h1>{'kernel': 'poly', 'C': 1} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520409228176pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 1} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520408266064pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'poly', 'C': 10} (rep 0)</h1>\", \"<h1>{'kernel': 'poly', 'C': 10} (rep 1)</h1>\", \"<h1>{'kernel': 'poly', 'C': 10} (rep 2)</h1>\", \"<h1>{'kernel': 'poly', 'C': 10} (rep 3)</h1>\", \"<h1>{'kernel': 'poly', 'C': 10} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520408156480pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 10} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 10} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 10} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 10} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 10} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520407842376pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'poly', 'C': 100} (rep 0)</h1>\", \"<h1>{'kernel': 'poly', 'C': 100} (rep 1)</h1>\", \"<h1>{'kernel': 'poly', 'C': 100} (rep 2)</h1>\", \"<h1>{'kernel': 'poly', 'C': 100} (rep 3)</h1>\", \"<h1>{'kernel': 'poly', 'C': 100} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520409230304pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 100} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 100} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 100} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 100} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 100} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520409285240pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'poly', 'C': 1000} (rep 0)</h1>\", \"<h1>{'kernel': 'poly', 'C': 1000} (rep 1)</h1>\", \"<h1>{'kernel': 'poly', 'C': 1000} (rep 2)</h1>\", \"<h1>{'kernel': 'poly', 'C': 1000} (rep 3)</h1>\", \"<h1>{'kernel': 'poly', 'C': 1000} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520408267296pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 1000} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1000} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1000} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1000} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1000} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520409288152pts\", \"hoffset\": 10}], \"data\": {\"data12\": [[0.0, 0.6585365853658537, 0.7073170731707317, 0.575, 0.5897435897435898, 0.6153846153846154], [1.0, 0.5121951219512195, 0.5121951219512195, 0.525, 0.5128205128205128, 0.5128205128205128], [2.0, 0.926829268292683, 0.8292682926829268, 0.725, 0.7435897435897436, 0.6923076923076923], [3.0, 0.8780487804878049, 0.8048780487804879, 0.775, 0.8461538461538461, 0.8461538461538461], [4.0, 0.926829268292683, 0.7804878048780488, 0.75, 0.8461538461538461, 0.6923076923076923], [5.0, 0.9512195121951219, 0.8292682926829268, 0.8, 0.8974358974358975, 0.8205128205128205], [6.0, 0.8536585365853658, 0.8048780487804879, 0.75, 0.8717948717948718, 0.7948717948717948], [7.0, 0.9512195121951219, 0.8780487804878049, 0.875, 0.8717948717948718, 0.8461538461538461], [8.0, 0.8780487804878049, 0.8048780487804879, 0.75, 0.8974358974358975, 0.7948717948717948], [9.0, 0.926829268292683, 0.9024390243902439, 0.875, 0.9230769230769231, 0.8461538461538461], [10.0, 0.8780487804878049, 0.8048780487804879, 0.75, 0.8974358974358975, 0.7948717948717948], [11.0, 0.9024390243902439, 0.8780487804878049, 0.85, 0.8461538461538461, 0.8461538461538461]], \"data11\": [[11.0, 0.9024390243902439], [11.0, 0.8780487804878049], [11.0, 0.85], [11.0, 0.8461538461538461], [11.0, 0.8461538461538461]], \"data10\": [[9.0, 0.926829268292683], [9.0, 0.9024390243902439], [9.0, 0.875], [9.0, 0.9230769230769231], [9.0, 0.8461538461538461]], \"data08\": [[7.0, 0.9512195121951219], [7.0, 0.8780487804878049], [7.0, 0.875], [7.0, 0.8717948717948718], [7.0, 0.8461538461538461]], \"data09\": [[8.0, 0.8780487804878049, 10.0], [8.0, 0.8048780487804879, 10.0], [8.0, 0.75, 10.0], [8.0, 0.8974358974358975, 10.0], [8.0, 0.7948717948717948, 10.0]], \"data06\": [[5.0, 0.9512195121951219], [5.0, 0.8292682926829268], [5.0, 0.8], [5.0, 0.8974358974358975], [5.0, 0.8205128205128205]], \"data07\": [[6.0, 0.8536585365853658], [6.0, 0.8048780487804879], [6.0, 0.75], [6.0, 0.8717948717948718], [6.0, 0.7948717948717948]], \"data04\": [[3.0, 0.8780487804878049], [3.0, 0.8048780487804879], [3.0, 0.775], [3.0, 0.8461538461538461], [3.0, 0.8461538461538461]], \"data05\": [[4.0, 0.926829268292683], [4.0, 0.7804878048780488], [4.0, 0.75], [4.0, 0.8461538461538461], [4.0, 0.6923076923076923]], \"data02\": [[1.0, 0.5121951219512195], [1.0, 0.5121951219512195], [1.0, 0.525], [1.0, 0.5128205128205128], [1.0, 0.5128205128205128]], \"data03\": [[2.0, 0.926829268292683], [2.0, 0.8292682926829268], [2.0, 0.725], [2.0, 0.7435897435897436], [2.0, 0.6923076923076923]], \"data01\": [[0.0, 0.6585365853658537], [0.0, 0.7073170731707317], [0.0, 0.575], [0.0, 0.5897435897435898], [0.0, 0.6153846153846154]]}, \"id\": \"el752058115464\"});\n", | |
" })\n", | |
" });\n", | |
"}\n", | |
"</script>" | |
], | |
"text/plain": [ | |
"<IPython.core.display.HTML object>" | |
] | |
}, | |
"execution_count": 3, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"def show_search_results(C, kernel):\n", | |
" cv_scores = []\n", | |
" x_pos = []\n", | |
" x_i = 0\n", | |
" \n", | |
" for i, gs_i in enumerate(clf.grid_scores_):\n", | |
" if gs_i.parameters['C'] not in C or gs_i.parameters['kernel'] not in kernel:\n", | |
" continue\n", | |
" reps = len(gs_i.cv_validation_scores)\n", | |
" pts, = plt.plot([x_i for _ in range(reps)], gs_i.cv_validation_scores, 'o', ms=25, alpha=.5)\n", | |
" \n", | |
" cv_scores.append(gs_i.cv_validation_scores)\n", | |
" x_pos.append(x_i)\n", | |
" x_i += 1\n", | |
" \n", | |
" labels = ['<h1>{} (rep {})</h1>'.format(gs_i.parameters, j) for j in range(reps)]\n", | |
" tt = mpld3.plugins.PointHTMLTooltip(pts, labels, hoffset=10)\n", | |
" mpld3.plugins.connect(plt.gcf(), tt)\n", | |
"\n", | |
" plt.plot(np.array(cv_scores), color='grey', zorder=-5)\n", | |
" plt.axis([-.5, x_i-.5, -.1, 1.1])\n", | |
" return mpld3.display()\n", | |
" \n", | |
"show_search_results(**clf.param_grid)" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 4, | |
"metadata": { | |
"collapsed": false | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"text/html": [ | |
"\n", | |
"\n", | |
"<style>\n", | |
"\n", | |
"</style>\n", | |
"\n", | |
"<div id=\"fig_el7520581153523921377480\"></div>\n", | |
"<script>\n", | |
"function mpld3_load_lib(url, callback){\n", | |
" var s = document.createElement('script');\n", | |
" s.src = url;\n", | |
" s.async = true;\n", | |
" s.onreadystatechange = s.onload = callback;\n", | |
" s.onerror = function(){console.warn(\"failed to load library \" + url);};\n", | |
" document.getElementsByTagName(\"head\")[0].appendChild(s);\n", | |
"}\n", | |
"\n", | |
"if(typeof(mpld3) !== \"undefined\" && mpld3._mpld3IsLoaded){\n", | |
" // already loaded: just create the figure\n", | |
" !function(mpld3){\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.draw_figure(\"fig_el7520581153523921377480\", {\"axes\": [{\"xlim\": [-0.5, 5.5], \"yscale\": \"linear\", \"axesbg\": \"#F0F0F0\", \"texts\": [], \"zoomable\": true, \"images\": [], \"xdomain\": [-0.5, 5.5], \"ylim\": [-0.10000000000000001, 1.1000000000000001], \"paths\": [], \"sharey\": [], \"sharex\": [], \"axesbgalpha\": null, \"axes\": [{\"scale\": \"linear\", \"tickformat\": null, \"grid\": {\"color\": \"#CBCBCB\", \"alpha\": 1.0, \"dasharray\": \"10,0\", \"gridOn\": true}, \"fontsize\": 10.0, \"position\": \"bottom\", \"nticks\": 8, \"tickvalues\": null}, {\"scale\": \"linear\", \"tickformat\": null, \"grid\": {\"color\": \"#CBCBCB\", \"alpha\": 1.0, \"dasharray\": \"10,0\", \"gridOn\": true}, \"fontsize\": 10.0, \"position\": \"left\", \"nticks\": 8, \"tickvalues\": null}], \"lines\": [{\"color\": \"#808080\", \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"10,0\", \"zorder\": -5, \"alpha\": 1, \"xindex\": 0, \"linewidth\": 4.0, \"data\": \"data07\", \"id\": \"el7520412957160\"}, {\"color\": \"#808080\", \"yindex\": 2, \"coordinates\": \"data\", \"dasharray\": \"10,0\", \"zorder\": -5, \"alpha\": 1, \"xindex\": 0, \"linewidth\": 4.0, \"data\": \"data07\", \"id\": \"el7520412957832\"}, {\"color\": \"#808080\", \"yindex\": 3, \"coordinates\": \"data\", \"dasharray\": \"10,0\", \"zorder\": -5, \"alpha\": 1, \"xindex\": 0, \"linewidth\": 4.0, \"data\": \"data07\", \"id\": \"el7520412958112\"}, {\"color\": \"#808080\", \"yindex\": 4, \"coordinates\": \"data\", \"dasharray\": \"10,0\", \"zorder\": -5, \"alpha\": 1, \"xindex\": 0, \"linewidth\": 4.0, \"data\": \"data07\", \"id\": \"el7520412958392\"}, {\"color\": \"#808080\", \"yindex\": 5, \"coordinates\": \"data\", \"dasharray\": \"10,0\", \"zorder\": -5, \"alpha\": 1, \"xindex\": 0, \"linewidth\": 4.0, \"data\": \"data07\", \"id\": \"el7520412958672\"}], \"markers\": [{\"edgecolor\": \"#000000\", \"facecolor\": \"#30A2DA\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data01\", \"id\": \"el7520412837704pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#FC4F30\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data02\", \"id\": \"el7520412839384pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#E5AE38\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data03\", \"id\": \"el7520412898024pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#6D904F\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data04\", \"id\": \"el7520412899480pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#8B8B8B\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data05\", \"id\": \"el7520412900936pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#30A2DA\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data06\", \"id\": \"el7520411268488pts\"}], \"id\": \"el7520407428624\", \"ydomain\": [-0.10000000000000001, 1.1000000000000001], \"collections\": [], \"xscale\": \"linear\", \"bbox\": [0.080000000000000002, 0.125, 0.87, 0.77500000000000002]}], \"height\": 320.0, \"width\": 480.0, \"plugins\": [{\"type\": \"reset\"}, {\"enabled\": false, \"button\": true, \"type\": \"zoom\"}, {\"enabled\": false, \"button\": true, \"type\": \"boxzoom\"}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 0.01} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.01} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.01} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.01} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.01} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520412837704pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 0.1} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.1} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.1} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.1} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.1} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520412839384pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 1} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520412898024pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 10} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 10} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 10} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 10} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 10} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520412899480pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 100} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 100} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 100} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 100} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 100} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520412900936pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 1000} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1000} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1000} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1000} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1000} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520411268488pts\", \"hoffset\": 10}], \"data\": {\"data06\": [[5.0, 0.9024390243902439], [5.0, 0.8780487804878049], [5.0, 0.85], [5.0, 0.8461538461538461], [5.0, 0.8461538461538461]], \"data07\": [[0.0, 0.5121951219512195, 0.5121951219512195, 0.525, 0.5128205128205128, 0.5128205128205128], [1.0, 0.8780487804878049, 0.8048780487804879, 0.775, 0.8461538461538461, 0.8461538461538461], [2.0, 0.9512195121951219, 0.8292682926829268, 0.8, 0.8974358974358975, 0.8205128205128205], [3.0, 0.9512195121951219, 0.8780487804878049, 0.875, 0.8717948717948718, 0.8461538461538461], [4.0, 0.926829268292683, 0.9024390243902439, 0.875, 0.9230769230769231, 0.8461538461538461], [5.0, 0.9024390243902439, 0.8780487804878049, 0.85, 0.8461538461538461, 0.8461538461538461]], \"data04\": [[3.0, 0.9512195121951219], [3.0, 0.8780487804878049], [3.0, 0.875], [3.0, 0.8717948717948718], [3.0, 0.8461538461538461]], \"data05\": [[4.0, 0.926829268292683], [4.0, 0.9024390243902439], [4.0, 0.875], [4.0, 0.9230769230769231], [4.0, 0.8461538461538461]], \"data02\": [[1.0, 0.8780487804878049], [1.0, 0.8048780487804879], [1.0, 0.775], [1.0, 0.8461538461538461], [1.0, 0.8461538461538461]], \"data03\": [[2.0, 0.9512195121951219], [2.0, 0.8292682926829268], [2.0, 0.8], [2.0, 0.8974358974358975], [2.0, 0.8205128205128205]], \"data01\": [[0.0, 0.5121951219512195], [0.0, 0.5121951219512195], [0.0, 0.525], [0.0, 0.5128205128205128], [0.0, 0.5128205128205128]]}, \"id\": \"el752058115352\"});\n", | |
" }(mpld3);\n", | |
"}else if(typeof define === \"function\" && define.amd){\n", | |
" // require.js is available: use it to load d3/mpld3\n", | |
" require.config({paths: {d3: \"https://mpld3.github.io/js/d3.v3.min\"}});\n", | |
" require([\"d3\"], function(d3){\n", | |
" window.d3 = d3;\n", | |
" mpld3_load_lib(\"https://mpld3.github.io/js/mpld3.v0.2.js\", function(){\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.draw_figure(\"fig_el7520581153523921377480\", {\"axes\": [{\"xlim\": [-0.5, 5.5], \"yscale\": \"linear\", \"axesbg\": \"#F0F0F0\", \"texts\": [], \"zoomable\": true, \"images\": [], \"xdomain\": [-0.5, 5.5], \"ylim\": [-0.10000000000000001, 1.1000000000000001], \"paths\": [], \"sharey\": [], \"sharex\": [], \"axesbgalpha\": null, \"axes\": [{\"scale\": \"linear\", \"tickformat\": null, \"grid\": {\"color\": \"#CBCBCB\", \"alpha\": 1.0, \"dasharray\": \"10,0\", \"gridOn\": true}, \"fontsize\": 10.0, \"position\": \"bottom\", \"nticks\": 8, \"tickvalues\": null}, {\"scale\": \"linear\", \"tickformat\": null, \"grid\": {\"color\": \"#CBCBCB\", \"alpha\": 1.0, \"dasharray\": \"10,0\", \"gridOn\": true}, \"fontsize\": 10.0, \"position\": \"left\", \"nticks\": 8, \"tickvalues\": null}], \"lines\": [{\"color\": \"#808080\", \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"10,0\", \"zorder\": -5, \"alpha\": 1, \"xindex\": 0, \"linewidth\": 4.0, \"data\": \"data07\", \"id\": \"el7520412957160\"}, {\"color\": \"#808080\", \"yindex\": 2, \"coordinates\": \"data\", \"dasharray\": \"10,0\", \"zorder\": -5, \"alpha\": 1, \"xindex\": 0, \"linewidth\": 4.0, \"data\": \"data07\", \"id\": \"el7520412957832\"}, {\"color\": \"#808080\", \"yindex\": 3, \"coordinates\": \"data\", \"dasharray\": \"10,0\", \"zorder\": -5, \"alpha\": 1, \"xindex\": 0, \"linewidth\": 4.0, \"data\": \"data07\", \"id\": \"el7520412958112\"}, {\"color\": \"#808080\", \"yindex\": 4, \"coordinates\": \"data\", \"dasharray\": \"10,0\", \"zorder\": -5, \"alpha\": 1, \"xindex\": 0, \"linewidth\": 4.0, \"data\": \"data07\", \"id\": \"el7520412958392\"}, {\"color\": \"#808080\", \"yindex\": 5, \"coordinates\": \"data\", \"dasharray\": \"10,0\", \"zorder\": -5, \"alpha\": 1, \"xindex\": 0, \"linewidth\": 4.0, \"data\": \"data07\", \"id\": \"el7520412958672\"}], \"markers\": [{\"edgecolor\": \"#000000\", \"facecolor\": \"#30A2DA\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data01\", \"id\": \"el7520412837704pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#FC4F30\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data02\", \"id\": \"el7520412839384pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#E5AE38\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data03\", \"id\": \"el7520412898024pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#6D904F\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data04\", \"id\": \"el7520412899480pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#8B8B8B\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data05\", \"id\": \"el7520412900936pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#30A2DA\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data06\", \"id\": \"el7520411268488pts\"}], \"id\": \"el7520407428624\", \"ydomain\": [-0.10000000000000001, 1.1000000000000001], \"collections\": [], \"xscale\": \"linear\", \"bbox\": [0.080000000000000002, 0.125, 0.87, 0.77500000000000002]}], \"height\": 320.0, \"width\": 480.0, \"plugins\": [{\"type\": \"reset\"}, {\"enabled\": false, \"button\": true, \"type\": \"zoom\"}, {\"enabled\": false, \"button\": true, \"type\": \"boxzoom\"}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 0.01} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.01} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.01} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.01} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.01} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520412837704pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 0.1} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.1} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.1} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.1} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.1} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520412839384pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 1} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520412898024pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 10} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 10} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 10} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 10} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 10} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520412899480pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 100} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 100} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 100} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 100} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 100} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520412900936pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 1000} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1000} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1000} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1000} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1000} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520411268488pts\", \"hoffset\": 10}], \"data\": {\"data06\": [[5.0, 0.9024390243902439], [5.0, 0.8780487804878049], [5.0, 0.85], [5.0, 0.8461538461538461], [5.0, 0.8461538461538461]], \"data07\": [[0.0, 0.5121951219512195, 0.5121951219512195, 0.525, 0.5128205128205128, 0.5128205128205128], [1.0, 0.8780487804878049, 0.8048780487804879, 0.775, 0.8461538461538461, 0.8461538461538461], [2.0, 0.9512195121951219, 0.8292682926829268, 0.8, 0.8974358974358975, 0.8205128205128205], [3.0, 0.9512195121951219, 0.8780487804878049, 0.875, 0.8717948717948718, 0.8461538461538461], [4.0, 0.926829268292683, 0.9024390243902439, 0.875, 0.9230769230769231, 0.8461538461538461], [5.0, 0.9024390243902439, 0.8780487804878049, 0.85, 0.8461538461538461, 0.8461538461538461]], \"data04\": [[3.0, 0.9512195121951219], [3.0, 0.8780487804878049], [3.0, 0.875], [3.0, 0.8717948717948718], [3.0, 0.8461538461538461]], \"data05\": [[4.0, 0.926829268292683], [4.0, 0.9024390243902439], [4.0, 0.875], [4.0, 0.9230769230769231], [4.0, 0.8461538461538461]], \"data02\": [[1.0, 0.8780487804878049], [1.0, 0.8048780487804879], [1.0, 0.775], [1.0, 0.8461538461538461], [1.0, 0.8461538461538461]], \"data03\": [[2.0, 0.9512195121951219], [2.0, 0.8292682926829268], [2.0, 0.8], [2.0, 0.8974358974358975], [2.0, 0.8205128205128205]], \"data01\": [[0.0, 0.5121951219512195], [0.0, 0.5121951219512195], [0.0, 0.525], [0.0, 0.5128205128205128], [0.0, 0.5128205128205128]]}, \"id\": \"el752058115352\"});\n", | |
" });\n", | |
" });\n", | |
"}else{\n", | |
" // require.js not available: dynamically load d3 & mpld3\n", | |
" mpld3_load_lib(\"https://mpld3.github.io/js/d3.v3.min.js\", function(){\n", | |
" mpld3_load_lib(\"https://mpld3.github.io/js/mpld3.v0.2.js\", function(){\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.register_plugin(\"htmltooltip\", HtmlTooltipPlugin);\n", | |
" HtmlTooltipPlugin.prototype = Object.create(mpld3.Plugin.prototype);\n", | |
" HtmlTooltipPlugin.prototype.constructor = HtmlTooltipPlugin;\n", | |
" HtmlTooltipPlugin.prototype.requiredProps = [\"id\"];\n", | |
" HtmlTooltipPlugin.prototype.defaultProps = {labels:null, hoffset:0, voffset:10};\n", | |
" function HtmlTooltipPlugin(fig, props){\n", | |
" mpld3.Plugin.call(this, fig, props);\n", | |
" };\n", | |
"\n", | |
" HtmlTooltipPlugin.prototype.draw = function(){\n", | |
" var obj = mpld3.get_element(this.props.id);\n", | |
" var labels = this.props.labels;\n", | |
" var tooltip = d3.select(\"body\").append(\"div\")\n", | |
" .attr(\"class\", \"mpld3-tooltip\")\n", | |
" .style(\"position\", \"absolute\")\n", | |
" .style(\"z-index\", \"10\")\n", | |
" .style(\"visibility\", \"hidden\");\n", | |
"\n", | |
" obj.elements()\n", | |
" .on(\"mouseover\", function(d, i){\n", | |
" tooltip.html(labels[i])\n", | |
" .style(\"visibility\", \"visible\");})\n", | |
" .on(\"mousemove\", function(d, i){\n", | |
" tooltip\n", | |
" .style(\"top\", d3.event.pageY + this.props.voffset + \"px\")\n", | |
" .style(\"left\",d3.event.pageX + this.props.hoffset + \"px\");\n", | |
" }.bind(this))\n", | |
" .on(\"mouseout\", function(d, i){\n", | |
" tooltip.style(\"visibility\", \"hidden\");});\n", | |
" };\n", | |
" \n", | |
" mpld3.draw_figure(\"fig_el7520581153523921377480\", {\"axes\": [{\"xlim\": [-0.5, 5.5], \"yscale\": \"linear\", \"axesbg\": \"#F0F0F0\", \"texts\": [], \"zoomable\": true, \"images\": [], \"xdomain\": [-0.5, 5.5], \"ylim\": [-0.10000000000000001, 1.1000000000000001], \"paths\": [], \"sharey\": [], \"sharex\": [], \"axesbgalpha\": null, \"axes\": [{\"scale\": \"linear\", \"tickformat\": null, \"grid\": {\"color\": \"#CBCBCB\", \"alpha\": 1.0, \"dasharray\": \"10,0\", \"gridOn\": true}, \"fontsize\": 10.0, \"position\": \"bottom\", \"nticks\": 8, \"tickvalues\": null}, {\"scale\": \"linear\", \"tickformat\": null, \"grid\": {\"color\": \"#CBCBCB\", \"alpha\": 1.0, \"dasharray\": \"10,0\", \"gridOn\": true}, \"fontsize\": 10.0, \"position\": \"left\", \"nticks\": 8, \"tickvalues\": null}], \"lines\": [{\"color\": \"#808080\", \"yindex\": 1, \"coordinates\": \"data\", \"dasharray\": \"10,0\", \"zorder\": -5, \"alpha\": 1, \"xindex\": 0, \"linewidth\": 4.0, \"data\": \"data07\", \"id\": \"el7520412957160\"}, {\"color\": \"#808080\", \"yindex\": 2, \"coordinates\": \"data\", \"dasharray\": \"10,0\", \"zorder\": -5, \"alpha\": 1, \"xindex\": 0, \"linewidth\": 4.0, \"data\": \"data07\", \"id\": \"el7520412957832\"}, {\"color\": \"#808080\", \"yindex\": 3, \"coordinates\": \"data\", \"dasharray\": \"10,0\", \"zorder\": -5, \"alpha\": 1, \"xindex\": 0, \"linewidth\": 4.0, \"data\": \"data07\", \"id\": \"el7520412958112\"}, {\"color\": \"#808080\", \"yindex\": 4, \"coordinates\": \"data\", \"dasharray\": \"10,0\", \"zorder\": -5, \"alpha\": 1, \"xindex\": 0, \"linewidth\": 4.0, \"data\": \"data07\", \"id\": \"el7520412958392\"}, {\"color\": \"#808080\", \"yindex\": 5, \"coordinates\": \"data\", \"dasharray\": \"10,0\", \"zorder\": -5, \"alpha\": 1, \"xindex\": 0, \"linewidth\": 4.0, \"data\": \"data07\", \"id\": \"el7520412958672\"}], \"markers\": [{\"edgecolor\": \"#000000\", \"facecolor\": \"#30A2DA\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data01\", \"id\": \"el7520412837704pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#FC4F30\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data02\", \"id\": \"el7520412839384pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#E5AE38\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data03\", \"id\": \"el7520412898024pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#6D904F\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data04\", \"id\": \"el7520412899480pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#8B8B8B\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data05\", \"id\": \"el7520412900936pts\"}, {\"edgecolor\": \"#000000\", \"facecolor\": \"#30A2DA\", \"edgewidth\": 0.5, \"yindex\": 1, \"coordinates\": \"data\", \"zorder\": 2, \"markerpath\": [[[0.0, 12.5], [3.3150387500000003, 12.5], [6.494748384810668, 11.18292114485302], [8.838834764831844, 8.838834764831844], [11.18292114485302, 6.494748384810668], [12.5, 3.3150387500000003], [12.5, 0.0], [12.5, -3.3150387500000003], [11.18292114485302, -6.494748384810668], [8.838834764831844, -8.838834764831844], [6.494748384810668, -11.18292114485302], [3.3150387500000003, -12.5], [0.0, -12.5], [-3.3150387500000003, -12.5], [-6.494748384810668, -11.18292114485302], [-8.838834764831844, -8.838834764831844], [-11.18292114485302, -6.494748384810668], [-12.5, -3.3150387500000003], [-12.5, 0.0], [-12.5, 3.3150387500000003], [-11.18292114485302, 6.494748384810668], [-8.838834764831844, 8.838834764831844], [-6.494748384810668, 11.18292114485302], [-3.3150387500000003, 12.5], [0.0, 12.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]], \"alpha\": 0.5, \"xindex\": 0, \"data\": \"data06\", \"id\": \"el7520411268488pts\"}], \"id\": \"el7520407428624\", \"ydomain\": [-0.10000000000000001, 1.1000000000000001], \"collections\": [], \"xscale\": \"linear\", \"bbox\": [0.080000000000000002, 0.125, 0.87, 0.77500000000000002]}], \"height\": 320.0, \"width\": 480.0, \"plugins\": [{\"type\": \"reset\"}, {\"enabled\": false, \"button\": true, \"type\": \"zoom\"}, {\"enabled\": false, \"button\": true, \"type\": \"boxzoom\"}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 0.01} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.01} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.01} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.01} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.01} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520412837704pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 0.1} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.1} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.1} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.1} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 0.1} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520412839384pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 1} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520412898024pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 10} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 10} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 10} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 10} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 10} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520412899480pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 100} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 100} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 100} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 100} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 100} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520412900936pts\", \"hoffset\": 10}, {\"voffset\": 10, \"labels\": [\"<h1>{'kernel': 'rbf', 'C': 1000} (rep 0)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1000} (rep 1)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1000} (rep 2)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1000} (rep 3)</h1>\", \"<h1>{'kernel': 'rbf', 'C': 1000} (rep 4)</h1>\"], \"type\": \"htmltooltip\", \"id\": \"el7520411268488pts\", \"hoffset\": 10}], \"data\": {\"data06\": [[5.0, 0.9024390243902439], [5.0, 0.8780487804878049], [5.0, 0.85], [5.0, 0.8461538461538461], [5.0, 0.8461538461538461]], \"data07\": [[0.0, 0.5121951219512195, 0.5121951219512195, 0.525, 0.5128205128205128, 0.5128205128205128], [1.0, 0.8780487804878049, 0.8048780487804879, 0.775, 0.8461538461538461, 0.8461538461538461], [2.0, 0.9512195121951219, 0.8292682926829268, 0.8, 0.8974358974358975, 0.8205128205128205], [3.0, 0.9512195121951219, 0.8780487804878049, 0.875, 0.8717948717948718, 0.8461538461538461], [4.0, 0.926829268292683, 0.9024390243902439, 0.875, 0.9230769230769231, 0.8461538461538461], [5.0, 0.9024390243902439, 0.8780487804878049, 0.85, 0.8461538461538461, 0.8461538461538461]], \"data04\": [[3.0, 0.9512195121951219], [3.0, 0.8780487804878049], [3.0, 0.875], [3.0, 0.8717948717948718], [3.0, 0.8461538461538461]], \"data05\": [[4.0, 0.926829268292683], [4.0, 0.9024390243902439], [4.0, 0.875], [4.0, 0.9230769230769231], [4.0, 0.8461538461538461]], \"data02\": [[1.0, 0.8780487804878049], [1.0, 0.8048780487804879], [1.0, 0.775], [1.0, 0.8461538461538461], [1.0, 0.8461538461538461]], \"data03\": [[2.0, 0.9512195121951219], [2.0, 0.8292682926829268], [2.0, 0.8], [2.0, 0.8974358974358975], [2.0, 0.8205128205128205]], \"data01\": [[0.0, 0.5121951219512195], [0.0, 0.5121951219512195], [0.0, 0.525], [0.0, 0.5128205128205128], [0.0, 0.5128205128205128]]}, \"id\": \"el752058115352\"});\n", | |
" })\n", | |
" });\n", | |
"}\n", | |
"</script>" | |
], | |
"text/plain": [ | |
"<IPython.core.display.HTML object>" | |
] | |
}, | |
"metadata": {}, | |
"output_type": "display_data" | |
}, | |
{ | |
"data": { | |
"text/plain": [ | |
"<function __main__.show_search_results>" | |
] | |
}, | |
"execution_count": 4, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"# NOTE: you need to run this in your own notebook to see the interactive widgets\n", | |
"ipywidgets.interact(show_search_results,\n", | |
" C=ipywidgets.SelectMultiple(options=clf.param_grid['C'],\n", | |
" selected_labels=clf.param_grid['C']),\n", | |
" kernel=ipywidgets.SelectMultiple(options=clf.param_grid['kernel'],\n", | |
" selected_labels=['rbf']),\n", | |
" )" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": null, | |
"metadata": { | |
"collapsed": true | |
}, | |
"outputs": [], | |
"source": [] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": null, | |
"metadata": { | |
"collapsed": true | |
}, | |
"outputs": [], | |
"source": [] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": null, | |
"metadata": { | |
"collapsed": true | |
}, | |
"outputs": [], | |
"source": [] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": null, | |
"metadata": { | |
"collapsed": true | |
}, | |
"outputs": [], | |
"source": [] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": null, | |
"metadata": { | |
"collapsed": true | |
}, | |
"outputs": [], | |
"source": [] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": null, | |
"metadata": { | |
"collapsed": true | |
}, | |
"outputs": [], | |
"source": [] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": null, | |
"metadata": { | |
"collapsed": true | |
}, | |
"outputs": [], | |
"source": [] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": null, | |
"metadata": { | |
"collapsed": true | |
}, | |
"outputs": [], | |
"source": [] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": null, | |
"metadata": { | |
"collapsed": true | |
}, | |
"outputs": [], | |
"source": [] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": null, | |
"metadata": { | |
"collapsed": true | |
}, | |
"outputs": [], | |
"source": [] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": null, | |
"metadata": { | |
"collapsed": true | |
}, | |
"outputs": [], | |
"source": [] | |
} | |
], | |
"metadata": { | |
"kernelspec": { | |
"display_name": "Python 2", | |
"language": "python", | |
"name": "python2" | |
}, | |
"language_info": { | |
"codemirror_mode": { | |
"name": "ipython", | |
"version": 2 | |
}, | |
"file_extension": ".py", | |
"mimetype": "text/x-python", | |
"name": "python", | |
"nbconvert_exporter": "python", | |
"pygments_lexer": "ipython2", | |
"version": "2.7.11" | |
} | |
}, | |
"nbformat": 4, | |
"nbformat_minor": 0 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment