123

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              



<!DOCTYPE html>
<html lang="en">
  
  <head>
    
      <meta charset="utf-8">
      <title>Bokeh Plot</title>
      
      
        
          
        <link rel="stylesheet" href="https://cdn.pydata.org/bokeh/release/bokeh-1.0.4.min.css" type="text/css" />
        
        
          
        <script type="text/javascript" src="https://cdn.pydata.org/bokeh/release/bokeh-1.0.4.min.js"></script>
        <script type="text/javascript">
            Bokeh.set_log_level("info");
        </script>
        
      
      
    
  </head>
  
  
  <body>
    
      
        
          
          
            
              <div class="bk-root" id="c62365aa-375d-4276-a33c-3bdf76094c20" data-root-id="6149"></div>
            
          
        
      
      
        <script type="application/json" id="6698">
          {"aa9f0b4c-285c-4c02-ae29-f1547e4a309c":{"roots":{"references":[{"attributes":{"children":[{"id":"5991","subtype":"Figure","type":"Plot"},{"id":"6071","subtype":"Figure","type":"Plot"}]},"id":"6149","type":"Row"},{"attributes":{"below":[{"id":"6001","type":"LinearAxis"}],"left":[{"id":"6006","type":"LinearAxis"}],"renderers":[{"id":"6001","type":"LinearAxis"},{"id":"6005","type":"Grid"},{"id":"6006","type":"LinearAxis"},{"id":"6010","type":"Grid"},{"id":"6025","type":"BoxAnnotation"},{"id":"6032","type":"GlyphRenderer"},{"id":"6047","type":"Legend"},{"id":"6037","type":"GlyphRenderer"},{"id":"6053","type":"GlyphRenderer"},{"id":"6067","type":"GlyphRenderer"}],"title":{"id":"5990","type":"Title"},"toolbar":{"id":"6018","type":"Toolbar"},"x_range":{"id":"5993","type":"DataRange1d"},"x_scale":{"id":"5997","type":"LinearScale"},"y_range":{"id":"5995","type":"DataRange1d"},"y_scale":{"id":"5999","type":"LinearScale"}},"id":"5991","subtype":"Figure","type":"Plot"},{"attributes":{"plot":null,"text":"RandomForestClassifier ROC curve"},"id":"5990","type":"Title"},{"attributes":{"plot":null,"text":"RandomForestClassifier PR curve"},"id":"6070","type":"Title"},{"attributes":{"axis_label":"Precision","formatter":{"id":"6120","type":"BasicTickFormatter"},"plot":{"id":"6071","subtype":"Figure","type":"Plot"},"ticker":{"id":"6087","type":"BasicTicker"}},"id":"6086","type":"LinearAxis"},{"attributes":{"callback":null},"id":"6075","type":"DataRange1d"},{"attributes":{"callback":null,"names":["ROC"],"tooltips":[["TPR","@y_tpr"],["FPR","@x_fpr"],["Thresh","@thresh_roc"]]},"id":"5989","type":"HoverTool"},{"attributes":{},"id":"6087","type":"BasicTicker"},{"attributes":{"callback":null},"id":"6073","type":"DataRange1d"},{"attributes":{"plot":{"id":"6071","subtype":"Figure","type":"Plot"},"ticker":{"id":"6082","type":"BasicTicker"}},"id":"6085","type":"Grid"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#1f77b4"},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"size":{"units":"screen","value":5},"x":{"field":"x_fpr"},"y":{"field":"y_tpr"}},"id":"6052","type":"Circle"},{"attributes":{"line_color":"blue","x":{"field":"x_fpr"},"y":{"field":"y_tpr"}},"id":"6030","type":"Line"},{"attributes":{"plot":{"id":"5991","subtype":"Figure","type":"Plot"},"ticker":{"id":"6002","type":"BasicTicker"}},"id":"6005","type":"Grid"},{"attributes":{"axis_label":"Recall","formatter":{"id":"6122","type":"BasicTickFormatter"},"plot":{"id":"6071","subtype":"Figure","type":"Plot"},"ticker":{"id":"6082","type":"BasicTicker"}},"id":"6081","type":"LinearAxis"},{"attributes":{"overlay":{"id":"6105","type":"BoxAnnotation"}},"id":"6097","type":"BoxZoomTool"},{"attributes":{"data_source":{"id":"6049","type":"ColumnDataSource"},"glyph":{"id":"6051","type":"Circle"},"hover_glyph":null,"muted_glyph":null,"name":"ROC","nonselection_glyph":{"id":"6052","type":"Circle"},"selection_glyph":null,"view":{"id":"6054","type":"CDSView"}},"id":"6053","type":"GlyphRenderer"},{"attributes":{},"id":"6012","type":"ZoomInTool"},{"attributes":{},"id":"6079","type":"LinearScale"},{"attributes":{"callback":null},"id":"5995","type":"DataRange1d"},{"attributes":{},"id":"6045","type":"UnionRenderers"},{"attributes":{},"id":"6002","type":"BasicTicker"},{"attributes":{"fill_color":{"value":"orange"},"line_color":{"value":"orange"},"size":{"units":"screen","value":3},"x":{"field":"x_fpr"},"y":{"field":"y_tpr"}},"id":"6035","type":"Circle"},{"attributes":{},"id":"6046","type":"Selection"},{"attributes":{"data_source":{"id":"5988","type":"ColumnDataSource"},"glyph":{"id":"6110","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"6111","type":"Line"},"selection_glyph":null,"view":{"id":"6113","type":"CDSView"}},"id":"6112","type":"GlyphRenderer"},{"attributes":{"callback":null},"id":"5993","type":"DataRange1d"},{"attributes":{"dimension":1,"plot":{"id":"5991","subtype":"Figure","type":"Plot"},"ticker":{"id":"6007","type":"BasicTicker"}},"id":"6010","type":"Grid"},{"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},"plot":null,"render_mode":"css","right_units":"screen","top_units":"screen"},"id":"6105","type":"BoxAnnotation"},{"attributes":{"axis_label":"True Positive Rate","formatter":{"id":"6040","type":"BasicTickFormatter"},"plot":{"id":"5991","subtype":"Figure","type":"Plot"},"ticker":{"id":"6007","type":"BasicTicker"}},"id":"6006","type":"LinearAxis"},{"attributes":{},"id":"6077","type":"LinearScale"},{"attributes":{"line_alpha":0.1,"line_color":"#1f77b4","x":{"field":"x_fpr"},"y":{"field":"y_tpr"}},"id":"6031","type":"Line"},{"attributes":{},"id":"6007","type":"BasicTicker"},{"attributes":{"source":{"id":"5988","type":"ColumnDataSource"}},"id":"6113","type":"CDSView"},{"attributes":{},"id":"6122","type":"BasicTickFormatter"},{"attributes":{},"id":"6011","type":"CrosshairTool"},{"attributes":{},"id":"6082","type":"BasicTicker"},{"attributes":{},"id":"6126","type":"Selection"},{"attributes":{"callback":null},"id":"6096","type":"TapTool"},{"attributes":{"axis_label":"False Positive Rate","formatter":{"id":"6042","type":"BasicTickFormatter"},"plot":{"id":"5991","subtype":"Figure","type":"Plot"},"ticker":{"id":"6002","type":"BasicTicker"}},"id":"6001","type":"LinearAxis"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_multi":null,"active_scroll":"auto","active_tap":"auto","tools":[{"id":"6069","type":"HoverTool"},{"id":"6091","type":"CrosshairTool"},{"id":"6092","type":"ZoomInTool"},{"id":"6093","type":"ZoomOutTool"},{"id":"6094","type":"SaveTool"},{"id":"6095","type":"ResetTool"},{"id":"6096","type":"TapTool"},{"id":"6097","type":"BoxZoomTool"}]},"id":"6098","type":"Toolbar"},{"attributes":{"overlay":{"id":"6025","type":"BoxAnnotation"}},"id":"6017","type":"BoxZoomTool"},{"attributes":{},"id":"6014","type":"SaveTool"},{"attributes":{"label":{"field":"legend_"},"renderers":[{"id":"6053","type":"GlyphRenderer"}]},"id":"6063","type":"LegendItem"},{"attributes":{"callback":null},"id":"6016","type":"TapTool"},{"attributes":{},"id":"6351","type":"UnionRenderers"},{"attributes":{},"id":"6092","type":"ZoomInTool"},{"attributes":{"label":{"field":"legend_"},"renderers":[{"id":"6133","type":"GlyphRenderer"}]},"id":"6143","type":"LegendItem"},{"attributes":{},"id":"6013","type":"ZoomOutTool"},{"attributes":{"callback":null,"names":["PR"],"tooltips":[["Precision","@y_prec"],["Recall","@x_rec"],["Thresh","@thresh_pr"]]},"id":"6069","type":"HoverTool"},{"attributes":{},"id":"6353","type":"UnionRenderers"},{"attributes":{},"id":"6094","type":"SaveTool"},{"attributes":{"items":[{"id":"6128","type":"LegendItem"},{"id":"6143","type":"LegendItem"}],"location":"bottom_left","plot":{"id":"6071","subtype":"Figure","type":"Plot"}},"id":"6127","type":"Legend"},{"attributes":{"source":{"id":"5987","type":"ColumnDataSource"}},"id":"6033","type":"CDSView"},{"attributes":{"below":[{"id":"6081","type":"LinearAxis"}],"left":[{"id":"6086","type":"LinearAxis"}],"renderers":[{"id":"6081","type":"LinearAxis"},{"id":"6085","type":"Grid"},{"id":"6086","type":"LinearAxis"},{"id":"6090","type":"Grid"},{"id":"6105","type":"BoxAnnotation"},{"id":"6112","type":"GlyphRenderer"},{"id":"6127","type":"Legend"},{"id":"6117","type":"GlyphRenderer"},{"id":"6133","type":"GlyphRenderer"},{"id":"6147","type":"GlyphRenderer"}],"title":{"id":"6070","type":"Title"},"toolbar":{"id":"6098","type":"Toolbar"},"x_range":{"id":"6073","type":"DataRange1d"},"x_scale":{"id":"6077","type":"LinearScale"},"y_range":{"id":"6075","type":"DataRange1d"},"y_scale":{"id":"6079","type":"LinearScale"}},"id":"6071","subtype":"Figure","type":"Plot"},{"attributes":{"line_dash":[6],"line_width":0.5,"x":{"field":"x"},"y":{"field":"y"}},"id":"6065","type":"Line"},{"attributes":{},"id":"6358","type":"UnionRenderers"},{"attributes":{},"id":"6040","type":"BasicTickFormatter"},{"attributes":{"callback":null,"data":{"auc_legend":["AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996","AUC: 0.996"],"clf_legend":["RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996","RandomForestClassifier, AUC: 0.996"],"thresh_pr":{"__ndarray__":"AAAAAAAAAAC4HoXrUbi+P+xRuB6F68E/MzMzMzMzwz/D9Shcj8LFPwrXo3A9Csc/UrgehetRyD+amZmZmZnJPylcj8L1KMw/cT0K16NwzT+4HoXrUbjOP9ejcD0K19M/exSuR+F61D8fhetRuB7VP1K4HoXrUdg/KVyPwvUo3D/2KFyPwvXgPz0K16NwPeI/MzMzMzMz4z8fhetRuB7lP8P1KFyPwuU/FK5H4XoU5j9cj8L1KFznP1K4HoXrUeg/pHA9Ctej6D/2KFyPwvXoP0jhehSuR+k/mpmZmZmZ6T/sUbgehevpPz0K16NwPeo/4XoUrkfh6j8zMzMzMzPrP4XrUbgehes/16NwPQrX6z8pXI/C9SjsP83MzMzMzOw/H4XrUbge7T9xPQrXo3DtP8P1KFyPwu0/FK5H4XoU7j9mZmZmZmbuP7gehetRuO4/CtejcD0K7z9cj8L1KFzvP65H4XoUru8/AAAAAAAA8D8=","dtype":"float64","shape":[46]},"x_rec":{"__ndarray__":"AAAAAAAA8D/w+77v+77vP/D7vu/7vu8/8Pu+7/u+7z/f933f933vP8/zPM/zPO8/z/M8z/M87z/P8zzP8zzvP8/zPM/zPO8/z/M8z/M87z/P8zzP8zzvP7/v+77v++4/v+/7vu/77j+v67qu67ruP6/ruq7ruu4/r+u6ruu67j+e53me53nuP57neZ7nee4/nud5nud57j+O4ziO4zjuP37f933f9+0/btu2bdu27T9u27Zt27btP13XdV3Xde0/TdM0TdM07T9N0zRN0zTtPxzHcRzHcew//L7v+77v6z/btm3btm3rP8uyLMuyLOs/u67ruq7r6j+rqqqqqqrqP5qmaZqmaeo/apqmaZqm6T9JkiRJkiTpPxiGYRiGYeg/6Hme53me5z/HcRzHcRznP3Zd13Vd1+U/RVEURVEU5T/kOI7jOI7jP5IkSZIkSeI/AAAAAAAA4D/btm3btm3bPxAEQRAEQdA/AAAAAAAAAAA=","dtype":"float64","shape":[46]},"y_prec":{"__ndarray__":"n4zfLvVk7D8lSZIkSZLsPyrbuw7oxuw/0CjxM0r87D9WwtgsqPbsP/Hw8PDw8Ow/fdInfdIn7T89UDm7hV/tP4HZA2YPmO0/0UUXXXTR7T/ZWxumuQvuP37gB37gB+4/kTfkDXlD7j+fz+fz+XzuP6/ruq7ruu4/YOXQItv57j/43nvvvffuPzgfg/MxOO8/LhmCdbR57z8cy6BUmHjvP3d3d3d3d+8/v1F2v1F27z9kK4KGk7rvP6D7uZ/7ue8/EpZ7GmG57z8AAAAAAADwPwAAAAAAAPA/AAAAAAAA8D8AAAAAAADwPwAAAAAAAPA/AAAAAAAA8D8AAAAAAADwPwAAAAAAAPA/AAAAAAAA8D8AAAAAAADwPwAAAAAAAPA/AAAAAAAA8D8AAAAAAADwPwAAAAAAAPA/AAAAAAAA8D8AAAAAAADwPwAAAAAAAPA/AAAAAAAA8D8AAAAAAADwPwAAAAAAAPA/AAAAAAAA8D8=","dtype":"float64","shape":[46]}},"selected":{"id":"6126","type":"Selection"},"selection_policy":{"id":"6125","type":"UnionRenderers"}},"id":"5988","type":"ColumnDataSource"},{"attributes":{},"id":"6352","type":"Selection"},{"attributes":{},"id":"6354","type":"Selection"},{"attributes":{},"id":"6125","type":"UnionRenderers"},{"attributes":{"callback":null,"data":{"legend_":["Thresh~0.5","Thresh~0.5"],"thresh_pr":{"__ndarray__":"9ihcj8L14D8pXI/C9SjcPw==","dtype":"float64","shape":[2]},"x_rec":{"__ndarray__":"nud5nud57j+v67qu67ruPw==","dtype":"float64","shape":[2]},"y_prec":{"__ndarray__":"+N5777337j9g5dAi2/nuPw==","dtype":"float64","shape":[2]}},"selected":{"id":"6359","type":"Selection"},"selection_policy":{"id":"6358","type":"UnionRenderers"}},"id":"6129","type":"ColumnDataSource"},{"attributes":{"source":{"id":"6049","type":"ColumnDataSource"}},"id":"6054","type":"CDSView"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_multi":null,"active_scroll":"auto","active_tap":"auto","tools":[{"id":"5989","type":"HoverTool"},{"id":"6011","type":"CrosshairTool"},{"id":"6012","type":"ZoomInTool"},{"id":"6013","type":"ZoomOutTool"},{"id":"6014","type":"SaveTool"},{"id":"6015","type":"ResetTool"},{"id":"6016","type":"TapTool"},{"id":"6017","type":"BoxZoomTool"}]},"id":"6018","type":"Toolbar"},{"attributes":{},"id":"6091","type":"CrosshairTool"},{"attributes":{"data_source":{"id":"5988","type":"ColumnDataSource"},"glyph":{"id":"6115","type":"Circle"},"hover_glyph":null,"muted_glyph":null,"name":"PR","nonselection_glyph":{"id":"6116","type":"Circle"},"selection_glyph":null,"view":{"id":"6118","type":"CDSView"}},"id":"6117","type":"GlyphRenderer"},{"attributes":{},"id":"6015","type":"ResetTool"},{"attributes":{"data_source":{"id":"6144","type":"ColumnDataSource"},"glyph":{"id":"6145","type":"Line"},"hover_glyph":null,"muted_glyph":null,"name":"Chance","nonselection_glyph":{"id":"6146","type":"Line"},"selection_glyph":null,"view":{"id":"6148","type":"CDSView"}},"id":"6147","type":"GlyphRenderer"},{"attributes":{"callback":null,"data":{"auc_legend":["AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991","AUC: 0.991"],"clf_legend":["RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991","RandomForestClassifier, AUC: 0.991"],"thresh_roc":{"__ndarray__":"AAAAAAAA+H8AAAAAAADwP65H4XoUru8/CtejcD0K7z+4HoXrUbjuP2ZmZmZmZu4/FK5H4XoU7j/D9Shcj8LtP3E9CtejcO0/zczMzMzM7D8pXI/C9SjsP9ejcD0K1+s/PQrXo3A96j+amZmZmZnpP0jhehSuR+k/9ihcj8L16D9SuB6F61HoP1yPwvUoXOc/H4XrUbge5T89CtejcD3iP/YoXI/C9eA/UrgehetR2D8fhetRuB7VP3sUrkfhetQ/16NwPQrX0z9SuB6F61HIP8P1KFyPwsU/7FG4HoXrwT+4HoXrUbi+Pylcj8L1KLw/7FG4HoXrsT+4HoXrUbiuP5qZmZmZmak/exSuR+F6pD+4HoXrUbieP3sUrkfheoQ/AAAAAAAAAAA=","dtype":"float64","shape":[37]},"x_fpr":{"__ndarray__":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAhBBCCCGEkD+EEEIIIYSQP4QQQgghhKA/hBBCCCGEoD+EEEIIIYSwP4QQQgghhLA/xhhjjDHGuD/nnHPOOee8P4QQQgghhMA/hBBCCCGEwD/XWmuttdbKP9daa6211so/+N577733zj+EEEIIIYTQP5VSSimllNI/rbXWWmut1T++9957773XP8YYY4wxxtg/55xzzjnn3D8IIYQQQgjhPyGEEEIIIeQ/AAAAAAAA8D8=","dtype":"float64","shape":[37]},"y_tpr":{"__ndarray__":"AAAAAAAAAAAQBEEQBEHQP9u2bdu2bds/kiRJkiRJ4j/kOI7jOI7jP0VRFEVRFOU/dl3XdV3X5T/HcRzHcRznP+h5nud5nuc/SZIkSZIk6T9qmqZpmqbpP5qmaZqmaeo/27Zt27Zt6z8cx3Ecx3HsP03TNE3TNO0/TdM0TdM07T9u27Zt27btP27btm3btu0/nud5nud57j+e53me53nuP6/ruq7ruu4/r+u6ruu67j+/7/u+7/vuP7/v+77v++4/z/M8z/M87z/P8zzP8zzvP/D7vu/7vu8/8Pu+7/u+7z8AAAAAAADwPwAAAAAAAPA/AAAAAAAA8D8AAAAAAADwPwAAAAAAAPA/AAAAAAAA8D8AAAAAAADwPwAAAAAAAPA/AAAAAAAA8D8=","dtype":"float64","shape":[37]}},"selected":{"id":"6046","type":"Selection"},"selection_policy":{"id":"6045","type":"UnionRenderers"}},"id":"5987","type":"ColumnDataSource"},{"attributes":{"callback":null,"data":{"x":[0,1],"y":[0,1]},"selected":{"id":"6354","type":"Selection"},"selection_policy":{"id":"6353","type":"UnionRenderers"}},"id":"6064","type":"ColumnDataSource"},{"attributes":{"data_source":{"id":"5987","type":"ColumnDataSource"},"glyph":{"id":"6030","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"6031","type":"Line"},"selection_glyph":null,"view":{"id":"6033","type":"CDSView"}},"id":"6032","type":"GlyphRenderer"},{"attributes":{"source":{"id":"5988","type":"ColumnDataSource"}},"id":"6118","type":"CDSView"},{"attributes":{"source":{"id":"6064","type":"ColumnDataSource"}},"id":"6068","type":"CDSView"},{"attributes":{},"id":"6120","type":"BasicTickFormatter"},{"attributes":{"fill_color":{"value":"blue"},"line_color":{"value":"blue"},"size":{"units":"screen","value":5},"x":{"field":"x_rec"},"y":{"field":"y_prec"}},"id":"6131","type":"Circle"},{"attributes":{},"id":"6095","type":"ResetTool"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#1f77b4"},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"size":{"units":"screen","value":3},"x":{"field":"x_rec"},"y":{"field":"y_prec"}},"id":"6116","type":"Circle"},{"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},"plot":null,"render_mode":"css","right_units":"screen","top_units":"screen"},"id":"6025","type":"BoxAnnotation"},{"attributes":{},"id":"6093","type":"ZoomOutTool"},{"attributes":{},"id":"6359","type":"Selection"},{"attributes":{"dimension":1,"plot":{"id":"6071","subtype":"Figure","type":"Plot"},"ticker":{"id":"6087","type":"BasicTicker"}},"id":"6090","type":"Grid"},{"attributes":{"data_source":{"id":"6064","type":"ColumnDataSource"},"glyph":{"id":"6065","type":"Line"},"hover_glyph":null,"muted_glyph":null,"name":"Chance","nonselection_glyph":{"id":"6066","type":"Line"},"selection_glyph":null,"view":{"id":"6068","type":"CDSView"}},"id":"6067","type":"GlyphRenderer"},{"attributes":{"fill_color":{"value":"blue"},"line_color":{"value":"blue"},"size":{"units":"screen","value":5},"x":{"field":"x_fpr"},"y":{"field":"y_tpr"}},"id":"6051","type":"Circle"},{"attributes":{"line_color":"blue","x":{"field":"x_rec"},"y":{"field":"y_prec"}},"id":"6110","type":"Line"},{"attributes":{"fill_color":{"value":"orange"},"line_color":{"value":"orange"},"size":{"units":"screen","value":3},"x":{"field":"x_rec"},"y":{"field":"y_prec"}},"id":"6115","type":"Circle"},{"attributes":{},"id":"6360","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":3},"x":{"field":"x_fpr"},"y":{"field":"y_tpr"}},"id":"6036","type":"Circle"},{"attributes":{"label":{"field":"auc_legend"},"renderers":[{"id":"6117","type":"GlyphRenderer"}]},"id":"6128","type":"LegendItem"},{"attributes":{},"id":"5999","type":"LinearScale"},{"attributes":{"data_source":{"id":"6129","type":"ColumnDataSource"},"glyph":{"id":"6131","type":"Circle"},"hover_glyph":null,"muted_glyph":null,"name":"PR","nonselection_glyph":{"id":"6132","type":"Circle"},"selection_glyph":null,"view":{"id":"6134","type":"CDSView"}},"id":"6133","type":"GlyphRenderer"},{"attributes":{"line_alpha":0.1,"line_color":"#1f77b4","x":{"field":"x_rec"},"y":{"field":"y_prec"}},"id":"6111","type":"Line"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#1f77b4"},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"size":{"units":"screen","value":5},"x":{"field":"x_rec"},"y":{"field":"y_prec"}},"id":"6132","type":"Circle"},{"attributes":{"items":[{"id":"6048","type":"LegendItem"},{"id":"6063","type":"LegendItem"}],"location":"bottom_right","plot":{"id":"5991","subtype":"Figure","type":"Plot"}},"id":"6047","type":"Legend"},{"attributes":{"callback":null,"data":{"x":[1,0],"y":[1,0]},"selected":{"id":"6361","type":"Selection"},"selection_policy":{"id":"6360","type":"UnionRenderers"}},"id":"6144","type":"ColumnDataSource"},{"attributes":{"source":{"id":"5987","type":"ColumnDataSource"}},"id":"6038","type":"CDSView"},{"attributes":{"source":{"id":"6129","type":"ColumnDataSource"}},"id":"6134","type":"CDSView"},{"attributes":{"label":{"field":"auc_legend"},"renderers":[{"id":"6037","type":"GlyphRenderer"}]},"id":"6048","type":"LegendItem"},{"attributes":{"line_alpha":0.1,"line_color":"#1f77b4","line_dash":[6],"line_width":0.5,"x":{"field":"x"},"y":{"field":"y"}},"id":"6146","type":"Line"},{"attributes":{"callback":null,"data":{"legend_":["Thresh~0.5","Thresh~0.5"],"thresh_roc":{"__ndarray__":"9ihcj8L14D89CtejcD3iPw==","dtype":"float64","shape":[2]},"x_fpr":{"__ndarray__":"hBBCCCGEsD+EEEIIIYSwPw==","dtype":"float64","shape":[2]},"y_tpr":{"__ndarray__":"r+u6ruu67j+e53me53nuPw==","dtype":"float64","shape":[2]}},"selected":{"id":"6352","type":"Selection"},"selection_policy":{"id":"6351","type":"UnionRenderers"}},"id":"6049","type":"ColumnDataSource"},{"attributes":{},"id":"6042","type":"BasicTickFormatter"},{"attributes":{},"id":"6361","type":"Selection"},{"attributes":{},"id":"5997","type":"LinearScale"},{"attributes":{"data_source":{"id":"5987","type":"ColumnDataSource"},"glyph":{"id":"6035","type":"Circle"},"hover_glyph":null,"muted_glyph":null,"name":"ROC","nonselection_glyph":{"id":"6036","type":"Circle"},"selection_glyph":null,"view":{"id":"6038","type":"CDSView"}},"id":"6037","type":"GlyphRenderer"},{"attributes":{"line_alpha":0.1,"line_color":"#1f77b4","line_dash":[6],"line_width":0.5,"x":{"field":"x"},"y":{"field":"y"}},"id":"6066","type":"Line"},{"attributes":{"line_dash":[6],"line_width":0.5,"x":{"field":"x"},"y":{"field":"y"}},"id":"6145","type":"Line"},{"attributes":{"source":{"id":"6144","type":"ColumnDataSource"}},"id":"6148","type":"CDSView"}],"root_ids":["6149"]},"title":"Bokeh Application","version":"1.0.4"}}
        </script>
        <script type="text/javascript">
          (function() {
            var fn = function() {
              Bokeh.safely(function() {
                (function(root) {
                  function embed_document(root) {
                    
                  var docs_json = document.getElementById('6698').textContent;
                  var render_items = [{"docid":"aa9f0b4c-285c-4c02-ae29-f1547e4a309c","roots":{"6149":"c62365aa-375d-4276-a33c-3bdf76094c20"}}];
                  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) {
                        embed_document(root);
                        clearInterval(timer);
                      }
                      attempts++;
                      if (attempts > 100) {
                        console.log("Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing");
                        clearInterval(timer);
                      }
                    }, 10, root)
                  }
                })(window);
              });
            };
            if (document.readyState != "loading") fn();
            else document.addEventListener("DOMContentLoaded", fn);
          })();
        </script>
    
  </body>
  
</html>
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console