diff --git a/experiments/XGBoostvsLightGBM.ipynb b/experiments/XGBoostvsLightGBM.ipynb index ce73f76..cb15934 100644 --- a/experiments/XGBoostvsLightGBM.ipynb +++ b/experiments/XGBoostvsLightGBM.ipynb @@ -73,7 +73,7 @@ "\n", "
" ] }, @@ -121,7 +121,7 @@ "\n", " function display_loaded() {\n", " if (window.Bokeh !== undefined) {\n", - " var el = document.getElementById(\"7cc8e422-bbf4-42af-97ad-f52e215acda1\");\n", + " var el = document.getElementById(\"5cef9f06-ea82-4810-944c-e368f5c2b1bd\");\n", " el.textContent = \"BokehJS \" + Bokeh.version + \" successfully loaded.\";\n", " } else if (Date.now() < window._bokeh_timeout) {\n", " setTimeout(display_loaded, 100)\n", @@ -168,9 +168,9 @@ " console.log(\"Bokeh: injecting script tag for BokehJS library: \", url);\n", " document.getElementsByTagName(\"head\")[0].appendChild(s);\n", " }\n", - " };var element = document.getElementById(\"7cc8e422-bbf4-42af-97ad-f52e215acda1\");\n", + " };var element = document.getElementById(\"5cef9f06-ea82-4810-944c-e368f5c2b1bd\");\n", " if (element == null) {\n", - " console.log(\"Bokeh: ERROR: autoload.js configured with elementid '7cc8e422-bbf4-42af-97ad-f52e215acda1' but no matching script tag was found. \")\n", + " console.log(\"Bokeh: ERROR: autoload.js configured with elementid '5cef9f06-ea82-4810-944c-e368f5c2b1bd' but no matching script tag was found. \")\n", " return false;\n", " }\n", "\n", @@ -187,7 +187,7 @@ " \n", " function(Bokeh) {\n", " \n", - " document.getElementById(\"7cc8e422-bbf4-42af-97ad-f52e215acda1\").textContent = \"BokehJS is loading...\";\n", + " document.getElementById(\"5cef9f06-ea82-4810-944c-e368f5c2b1bd\").textContent = \"BokehJS is loading...\";\n", " },\n", " function(Bokeh) {\n", " console.log(\"Bokeh: injecting CSS: https://cdn.pydata.org/bokeh/release/bokeh-0.12.6.min.css\");\n", @@ -210,7 +210,7 @@ " console.log(\"Bokeh: BokehJS failed to load within specified timeout.\");\n", " window._bokeh_failed_load = true;\n", " } else if (force !== true) {\n", - " var cell = $(document.getElementById(\"7cc8e422-bbf4-42af-97ad-f52e215acda1\")).parents('.cell').data().cell;\n", + " var cell = $(document.getElementById(\"5cef9f06-ea82-4810-944c-e368f5c2b1bd\")).parents('.cell').data().cell;\n", " cell.output_area.append_execute_result(NB_LOAD_WARNING)\n", " }\n", "\n", @@ -460,20 +460,20 @@ " 'F1': 0.4594968503939465,\n", " 'Precision': 0.4627647374365573,\n", " 'Recall': 0.5273189326556544},\n", - " 'test_time': 0.027692346999174333,\n", - " 'train_time': 0.6480622440012667},\n", + " 'test_time': 0.01769829506520182,\n", + " 'train_time': 0.5824753509368747},\n", " 'xgb': {'performance': {'Accuracy': 0.5285895806861499,\n", " 'F1': 0.4581501758019101,\n", " 'Precision': 0.4728104942149788,\n", " 'Recall': 0.5285895806861499},\n", - " 'test_time': 0.014542924998750095,\n", - " 'train_time': 1.7841034670000226},\n", + " 'test_time': 0.01739849301520735,\n", + " 'train_time': 2.277035239036195},\n", " 'xgb_hist': {'performance': {'Accuracy': 0.5285895806861499,\n", " 'F1': 0.46087114582653593,\n", " 'Precision': 0.4747655220586142,\n", " 'Recall': 0.5285895806861499},\n", - " 'test_time': 0.016832898001666763,\n", - " 'train_time': 3.5759403450010723}},\n", + " 'test_time': 0.013859358034096658,\n", + " 'train_time': 2.4757352949818596}},\n", " 'Football_GPU': {'lgbm': {'performance': {'Accuracy': 0.5344345616264294,\n", " 'F1': 0.4704311590503636,\n", " 'Precision': 0.48847893806298454,\n", @@ -623,8 +623,8 @@ "name": "stdout", "output_type": "stream", "text": [ - "['HIGGS', 'Airline', 'Airline_GPU', 'HIGGS_GPU', 'Football_GPU', 'Football', 'BCI', 'Planet', 'BCI_GPU', 'Plannet_GPU', 'Fraud_GPU', 'Fraud']\n", - "['lgbm', 'xgb_hist', 'xgb']\n" + "['Football_GPU', 'Airline_GPU', 'Planet', 'Airline', 'HIGGS_GPU', 'HIGGS', 'BCI_GPU', 'Plannet_GPU', 'Football', 'Fraud', 'Fraud_GPU', 'BCI']\n", + "['xgb', 'lgbm', 'xgb_hist']\n" ] } ], @@ -794,9 +794,9 @@ "