diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs000.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs000.html index 532859bcb..cd7951257 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs000.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs000.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -275,7 +277,7 @@ MathJax.Hub.Config({
  • 9
  • 10
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs001.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs001.html index b7c6325e5..0756f3f60 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs001.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs001.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -280,7 +282,7 @@ given some assumptions, make predictions about the target feature value
  • 10
  • 11
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs002.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs002.html index a8748ce44..b54a6221d 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs002.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs002.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -258,7 +260,7 @@ This tree was produced using the Wisconsin cancer data (discussed here as well,
  • 11
  • 12
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs003.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs003.html index 56f38313c..90142e15c 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs003.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs003.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -266,7 +268,7 @@ node.
  • 12
  • 13
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs004.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs004.html index b5bc1fc5a..5523306c3 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs004.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs004.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -267,7 +269,7 @@ Then we are essentially done!
  • 13
  • 14
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs005.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs005.html index 4f74844c7..6c480b0a7 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs005.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs005.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -346,7 +348,7 @@ plt.show()
  • 14
  • 15
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs006.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs006.html index 1ba0164b2..a68a5e269 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs006.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs006.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -279,7 +281,7 @@ within box \( j \).
  • 15
  • 16
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs007.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs007.html index 3663532e9..073d3217f 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs007.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs007.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -271,7 +273,7 @@ better tree in some future step.
  • 16
  • 17
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs008.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs008.html index ad64a1ba1..fff86f1d8 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs008.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs008.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -304,7 +306,7 @@ region contains more than five observations.
  • 17
  • 18
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs009.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs009.html index 52d193278..3054a7236 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs009.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs009.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -273,7 +275,7 @@ parameter \( \alpha \).
  • 18
  • 19
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs010.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs010.html index b2f5cacf7..06a27fb4d 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs010.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs010.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -286,7 +288,7 @@ subtree corresponding to \( \alpha \).
  • 19
  • 20
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs011.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs011.html index 68a3f02d3..6e736bbc3 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs011.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs011.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -282,7 +284,7 @@ MathJax.Hub.Config({
  • 20
  • 21
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs012.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs012.html index 42cffb0de..695f10763 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs012.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs012.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -274,7 +276,7 @@ fall into that region.
  • 21
  • 22
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs013.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs013.html index 5733e08f7..a1136e70f 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs013.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs013.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -279,7 +281,7 @@ than is the classification error rate.
  • 22
  • 23
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs014.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs014.html index 88ae28e91..639a87941 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs014.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs014.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -305,7 +307,7 @@ $$
  • 23
  • 24
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs015.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs015.html index 818a8d847..01da17adf 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs015.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs015.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -296,7 +298,7 @@ os.system(cmd)
  • 24
  • 25
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs016.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs016.html index b5710e68c..b486e8e6a 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs016.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs016.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -287,7 +289,7 @@ os.system(cmd)
  • 25
  • 26
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs017.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs017.html index 3e07f6869..d1c8143d8 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs017.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs017.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -268,7 +270,7 @@ We discuss both algorithms with applications here. The popular library -Scikit-L
  • 26
  • 27
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs018.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs018.html index 62dbbc302..2a2418513 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs018.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs018.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -260,7 +262,7 @@ MathJax.Hub.Config({
  • 27
  • 28
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs019.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs019.html index 8b19e19bb..ee57b6185 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs019.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs019.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -260,7 +262,7 @@ MathJax.Hub.Config({
  • 28
  • 29
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs020.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs020.html index a915226ba..128133a1b 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs020.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs020.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -300,7 +302,7 @@ The table here summarizes the various attributes and
  • 29
  • 30
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs021.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs021.html index cf72c7947..8b3cdb618 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs021.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs021.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -331,7 +333,7 @@ os.system(cmd)
  • 30
  • 31
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs022.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs022.html index e7b8aa064..df9cb9a60 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs022.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs022.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -333,7 +335,7 @@ split = get_split(dataset)
  • 31
  • 32
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs023.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs023.html index 39dd82763..57c74b394 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs023.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs023.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -291,7 +293,7 @@ attributes at each step while growing the tree.
  • 32
  • 33
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs024.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs024.html index f4ea06f2d..90f522b3b 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs024.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs024.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -451,7 +453,7 @@ MathJax.Hub.Config({
  • 33
  • 34
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs025.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs025.html index f66bca351..1c99d0a05 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs025.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs025.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -304,7 +306,7 @@ deep_tree_clf.fit(X_train_scaled, y_train)
  • 34
  • 35
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs026.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs026.html index 5a7c5c524..0b2a90953 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs026.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs026.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -327,7 +329,7 @@ plt.show()
  • 35
  • 36
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs027.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs027.html index 968b88265..7de76160b 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs027.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs027.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -283,7 +285,7 @@ plt.show()
  • 36
  • 37
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs028.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs028.html index 999e10fd3..3dc974db8 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs028.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs028.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -277,7 +279,7 @@ tree_reg.fit(X, y)
  • 37
  • 38
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs029.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs029.html index 763697a01..d1a4a97cb 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs029.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs029.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -333,7 +335,7 @@ plt.show()
  • 38
  • 39
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs030.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs030.html index 713e3bf13..c9cbd2f91 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs030.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs030.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -269,7 +271,7 @@ MathJax.Hub.Config({
  • 39
  • 40
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs031.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs031.html index c6626c3b9..d0f98282a 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs031.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs031.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -272,7 +274,7 @@ However, by aggregating many decision trees, using methods like bagging, random
  • 40
  • 41
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs032.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs032.html index ed1d0ac50..fab9eb30f 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs032.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs032.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -279,7 +281,7 @@ We discuss these methods here.
  • 41
  • 42
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs033.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs033.html index 7332fd504..264568a5f 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs033.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs033.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -263,7 +265,7 @@ MathJax.Hub.Config({
  • 42
  • 43
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs034.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs034.html index 095abbcbb..78d22020a 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs034.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs034.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -274,7 +276,7 @@ learning method.
  • 43
  • 44
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs035.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs035.html index 3879ad651..c95f265ce 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs035.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs035.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -284,7 +286,7 @@ predictor, averaged over all \( B \) trees.
  • 44
  • 45
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs036.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs036.html index 1480014a9..e44725d77 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs036.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs036.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -275,7 +277,7 @@ plt.show()
  • 45
  • 46
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs037.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs037.html index 4f248f6f5..5c17f7f80 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs037.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs037.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -306,7 +308,7 @@ voting_clf.fit(X_train, y_train)
  • 46
  • 47
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs038.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs038.html index 17feef8c7..06fff87ed 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs038.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs038.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -313,7 +315,7 @@ voting_clf.fit(X_train, y_train)
  • 47
  • 48
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs039.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs039.html index ccb8fad5c..b381d8e1a 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs039.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs039.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -316,7 +318,7 @@ plt.show()
  • 48
  • 49
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs040.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs040.html index 7ebfb7732..9813a92be 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs040.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs040.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -299,7 +301,7 @@ this setting.
  • 49
  • 50
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs041.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs041.html index 09e205e9c..ee5b1ad08 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs041.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs041.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -281,7 +283,7 @@ We will grow of forest of say \( M \) trees.
  • 50
  • 51
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs042.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs042.html index 8cbdfe4b6..4b3db8b2b 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs042.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs042.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -329,7 +331,7 @@ plt.show()
  • 51
  • 52
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs043.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs043.html index 0b45318a1..c8ef5cf7a 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs043.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs043.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -277,7 +279,7 @@ np.sum(y_pred =
  • 52
  • 53
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs044.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs044.html index 159f3cf2a..c863be7df 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs044.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs044.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -263,7 +265,7 @@ Example will be added here.
  • 53
  • 54
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs045.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs045.html index 875fb75aa..94e51ba14 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs045.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs045.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -271,6 +273,8 @@ them with a factor.
  • 53
  • 54
  • 55
  • +
  • ...
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs046.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs046.html index 4240a0897..1eccd68a0 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs046.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs046.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -275,6 +277,7 @@ where the function \( I() \) is one if we misclassify and zero if we classify co
  • 53
  • 54
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs047.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs047.html index e2b533008..35680be78 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs047.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs047.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -292,6 +294,7 @@ observations that are missed in the previous iterations.
  • 53
  • 54
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs048.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs048.html index 230d60153..32e455b1e 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs048.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs048.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -256,6 +258,7 @@ MathJax.Hub.Config({
  • 53
  • 54
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs049.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs049.html index 2e1feab4d..f0981082a 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs049.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs049.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -293,6 +295,7 @@ plt.show()
  • 53
  • 54
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs050.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs050.html index 9d656303a..987ba0b72 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs050.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs050.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -264,6 +266,7 @@ function was the least squares function.
  • 53
  • 54
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs051.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs051.html index 20712fafa..94873b2b4 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs051.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs051.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -274,6 +276,7 @@ The way we proceed in an iterative fashion is to
  • 53
  • 54
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs052.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs052.html index 94de8a221..a1d6b07ec 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs052.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs052.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -337,6 +339,7 @@ plt.show()
  • 53
  • 54
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs053.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs053.html index 5f7afcc1d..b0c98925a 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs053.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs053.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -310,6 +312,7 @@ error_going_up = 53
  • 54
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/DecisionTrees-bs.html b/doc/pub/DecisionTrees/html/DecisionTrees-bs.html index 532859bcb..cd7951257 100644 --- a/doc/pub/DecisionTrees/html/DecisionTrees-bs.html +++ b/doc/pub/DecisionTrees/html/DecisionTrees-bs.html @@ -125,7 +125,8 @@ Automatically generated HTML file from DocOnce source ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -217,6 +218,7 @@ MathJax.Hub.Config({
  • Gradient Boosting, Examples
  • Gradient Boots with Early Stopping
  • XGBoost: Extreme Gradient Boosting
  • +
  • Xgboost on the Cancer Data
  • @@ -275,7 +277,7 @@ MathJax.Hub.Config({
  • 9
  • 10
  • ...
  • -
  • 55
  • +
  • 56
  • »
  • diff --git a/doc/pub/DecisionTrees/html/DecisionTrees-reveal.html b/doc/pub/DecisionTrees/html/DecisionTrees-reveal.html index 5c05bc76e..00d97656f 100644 --- a/doc/pub/DecisionTrees/html/DecisionTrees-reveal.html +++ b/doc/pub/DecisionTrees/html/DecisionTrees-reveal.html @@ -2247,6 +2247,44 @@ It is now the algorithm which wins essentially all ML competitions!!! +
    +

    Xgboost on the Cancer Data

    +

    + + +

    import matplotlib.pyplot as plt
    +import numpy as np
    +from sklearn.model_selection import  train_test_split 
    +from sklearn.datasets import load_breast_cancer
    +from sklearn.preprocessing import LabelEncoder
    +from sklearn.model_selection import cross_validate
    +import scikitplot as skplt
    +import xgboost as xgb
    +# Load the data
    +cancer = load_breast_cancer()
    +
    +X_train, X_test, y_train, y_test = train_test_split(cancer.data,cancer.target,random_state=0)
    +print(X_train.shape)
    +print(X_test.shape)
    +#now scale the data
    +from sklearn.preprocessing import StandardScaler
    +scaler = StandardScaler()
    +scaler.fit(X_train)
    +X_train_scaled = scaler.transform(X_train)
    +X_test_scaled = scaler.transform(X_test)
    +
    +xg_clf = xgb.XGBClassifier()
    +xg_clf.fit(X_train_scaled,y_train)
    +xgb.plot_tree(xg_clf,num_trees=0)
    +plt.rcParams['figure.figsize'] = [50, 10]
    +plt.show()
    +xgb.plot_importance(xg_clf)
    +plt.rcParams['figure.figsize'] = [5, 5]
    +plt.show()
    +
    +
    + + diff --git a/doc/pub/DecisionTrees/html/DecisionTrees-solarized.html b/doc/pub/DecisionTrees/html/DecisionTrees-solarized.html index e09f2ea36..690ca8a77 100644 --- a/doc/pub/DecisionTrees/html/DecisionTrees-solarized.html +++ b/doc/pub/DecisionTrees/html/DecisionTrees-solarized.html @@ -145,7 +145,8 @@ div { text-align: justify; text-justify: inter-word; } ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -2222,6 +2223,45 @@ sketch for efficient proposal calculation. It introduces a novel sparsity-aware

    It is now the algorithm which wins essentially all ML competitions!!! +

    +









    + +

    Xgboost on the Cancer Data

    +

    + + +

    import matplotlib.pyplot as plt
    +import numpy as np
    +from sklearn.model_selection import  train_test_split 
    +from sklearn.datasets import load_breast_cancer
    +from sklearn.preprocessing import LabelEncoder
    +from sklearn.model_selection import cross_validate
    +import scikitplot as skplt
    +import xgboost as xgb
    +# Load the data
    +cancer = load_breast_cancer()
    +
    +X_train, X_test, y_train, y_test = train_test_split(cancer.data,cancer.target,random_state=0)
    +print(X_train.shape)
    +print(X_test.shape)
    +#now scale the data
    +from sklearn.preprocessing import StandardScaler
    +scaler = StandardScaler()
    +scaler.fit(X_train)
    +X_train_scaled = scaler.transform(X_train)
    +X_test_scaled = scaler.transform(X_test)
    +
    +xg_clf = xgb.XGBClassifier()
    +xg_clf.fit(X_train_scaled,y_train)
    +xgb.plot_tree(xg_clf,num_trees=0)
    +plt.rcParams['figure.figsize'] = [50, 10]
    +plt.show()
    +xgb.plot_importance(xg_clf)
    +plt.rcParams['figure.figsize'] = [5, 5]
    +plt.show()
    +
    +

    + diff --git a/doc/pub/DecisionTrees/html/DecisionTrees.html b/doc/pub/DecisionTrees/html/DecisionTrees.html index 2b45b7595..186eea8a1 100644 --- a/doc/pub/DecisionTrees/html/DecisionTrees.html +++ b/doc/pub/DecisionTrees/html/DecisionTrees.html @@ -150,7 +150,8 @@ div { text-align: justify; text-justify: inter-word; } ('Gradient Boosting, algorithm', 2, None, '___sec50'), ('Gradient Boosting, Examples', 2, None, '___sec51'), ('Gradient Boots with Early Stopping', 2, None, '___sec52'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53')]} + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec53'), + ('Xgboost on the Cancer Data', 2, None, '___sec54')]} end of tocinfo --> @@ -2227,6 +2228,45 @@ sketch for efficient proposal calculation. It introduces a novel sparsity-aware

    It is now the algorithm which wins essentially all ML competitions!!! +

    +









    + +

    Xgboost on the Cancer Data

    +

    + + +

    import matplotlib.pyplot as plt
    +import numpy as np
    +from sklearn.model_selection import  train_test_split 
    +from sklearn.datasets import load_breast_cancer
    +from sklearn.preprocessing import LabelEncoder
    +from sklearn.model_selection import cross_validate
    +import scikitplot as skplt
    +import xgboost as xgb
    +# Load the data
    +cancer = load_breast_cancer()
    +
    +X_train, X_test, y_train, y_test = train_test_split(cancer.data,cancer.target,random_state=0)
    +print(X_train.shape)
    +print(X_test.shape)
    +#now scale the data
    +from sklearn.preprocessing import StandardScaler
    +scaler = StandardScaler()
    +scaler.fit(X_train)
    +X_train_scaled = scaler.transform(X_train)
    +X_test_scaled = scaler.transform(X_test)
    +
    +xg_clf = xgb.XGBClassifier()
    +xg_clf.fit(X_train_scaled,y_train)
    +xgb.plot_tree(xg_clf,num_trees=0)
    +plt.rcParams['figure.figsize'] = [50, 10]
    +plt.show()
    +xgb.plot_importance(xg_clf)
    +plt.rcParams['figure.figsize'] = [5, 5]
    +plt.show()
    +
    +

    + diff --git a/doc/pub/DecisionTrees/ipynb/DecisionTrees.ipynb b/doc/pub/DecisionTrees/ipynb/DecisionTrees.ipynb index 666e15bc7..b0eaa13f3 100644 --- a/doc/pub/DecisionTrees/ipynb/DecisionTrees.ipynb +++ b/doc/pub/DecisionTrees/ipynb/DecisionTrees.ipynb @@ -2288,7 +2288,48 @@ "boosting system. It has a theoretically justified weighted quantile\n", "sketch for efficient proposal calculation. It introduces a novel sparsity-aware algorithm for parallel tree learning and an effective cache-aware block structure for out-of-core tree learning.\n", "\n", - "It is now the algorithm which wins essentially all ML competitions!!!" + "It is now the algorithm which wins essentially all ML competitions!!!\n", + "\n", + "## Xgboost on the Cancer Data" + ] + }, + { + "cell_type": "code", + "execution_count": 30, + "metadata": { + "collapsed": false + }, + "outputs": [], + "source": [ + "import matplotlib.pyplot as plt\n", + "import numpy as np\n", + "from sklearn.model_selection import train_test_split \n", + "from sklearn.datasets import load_breast_cancer\n", + "from sklearn.preprocessing import LabelEncoder\n", + "from sklearn.model_selection import cross_validate\n", + "import scikitplot as skplt\n", + "import xgboost as xgb\n", + "# Load the data\n", + "cancer = load_breast_cancer()\n", + "\n", + "X_train, X_test, y_train, y_test = train_test_split(cancer.data,cancer.target,random_state=0)\n", + "print(X_train.shape)\n", + "print(X_test.shape)\n", + "#now scale the data\n", + "from sklearn.preprocessing import StandardScaler\n", + "scaler = StandardScaler()\n", + "scaler.fit(X_train)\n", + "X_train_scaled = scaler.transform(X_train)\n", + "X_test_scaled = scaler.transform(X_test)\n", + "\n", + "xg_clf = xgb.XGBClassifier()\n", + "xg_clf.fit(X_train_scaled,y_train)\n", + "xgb.plot_tree(xg_clf,num_trees=0)\n", + "plt.rcParams['figure.figsize'] = [50, 10]\n", + "plt.show()\n", + "xgb.plot_importance(xg_clf)\n", + "plt.rcParams['figure.figsize'] = [5, 5]\n", + "plt.show()" ] } ], diff --git a/doc/pub/DecisionTrees/ipynb/ipynb-DecisionTrees-src.tar.gz b/doc/pub/DecisionTrees/ipynb/ipynb-DecisionTrees-src.tar.gz index 1d7d28def..8efd3d870 100644 Binary files a/doc/pub/DecisionTrees/ipynb/ipynb-DecisionTrees-src.tar.gz and b/doc/pub/DecisionTrees/ipynb/ipynb-DecisionTrees-src.tar.gz differ diff --git a/doc/pub/DecisionTrees/pdf/DecisionTrees-minted.pdf b/doc/pub/DecisionTrees/pdf/DecisionTrees-minted.pdf index 85c249036..4556a78e2 100644 Binary files a/doc/pub/DecisionTrees/pdf/DecisionTrees-minted.pdf and b/doc/pub/DecisionTrees/pdf/DecisionTrees-minted.pdf differ diff --git a/doc/src/DecisionTrees/DecisionTrees.do.txt b/doc/src/DecisionTrees/DecisionTrees.do.txt index 5f8f1fc91..3d35629da 100644 --- a/doc/src/DecisionTrees/DecisionTrees.do.txt +++ b/doc/src/DecisionTrees/DecisionTrees.do.txt @@ -1847,3 +1847,37 @@ boosting system. It has a theoretically justified weighted quantile sketch for efficient proposal calculation. It introduces a novel sparsity-aware algorithm for parallel tree learning and an effective cache-aware block structure for out-of-core tree learning. It is now the algorithm which wins essentially all ML competitions!!! + +!split +===== Xgboost on the Cancer Data ===== +!bc pycod +import matplotlib.pyplot as plt +import numpy as np +from sklearn.model_selection import train_test_split +from sklearn.datasets import load_breast_cancer +from sklearn.preprocessing import LabelEncoder +from sklearn.model_selection import cross_validate +import scikitplot as skplt +import xgboost as xgb +# Load the data +cancer = load_breast_cancer() + +X_train, X_test, y_train, y_test = train_test_split(cancer.data,cancer.target,random_state=0) +print(X_train.shape) +print(X_test.shape) +#now scale the data +from sklearn.preprocessing import StandardScaler +scaler = StandardScaler() +scaler.fit(X_train) +X_train_scaled = scaler.transform(X_train) +X_test_scaled = scaler.transform(X_test) + +xg_clf = xgb.XGBClassifier() +xg_clf.fit(X_train_scaled,y_train) +xgb.plot_tree(xg_clf,num_trees=0) +plt.rcParams['figure.figsize'] = [50, 10] +plt.show() +xgb.plot_importance(xg_clf) +plt.rcParams['figure.figsize'] = [5, 5] +plt.show() +!ec diff --git a/doc/src/DecisionTrees/Programs/xgcancer.py b/doc/src/DecisionTrees/Programs/xgcancer.py new file mode 100644 index 000000000..55d910b0d --- /dev/null +++ b/doc/src/DecisionTrees/Programs/xgcancer.py @@ -0,0 +1,33 @@ +import matplotlib.pyplot as plt +import numpy as np +from sklearn.model_selection import train_test_split +from sklearn.datasets import load_breast_cancer +from sklearn.preprocessing import LabelEncoder +from sklearn.model_selection import cross_validate +import scikitplot as skplt +import xgboost as xgb +# Load the data +cancer = load_breast_cancer() + +X_train, X_test, y_train, y_test = train_test_split(cancer.data,cancer.target,random_state=0) +print(X_train.shape) +print(X_test.shape) +#now scale the data +from sklearn.preprocessing import StandardScaler +scaler = StandardScaler() +scaler.fit(X_train) +X_train_scaled = scaler.transform(X_train) +X_test_scaled = scaler.transform(X_test) + +xg_clf = xgb.XGBClassifier() +xg_clf.fit(X_train_scaled,y_train) + +preds = xg_clf.predict(X_test_scaled) + +xgb.plot_tree(xg_clf,num_trees=0) +plt.rcParams['figure.figsize'] = [50, 10] +plt.show() + +xgb.plot_importance(xg_clf) +plt.rcParams['figure.figsize'] = [5, 5] +plt.show()