File size: 10,379 Bytes
bf2e790 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Bokeh Plot</title>
<script type="text/javascript" src="https://cdn.pydata.org/bokeh/release/bokeh-1.4.0.min.js"></script>
<script type="text/javascript">
Bokeh.set_log_level("info");
</script>
</head>
<body>
<div class="bk-root" id="47148a84-814e-4ba4-a0e1-f9388e757482" data-root-id="1001"></div>
<script type="application/json" id="1254">
{"a453bd41-3f56-4dd6-b739-1339b63605f2":{"roots":{"references":[{"attributes":{"data_source":{"id":"1069","type":"ColumnDataSource"},"glyph":{"id":"1070","type":"Circle"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"1071","type":"Circle"},"selection_glyph":null,"view":{"id":"1073","type":"CDSView"}},"id":"1072","type":"GlyphRenderer"},{"attributes":{"source":{"id":"1047","type":"ColumnDataSource"}},"id":"1051","type":"CDSView"},{"attributes":{},"id":"1024","type":"ResetTool"},{"attributes":{"data_source":{"id":"1047","type":"ColumnDataSource"},"glyph":{"id":"1048","type":"Circle"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"1049","type":"Circle"},"selection_glyph":null,"view":{"id":"1051","type":"CDSView"}},"id":"1050","type":"GlyphRenderer"},{"attributes":{"source":{"id":"1069","type":"ColumnDataSource"}},"id":"1073","type":"CDSView"},{"attributes":{"fill_color":{"value":"white"},"line_color":{"value":"#1f77b4"},"size":{"units":"screen","value":8},"x":{"field":"x"},"y":{"field":"y"}},"id":"1048","type":"Circle"},{"attributes":{},"id":"1023","type":"SaveTool"},{"attributes":{"fill_color":{"value":"white"},"line_color":{"value":"#1f77b4"},"size":{"units":"screen","value":8},"x":{"field":"x"},"y":{"field":"y"}},"id":"1070","type":"Circle"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#1f77b4"},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"size":{"units":"screen","value":8},"x":{"field":"x"},"y":{"field":"y"}},"id":"1049","type":"Circle"},{"attributes":{"line_width":2,"x":{"field":"x"},"y":{"field":"y"}},"id":"1034","type":"Line"},{"attributes":{"overlay":{"id":"1044","type":"BoxAnnotation"}},"id":"1022","type":"BoxZoomTool"},{"attributes":{},"id":"1087","type":"UnionRenderers"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#1f77b4"},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"size":{"units":"screen","value":8},"x":{"field":"x"},"y":{"field":"y"}},"id":"1071","type":"Circle"},{"attributes":{},"id":"1065","type":"Selection"},{"attributes":{"callback":null,"data":{"x":[1,2,3,4,5,6,7,8,9],"y":[0.8989212512969971,0.294526604291481,0.26730915060920424,0.25809247267254587,0.2521521185737355,0.24855933103445088,0.24636667635203605,0.24458398955614247,0.24317621305787057]},"selected":{"id":"1065","type":"Selection"},"selection_policy":{"id":"1066","type":"UnionRenderers"}},"id":"1047","type":"ColumnDataSource"},{"attributes":{"callback":null,"data":{"x":[1,2,3,4,5,6,7,8,9],"y":[3.4888142805833082,1.6033958930235643,1.6121292847853441,1.4992000598173876,1.5795039305320153,1.5658829395587628,1.5554294219383826,1.5562029159986055,1.593324037698599]},"selected":{"id":"1086","type":"Selection"},"selection_policy":{"id":"1087","type":"UnionRenderers"}},"id":"1069","type":"ColumnDataSource"},{"attributes":{},"id":"1021","type":"WheelZoomTool"},{"attributes":{},"id":"1084","type":"Selection"},{"attributes":{"source":{"id":"1052","type":"ColumnDataSource"}},"id":"1056","type":"CDSView"},{"attributes":{"items":[{"id":"1046","type":"LegendItem"},{"id":"1068","type":"LegendItem"}],"location":"top_left"},"id":"1045","type":"Legend"},{"attributes":{"label":{"value":"Eval Loss"},"renderers":[{"id":"1055","type":"GlyphRenderer"}]},"id":"1068","type":"LegendItem"},{"attributes":{"label":{"value":"Train Loss"},"renderers":[{"id":"1036","type":"GlyphRenderer"}]},"id":"1046","type":"LegendItem"},{"attributes":{"source":{"id":"1033","type":"ColumnDataSource"}},"id":"1037","type":"CDSView"},{"attributes":{},"id":"1066","type":"UnionRenderers"},{"attributes":{},"id":"1085","type":"UnionRenderers"},{"attributes":{},"id":"1025","type":"HelpTool"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_multi":null,"active_scroll":"auto","active_tap":"auto","tools":[{"id":"1020","type":"PanTool"},{"id":"1021","type":"WheelZoomTool"},{"id":"1022","type":"BoxZoomTool"},{"id":"1023","type":"SaveTool"},{"id":"1024","type":"ResetTool"},{"id":"1025","type":"HelpTool"}]},"id":"1026","type":"Toolbar"},{"attributes":{},"id":"1063","type":"Selection"},{"attributes":{"line_color":"red","line_width":2,"x":{"field":"x"},"y":{"field":"y"}},"id":"1053","type":"Line"},{"attributes":{"formatter":{"id":"1042","type":"BasicTickFormatter"},"ticker":{"id":"1011","type":"BasicTicker"}},"id":"1010","type":"LinearAxis"},{"attributes":{"line_alpha":0.1,"line_color":"#1f77b4","line_width":2,"x":{"field":"x"},"y":{"field":"y"}},"id":"1054","type":"Line"},{"attributes":{"bottom_units":"screen","fill_alpha":{"value":0.5},"fill_color":{"value":"lightgrey"},"left_units":"screen","level":"overlay","line_alpha":{"value":1.0},"line_color":{"value":"black"},"line_dash":[4,4],"line_width":{"value":2},"render_mode":"css","right_units":"screen","top_units":"screen"},"id":"1044","type":"BoxAnnotation"},{"attributes":{},"id":"1016","type":"BasicTicker"},{"attributes":{},"id":"1042","type":"BasicTickFormatter"},{"attributes":{},"id":"1020","type":"PanTool"},{"attributes":{"formatter":{"id":"1040","type":"BasicTickFormatter"},"ticker":{"id":"1016","type":"BasicTicker"}},"id":"1015","type":"LinearAxis"},{"attributes":{},"id":"1040","type":"BasicTickFormatter"},{"attributes":{"callback":null,"data":{"x":[1,2,3,4,5,6,7,8,9],"y":[3.4888142805833082,1.6033958930235643,1.6121292847853441,1.4992000598173876,1.5795039305320153,1.5658829395587628,1.5554294219383826,1.5562029159986055,1.593324037698599]},"selected":{"id":"1084","type":"Selection"},"selection_policy":{"id":"1085","type":"UnionRenderers"}},"id":"1052","type":"ColumnDataSource"},{"attributes":{"ticker":{"id":"1011","type":"BasicTicker"}},"id":"1014","type":"Grid"},{"attributes":{"below":[{"id":"1010","type":"LinearAxis"}],"center":[{"id":"1014","type":"Grid"},{"id":"1019","type":"Grid"},{"id":"1045","type":"Legend"}],"left":[{"id":"1015","type":"LinearAxis"}],"plot_height":550,"plot_width":750,"renderers":[{"id":"1036","type":"GlyphRenderer"},{"id":"1050","type":"GlyphRenderer"},{"id":"1055","type":"GlyphRenderer"},{"id":"1072","type":"GlyphRenderer"}],"title":{"id":"1038","type":"Title"},"toolbar":{"id":"1026","type":"Toolbar"},"x_range":{"id":"1002","type":"DataRange1d"},"x_scale":{"id":"1006","type":"LinearScale"},"y_range":{"id":"1004","type":"DataRange1d"},"y_scale":{"id":"1008","type":"LinearScale"}},"id":"1001","subtype":"Figure","type":"Plot"},{"attributes":{"line_alpha":0.1,"line_color":"#1f77b4","line_width":2,"x":{"field":"x"},"y":{"field":"y"}},"id":"1035","type":"Line"},{"attributes":{"text":""},"id":"1038","type":"Title"},{"attributes":{},"id":"1086","type":"Selection"},{"attributes":{},"id":"1011","type":"BasicTicker"},{"attributes":{},"id":"1064","type":"UnionRenderers"},{"attributes":{},"id":"1008","type":"LinearScale"},{"attributes":{"callback":null},"id":"1004","type":"DataRange1d"},{"attributes":{"data_source":{"id":"1052","type":"ColumnDataSource"},"glyph":{"id":"1053","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"1054","type":"Line"},"selection_glyph":null,"view":{"id":"1056","type":"CDSView"}},"id":"1055","type":"GlyphRenderer"},{"attributes":{"callback":null,"data":{"x":[1,2,3,4,5,6,7,8,9],"y":[0.8989212512969971,0.294526604291481,0.26730915060920424,0.25809247267254587,0.2521521185737355,0.24855933103445088,0.24636667635203605,0.24458398955614247,0.24317621305787057]},"selected":{"id":"1063","type":"Selection"},"selection_policy":{"id":"1064","type":"UnionRenderers"}},"id":"1033","type":"ColumnDataSource"},{"attributes":{},"id":"1006","type":"LinearScale"},{"attributes":{"dimension":1,"ticker":{"id":"1016","type":"BasicTicker"}},"id":"1019","type":"Grid"},{"attributes":{"callback":null},"id":"1002","type":"DataRange1d"},{"attributes":{"data_source":{"id":"1033","type":"ColumnDataSource"},"glyph":{"id":"1034","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"1035","type":"Line"},"selection_glyph":null,"view":{"id":"1037","type":"CDSView"}},"id":"1036","type":"GlyphRenderer"}],"root_ids":["1001"]},"title":"Bokeh Application","version":"1.4.0"}}
</script>
<script type="text/javascript">
(function() {
var fn = function() {
Bokeh.safely(function() {
(function(root) {
function embed_document(root) {
var docs_json = document.getElementById('1254').textContent;
var render_items = [{"docid":"a453bd41-3f56-4dd6-b739-1339b63605f2","roots":{"1001":"47148a84-814e-4ba4-a0e1-f9388e757482"}}];
root.Bokeh.embed.embed_items(docs_json, render_items);
}
if (root.Bokeh !== undefined) {
embed_document(root);
} else {
var attempts = 0;
var timer = setInterval(function(root) {
if (root.Bokeh !== undefined) {
clearInterval(timer);
embed_document(root);
} else {
attempts++;
if (attempts > 100) {
clearInterval(timer);
console.log("Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing");
}
}
}, 10, root)
}
})(window);
});
};
if (document.readyState != "loading") fn();
else document.addEventListener("DOMContentLoaded", fn);
})();
</script>
</body>
</html> |