diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs000.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs000.html index 2c5b1c41f..4ad69c7e8 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs000.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs000.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -296,7 +298,7 @@ MathJax.Hub.Config({
  • 9
  • 10
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs001.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs001.html index d7053e6f6..af458a527 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs001.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs001.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -301,7 +303,7 @@ given some assumptions, make predictions about the target feature value
  • 10
  • 11
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs002.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs002.html index 2d4cb3b8e..1ee4ea5c3 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs002.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs002.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -279,7 +281,7 @@ This tree was produced using the Wisconsin cancer data (discussed here as well,
  • 11
  • 12
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs003.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs003.html index 1d37565bf..ed6cfa12c 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs003.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs003.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -287,7 +289,7 @@ node.
  • 12
  • 13
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs004.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs004.html index a464fee9b..c0696f3c5 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs004.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs004.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -288,7 +290,7 @@ Then we are essentially done!
  • 13
  • 14
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs005.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs005.html index 9afb71753..1e62e681c 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs005.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs005.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -367,7 +369,7 @@ plt.show()
  • 14
  • 15
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs006.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs006.html index f411da8ec..629d9fd81 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs006.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs006.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -300,7 +302,7 @@ within box \( j \).
  • 15
  • 16
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs007.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs007.html index 68d56d9ff..eb4898b13 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs007.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs007.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -292,7 +294,7 @@ better tree in some future step.
  • 16
  • 17
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs008.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs008.html index 3faec87be..2c35cc054 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs008.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs008.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -325,7 +327,7 @@ region contains more than five observations.
  • 17
  • 18
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs009.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs009.html index 6f5415d41..fafee14cd 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs009.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs009.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -294,7 +296,7 @@ parameter \( \alpha \).
  • 18
  • 19
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs010.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs010.html index cb2753e89..d7a84a484 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs010.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs010.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -307,7 +309,7 @@ subtree corresponding to \( \alpha \).
  • 19
  • 20
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs011.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs011.html index e3ffc776a..024094bce 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs011.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs011.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -303,7 +305,7 @@ MathJax.Hub.Config({
  • 20
  • 21
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs012.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs012.html index a6f5acf69..6390bcc11 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs012.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs012.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -295,7 +297,7 @@ fall into that region.
  • 21
  • 22
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs013.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs013.html index 53fdfece4..2272f8264 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs013.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs013.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -300,7 +302,7 @@ than is the classification error rate.
  • 22
  • 23
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs014.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs014.html index b88afea4a..1ee914fee 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs014.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs014.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -326,7 +328,7 @@ $$
  • 23
  • 24
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs015.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs015.html index 3a446242d..b03b9e931 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs015.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs015.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -317,7 +319,7 @@ os.system(cmd)
  • 24
  • 25
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs016.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs016.html index bb45fd29a..513ceca1d 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs016.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs016.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -308,7 +310,7 @@ os.system(cmd)
  • 25
  • 26
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs017.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs017.html index a497b1771..aec974035 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs017.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs017.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -291,7 +293,7 @@ We discuss both algorithms with applications here. The popular library Scikit
  • 26
  • 27
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs018.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs018.html index a6cd2421e..1b43c6a8c 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs018.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs018.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -281,7 +283,7 @@ MathJax.Hub.Config({
  • 27
  • 28
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs019.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs019.html index ce78078b4..a70590f6e 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs019.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs019.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -281,7 +283,7 @@ MathJax.Hub.Config({
  • 28
  • 29
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs020.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs020.html index 42f030fd4..7e79c572f 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs020.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs020.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -321,7 +323,7 @@ The table here summarizes the various attributes and
  • 29
  • 30
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs021.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs021.html index fca80a3ca..ebf7e3762 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs021.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs021.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -352,7 +354,7 @@ os.system(cmd)
  • 30
  • 31
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs022.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs022.html index d3a0d46df..ac5900e51 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs022.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs022.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -354,7 +356,7 @@ split = get_split(dataset)
  • 31
  • 32
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs023.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs023.html index 688c6bdc8..eb1f8aea9 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs023.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs023.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -312,7 +314,7 @@ attributes at each step while growing the tree.
  • 32
  • 33
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs024.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs024.html index cc1269996..306ca9a25 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs024.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs024.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -472,7 +474,7 @@ MathJax.Hub.Config({
  • 33
  • 34
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs025.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs025.html index 55ce4a637..896060889 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs025.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs025.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -325,7 +327,7 @@ deep_tree_clf.fit(X_train_scaled, y_train)
  • 34
  • 35
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs026.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs026.html index 62d72d0dc..3eed10ca9 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs026.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs026.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -348,7 +350,7 @@ plt.show()
  • 35
  • 36
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs027.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs027.html index 6506033b6..4771dc74c 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs027.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs027.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -304,7 +306,7 @@ plt.show()
  • 36
  • 37
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs028.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs028.html index 3fba7d9a2..10560bc69 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs028.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs028.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -298,7 +300,7 @@ tree_reg.fit(X, y)
  • 37
  • 38
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs029.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs029.html index 08d4f065f..e69405891 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs029.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs029.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -354,7 +356,7 @@ plt.show()
  • 38
  • 39
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs030.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs030.html index 6bf46786f..6c13085ca 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs030.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs030.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -290,7 +292,7 @@ MathJax.Hub.Config({
  • 39
  • 40
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs031.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs031.html index ed239515a..1b731ef21 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs031.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs031.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -293,7 +295,7 @@ However, by aggregating many decision trees, using methods like bagging, random
  • 40
  • 41
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs032.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs032.html index d4c1c9f0f..775b66caa 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs032.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs032.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -300,7 +302,7 @@ We discuss these methods here.
  • 41
  • 42
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs033.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs033.html index c45171198..c41a8521c 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs033.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs033.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -284,7 +286,7 @@ MathJax.Hub.Config({
  • 42
  • 43
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs034.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs034.html index 9a5d5a36d..92dddf039 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs034.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs034.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -295,7 +297,7 @@ learning method.
  • 43
  • 44
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs035.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs035.html index 369ad5478..0ee5bf69e 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs035.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs035.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -305,7 +307,7 @@ predictor, averaged over all \( B \) trees.
  • 44
  • 45
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs036.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs036.html index 8f94c5fad..8a63ae44e 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs036.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs036.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -296,7 +298,7 @@ plt.show()
  • 45
  • 46
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs037.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs037.html index 85083c311..e7f0fe107 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs037.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs037.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -327,7 +329,7 @@ voting_clf.fit(X_train, y_train)
  • 46
  • 47
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs038.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs038.html index 1ad91ae25..3ab620a74 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs038.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs038.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -334,7 +336,7 @@ voting_clf.fit(X_train, y_train)
  • 47
  • 48
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs039.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs039.html index 3dc135c85..efa07f8a0 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs039.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs039.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -337,7 +339,7 @@ plt.show()
  • 48
  • 49
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs040.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs040.html index 7d385e49c..034972284 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs040.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs040.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -335,7 +337,7 @@ plt.show()
  • 49
  • 50
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs041.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs041.html index c512686c0..7a7a9aaad 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs041.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs041.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -320,7 +322,7 @@ this setting.
  • 50
  • 51
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs042.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs042.html index f62977b12..b4d53777f 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs042.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs042.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -302,7 +304,7 @@ We will grow of forest of say \( M \) trees.
  • 51
  • 52
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs043.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs043.html index b25831f6c..dbb115f41 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs043.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs043.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -349,7 +351,7 @@ plt.show()
  • 52
  • 53
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs044.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs044.html index d143b6c76..c4f9dcfcb 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs044.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs044.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -298,7 +300,7 @@ np.sum(y_pred =
  • 53
  • 54
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs045.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs045.html index b151b2a8e..de5bbff3d 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs045.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs045.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -293,7 +295,7 @@ them with a factor.
  • 54
  • 55
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs046.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs046.html index 0743680c6..8c2e94a5a 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs046.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs046.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -316,7 +318,7 @@ In iterative fitting or additive modeling, we minimize the cost function with re
  • 55
  • 56
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs047.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs047.html index 3fe3cddaf..01fc229e6 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs047.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs047.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -264,9 +266,9 @@ The way we proceed is as follows (here we specialize to the squared-error cost f
  • For \( m=1:M \)
      -
    1. minmize $\sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\beta b(x;\gamma))^2 wrt \( \gamma \) and $\beta$$
    2. +
    3. minimize \( \sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\beta b(x;\gamma))^2 \) wrt \( \gamma \) and \( \beta \)
    4. This gives the optimial values \( \beta_m \) and \( \gamma_m \)
    5. -
    6. Determine then the new values $f_m(x)=f_{m-1}(x) +\beta_m b(x;\gamma_m)
    7. +
    8. Determine then the new values \( f_m(x)=f_{m-1}(x) +\beta_m b(x;\gamma_m) \)
    @@ -299,7 +301,7 @@ We could use any of the algorithms we have discussed till now. If we use trees,
  • 56
  • 57
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs048.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs048.html index e77407903..e7a5cc621 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs048.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs048.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -310,7 +312,7 @@ $$
  • 57
  • 58
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs049.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs049.html index cbd0f9069..8ebe52e23 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs049.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs049.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -265,9 +267,19 @@ $$ The simplest possible cost function which leads (also simple from a computational point of view) to the AdaBoost algorithm is the exponential cost/loss function defined as $$ -C(\boldsymbol{y},\boldsymbol{f}) = \sum_{i=0}^{n-1}\exp{-(y_i(f_{m-1(x_i)+\beta G(x_i})} +C(\boldsymbol{y},\boldsymbol{f}) = \sum_{i=0}^{n-1}\exp{-(y_i(f_{m-1}(x_i)+\beta G(x_i))}. $$ +

    +We optimize \( \beta \) and \( G \) for each value of \( m=1:M \) as we did in the regression case. +This is normally done in two steps. Let us however first rewrite the cost function as + +$$ +C(\boldsymbol{y},\boldsymbol{f}) = \sum_{i=0}^{n-1}w_i^{m}\exp{-(y_i\beta G(x_i))}, +$$ + +where we have defined \( w_i^m= \exp{-(y_if_{m-1}(x_i))} \). +

    @@ -294,7 +306,7 @@ $$

  • 58
  • 59
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs050.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs050.html index 5cfe30a73..97e1a58ab 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs050.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs050.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -253,26 +255,32 @@ MathJax.Hub.Config({ -

    Adaptive boosting: AdaBoost, Basic Algorithm

    +

    Building up AdaBoost

    -The algorithm here is rather straightforward. Assume that our weak -classifier is a decision tree and we consider a binary set of outputs -with \( y_i \in \{-1,1\} \) and \( i=0,1,2,\dots,n-1 \) as our set of -observations. Our design matrix is given in terms of the -feature/predictor vectors -\( \boldsymbol{X}=[\boldsymbol{x}_0\boldsymbol{x}_1\dots\boldsymbol{x}_{p-1} \). Finally, we define also a -classifier determined by our data via a function \( G(\boldsymbol{X}) \). This function tells us how well we are able to classify our outputs/targets \( \boldsymbol{y} \). - -

    -We can then define the misclassification error \( \mathrm{err} \) as +First, for any \( \beta > 0 \), we optimize \( G \) by setting $$ -\mathrm{err}=\frac{1}{n}\sum_{i=0}^{n-1}I(y_i\ne G(\boldsymbol{X}_{i*}), +G_m(x) = \mathrm{sign} \sum_{i=0}^{n-1} w_i^m I(y_i \ne G_(x_i)), $$ -where the function \( I() \) is one if we misclassify and zero if we classify correctly. +which is the classifier that minimizes the weighted error rate in predicting \( y \).

    +We can do this by rewriting +$$ +\exp{-\beta}\sum_{y_i=G(x_i)}w_i^m+\exp{\beta}\sum_{y_i\ne G(x_i)}w_i^m, +$$ + +which can be rewritten as +$$ +(\exp{\beta}-\exp{-\beta})\sum_{i=0}^{n-1}w_i^mI(y_i\ne G(x_i))+\exp{-\beta}\sum_{i=0}^{n-1}w_i^m=0, +$$ + +which leads to +$$ +\beta_m = frac{1}{2}\log{\frac{1-\mathrm{\overline{err}}}{\mathrm{\overline{err}}}}, +$$ +

    diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs051.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs051.html index 04529d0ff..f944dd2e6 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs051.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs051.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -253,42 +255,24 @@ MathJax.Hub.Config({ -

    Basic Steps of AdaBoost

    +

    Adaptive boosting: AdaBoost, Basic Algorithm

    -With the above definitions we are now ready to set up the algorithm for AdaBoost. -The basic idea is to set up weights which will be used to scale the correctly classified and the misclassified cases. - -

      -
    1. We start by initializing all weights to \( w_i = 1/n \), with \( i=0,1,2,\dots n-1 \). It is to see then that \( \sum_{i=0}^{n-1}w_i = 1 \).
    2. -
    3. We rewrite the misclassification error as
    4. -
    +The algorithm here is rather straightforward. Assume that our weak +classifier is a decision tree and we consider a binary set of outputs +with \( y_i \in \{-1,1\} \) and \( i=0,1,2,\dots,n-1 \) as our set of +observations. Our design matrix is given in terms of the +feature/predictor vectors +\( \boldsymbol{X}=[\boldsymbol{x}_0\boldsymbol{x}_1\dots\boldsymbol{x}_{p-1} \). Finally, we define also a +classifier determined by our data via a function \( G(\boldsymbol{X}) \). This function tells us how well we are able to classify our outputs/targets \( \boldsymbol{y} \). +

    +We can then define the misclassification error \( \mathrm{err} \) as $$ -\mathrm{err}=\frac{\sum_{i=0}^{n-1}w_iI(y_i\ne G(\boldsymbol{X}_{i*})}{\sum_{i=0}^{n-1}w_i}, +\mathrm{err}=\frac{1}{n}\sum_{i=0}^{n-1}I(y_i\ne G(\boldsymbol{X}_{i*}), $$ - -

      -
    1. Then we start looping over all attempts at classifying, namely we start an iterative process for \( m=1:M \), where \( M \) is the final number of classifications. Our given classifier could for example be a plain decision tree. - -
        -
      1. Fit then a given classifier to the training using the weights \( w_i \).
      2. -
      3. Compute then \( \mathrm{err} \) and figure out which events are classified properly and which are classified wrongly.
      4. -
      5. Define a quantity \( \alpha_{m} = \log{(1-\mathrm{err})/\mathrm{err}} \)
      6. -
      7. Set the new weights to \( w_i = w_i\times \exp{(\alpha_m I(y_i\ne G(\boldsymbol{X}_{i*})} \).
      8. -
      - -
    2. Compute the new classifier \( G(\boldsymbol{X})= \sum_{i=0}^{n-1}\alpha_m I(y_i\ne G(\boldsymbol{X}_{i*}) \).
    3. -
    - -For the iterations with \( m \le 2 \) the weights are modified -individually at each steps. The obersvations which were misclassified -at iteration \( m-1 \) have a weight which is larger than those which were -classified properly. As this proceeds, the observations which were -difficult to classifiy correctly are given a larger influence. Each -new classification step \( m \) is then forced to concentrate on those -observations that are missed in the previous iterations. +where the function \( I() \) is one if we misclassify and zero if we classify correctly.

    @@ -314,6 +298,7 @@ observations that are missed in the previous iterations.

  • 58
  • 59
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs052.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs052.html index ceaec0361..77cff1af6 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs052.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs052.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -253,36 +255,43 @@ MathJax.Hub.Config({ -

    AdaBoost Examples

    +

    Basic Steps of AdaBoost

    -Using Scikit-Learn it is easy to appply the adaptive boosting algorithm, as done here. +With the above definitions we are now ready to set up the algorithm for AdaBoost. +The basic idea is to set up weights which will be used to scale the correctly classified and the misclassified cases. -

    +

      +
    1. We start by initializing all weights to \( w_i = 1/n \), with \( i=0,1,2,\dots n-1 \). It is to see then that \( \sum_{i=0}^{n-1}w_i = 1 \).
    2. +
    3. We rewrite the misclassification error as
    4. +
    - -
    from sklearn.ensemble import AdaBoostClassifier
    +$$
    +\mathrm{err}=\frac{\sum_{i=0}^{n-1}w_iI(y_i\ne G(\boldsymbol{X}_{i*})}{\sum_{i=0}^{n-1}w_i},
    +$$
     
    -ada_clf = AdaBoostClassifier(
    -    DecisionTreeClassifier(max_depth=1), n_estimators=200,
    -    algorithm="SAMME.R", learning_rate=0.5, random_state=42)
    -ada_clf.fit(X_train, y_train)
     
    -from sklearn.ensemble import AdaBoostClassifier
    +
      +
    1. Then we start looping over all attempts at classifying, namely we start an iterative process for \( m=1:M \), where \( M \) is the final number of classifications. Our given classifier could for example be a plain decision tree. + +
        +
      1. Fit then a given classifier to the training using the weights \( w_i \).
      2. +
      3. Compute then \( \mathrm{err} \) and figure out which events are classified properly and which are classified wrongly.
      4. +
      5. Define a quantity \( \alpha_{m} = \log{(1-\mathrm{err})/\mathrm{err}} \)
      6. +
      7. Set the new weights to \( w_i = w_i\times \exp{(\alpha_m I(y_i\ne G(\boldsymbol{X}_{i*})} \).
      8. +
      + +
    2. Compute the new classifier \( G(\boldsymbol{X})= \sum_{i=0}^{n-1}\alpha_m I(y_i\ne G(\boldsymbol{X}_{i*}) \).
    3. +
    + +For the iterations with \( m \le 2 \) the weights are modified +individually at each steps. The obersvations which were misclassified +at iteration \( m-1 \) have a weight which is larger than those which were +classified properly. As this proceeds, the observations which were +difficult to classifiy correctly are given a larger influence. Each +new classification step \( m \) is then forced to concentrate on those +observations that are missed in the previous iterations. -ada_clf = AdaBoostClassifier( - DecisionTreeClassifier(max_depth=1), n_estimators=200, - algorithm="SAMME.R", learning_rate=0.5, random_state=42) -ada_clf.fit(X_train_scaled, y_train) -y_pred = ada_clf.predict(X_test_scaled) -skplt.metrics.plot_confusion_matrix(y_test, y_pred, normalize=True) -plt.show() -y_probas = ada_clf.predict_proba(X_test_scaled) -skplt.metrics.plot_roc(y_test, y_probas) -plt.show() -skplt.metrics.plot_cumulative_gain(y_test, y_probas) -plt.show() -

    @@ -306,6 +315,7 @@ plt.show()

  • 58
  • 59
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs053.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs053.html index b50c93b1b..f10ebc350 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs053.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs053.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -253,18 +255,36 @@ MathJax.Hub.Config({ -

    Gradient boosting: Basics

    +

    AdaBoost Examples

    -Gradient boosting is again a similar technique to Adapative boosting, -it combines so-called weak classifiers or regressors into a strong -method via a series of iterations. +Using Scikit-Learn it is easy to appply the adaptive boosting algorithm, as done here.

    -In order to understand the method, let us illustrate its basics by -bringing back the essential steps in linear regression, where our cost -function was the least squares function. + +

    from sklearn.ensemble import AdaBoostClassifier
    +
    +ada_clf = AdaBoostClassifier(
    +    DecisionTreeClassifier(max_depth=1), n_estimators=200,
    +    algorithm="SAMME.R", learning_rate=0.5, random_state=42)
    +ada_clf.fit(X_train, y_train)
    +
    +from sklearn.ensemble import AdaBoostClassifier
    +
    +ada_clf = AdaBoostClassifier(
    +    DecisionTreeClassifier(max_depth=1), n_estimators=200,
    +    algorithm="SAMME.R", learning_rate=0.5, random_state=42)
    +ada_clf.fit(X_train_scaled, y_train)
    +y_pred = ada_clf.predict(X_test_scaled)
    +skplt.metrics.plot_confusion_matrix(y_test, y_pred, normalize=True)
    +plt.show()
    +y_probas = ada_clf.predict_proba(X_test_scaled)
    +skplt.metrics.plot_roc(y_test, y_probas)
    +plt.show()
    +skplt.metrics.plot_cumulative_gain(y_test, y_probas)
    +plt.show()
    +

    @@ -287,6 +307,7 @@ function was the least squares function.

  • 58
  • 59
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs054.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs054.html index 437fa274b..7e040723f 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs054.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs054.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -253,30 +255,19 @@ MathJax.Hub.Config({ -

    Gradient Boosting, algorithm

    +

    Gradient boosting: Basics

    -Suppose we have a cost function \( C(f)=\sum_{i=0}^{n-1}L(y_i, f(x_i)) \) where \( y_i \) is our target and \( f(x_i) \) the function which is meant to model \( y_i \). The above cost function could be our standard least squares function -$$ -C(\boldsymbol{y},\boldsymbol{f})=\frac{1}{n}\sum_{i=0}^{n-1}(y_i-f(x_i))^2. -$$ +Gradient boosting is again a similar technique to Adapative boosting, +it combines so-called weak classifiers or regressors into a strong +method via a series of iterations.

    -The way we proceed in an iterative fashion is to - -

      -
    1. Initialize our estimate by \( f_0(x)=0 \).
    2. -
    3. For \( m=1:M \), we - -
        -
      1. compute the negative gradient vector \( \boldsymbol{u}_m = -\partial C(\boldsymbol{y},\boldsymbol{f})/\partial \boldsymbol{f}(x) \) at $f(x) = f_{m-1}(x);
      2. -
      3. fit the so-called base-learner to the negative gradient \( h_m(u_m,x) \);
      4. -
      5. update the estimate \( f_m(x) = f_{m-1}(x)+\nu h_m(u_m,x) \);
      6. -
      - -
    4. The final estimate is then \( f_M(x) = \sum_{m=1}^M\nu h_m(u_m,x) \).
    5. -
    +In order to understand the method, let us illustrate its basics by +bringing back the essential steps in linear regression, where our cost +function was the least squares function. +

    diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs055.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs055.html index d807e85cf..ea2668395 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs055.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs055.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -253,94 +255,30 @@ MathJax.Hub.Config({ -

    Gradient Boosting, Examples

    +

    Gradient Boosting, algorithm

    +

    +Suppose we have a cost function \( C(f)=\sum_{i=0}^{n-1}L(y_i, f(x_i)) \) where \( y_i \) is our target and \( f(x_i) \) the function which is meant to model \( y_i \). The above cost function could be our standard least squares function +$$ +C(\boldsymbol{y},\boldsymbol{f})=\frac{1}{n}\sum_{i=0}^{n-1}(y_i-f(x_i))^2. +$$ - -

    np.random.seed(42)
    -X = np.random.rand(100, 1) - 0.5
    -y = 3*X[:, 0]**2 + 0.05 * np.random.randn(100)
    -
    -from sklearn.tree import DecisionTreeRegressor
    -
    -tree_reg1 = DecisionTreeRegressor(max_depth=2, random_state=42)
    -tree_reg1.fit(X, y)
    -
    -y2 = y - tree_reg1.predict(X)
    -tree_reg2 = DecisionTreeRegressor(max_depth=2, random_state=42)
    -tree_reg2.fit(X, y2)
    -
    -y3 = y2 - tree_reg2.predict(X)
    -tree_reg3 = DecisionTreeRegressor(max_depth=2, random_state=42)
    -tree_reg3.fit(X, y3)
    -
    -X_new = np.array([[0.8]])
    -y_pred = sum(tree.predict(X_new) for tree in (tree_reg1, tree_reg2, tree_reg3))
    -
    -def plot_predictions(regressors, X, y, axes, label=None, style="r-", data_style="b.", data_label=None):
    -    x1 = np.linspace(axes[0], axes[1], 500)
    -    y_pred = sum(regressor.predict(x1.reshape(-1, 1)) for regressor in regressors)
    -    plt.plot(X[:, 0], y, data_style, label=data_label)
    -    plt.plot(x1, y_pred, style, linewidth=2, label=label)
    -    if label or data_label:
    -        plt.legend(loc="upper center", fontsize=16)
    -    plt.axis(axes)
    -
    -plt.figure(figsize=(11,11))
    -
    -plt.subplot(321)
    -plot_predictions([tree_reg1], X, y, axes=[-0.5, 0.5, -0.1, 0.8], label="$h_1(x_1)$", style="g-", data_label="Training set")
    -plt.ylabel("$y$", fontsize=16, rotation=0)
    -plt.title("Residuals and tree predictions", fontsize=16)
    -
    -plt.subplot(322)
    -plot_predictions([tree_reg1], X, y, axes=[-0.5, 0.5, -0.1, 0.8], label="$h(x_1) = h_1(x_1)$", data_label="Training set")
    -plt.ylabel("$y$", fontsize=16, rotation=0)
    -plt.title("Ensemble predictions", fontsize=16)
    -
    -plt.subplot(323)
    -plot_predictions([tree_reg2], X, y2, axes=[-0.5, 0.5, -0.5, 0.5], label="$h_2(x_1)$", style="g-", data_style="k+", data_label="Residuals")
    -plt.ylabel("$y - h_1(x_1)$", fontsize=16)
    -
    -plt.subplot(324)
    -plot_predictions([tree_reg1, tree_reg2], X, y, axes=[-0.5, 0.5, -0.1, 0.8], label="$h(x_1) = h_1(x_1) + h_2(x_1)$")
    -plt.ylabel("$y$", fontsize=16, rotation=0)
    -
    -plt.subplot(325)
    -plot_predictions([tree_reg3], X, y3, axes=[-0.5, 0.5, -0.5, 0.5], label="$h_3(x_1)$", style="g-", data_style="k+")
    -plt.ylabel("$y - h_1(x_1) - h_2(x_1)$", fontsize=16)
    -plt.xlabel("$x_1$", fontsize=16)
    -
    -plt.subplot(326)
    -plot_predictions([tree_reg1, tree_reg2, tree_reg3], X, y, axes=[-0.5, 0.5, -0.1, 0.8], label="$h(x_1) = h_1(x_1) + h_2(x_1) + h_3(x_1)$")
    -plt.xlabel("$x_1$", fontsize=16)
    -plt.ylabel("$y$", fontsize=16, rotation=0)
    -
    -save_fig("gradient_boosting_plot")
    -plt.show()
    -
    -from sklearn.ensemble import GradientBoostingRegressor
    -
    -gbrt = GradientBoostingRegressor(max_depth=2, n_estimators=3, learning_rate=1.0, random_state=42)
    -gbrt.fit(X, y)
    -
    -gbrt_slow = GradientBoostingRegressor(max_depth=2, n_estimators=200, learning_rate=0.1, random_state=42)
    -gbrt_slow.fit(X, y)
    -
    -plt.figure(figsize=(11,4))
    -
    -plt.subplot(121)
    -plot_predictions([gbrt], X, y, axes=[-0.5, 0.5, -0.1, 0.8], label="Ensemble predictions")
    -plt.title("learning_rate={}, n_estimators={}".format(gbrt.learning_rate, gbrt.n_estimators), fontsize=14)
    -
    -plt.subplot(122)
    -plot_predictions([gbrt_slow], X, y, axes=[-0.5, 0.5, -0.1, 0.8])
    -plt.title("learning_rate={}, n_estimators={}".format(gbrt_slow.learning_rate, gbrt_slow.n_estimators), fontsize=14)
    -
    -save_fig("gbrt_learning_rate_plot")
    -plt.show()
    -

    +The way we proceed in an iterative fashion is to + +

      +
    1. Initialize our estimate by \( f_0(x)=0 \).
    2. +
    3. For \( m=1:M \), we + +
        +
      1. compute the negative gradient vector \( \boldsymbol{u}_m = -\partial C(\boldsymbol{y},\boldsymbol{f})/\partial \boldsymbol{f}(x) \) at $f(x) = f_{m-1}(x);
      2. +
      3. fit the so-called base-learner to the negative gradient \( h_m(u_m,x) \);
      4. +
      5. update the estimate \( f_m(x) = f_{m-1}(x)+\nu h_m(u_m,x) \);
      6. +
      + +
    4. The final estimate is then \( f_M(x) = \sum_{m=1}^M\nu h_m(u_m,x) \).
    5. +
    +

    diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs056.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs056.html index fd4fc52b9..665e91b5d 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs056.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs056.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -253,66 +255,92 @@ MathJax.Hub.Config({ -

    Gradient Boots with Early Stopping

    +

    Gradient Boosting, Examples

    -

    from sklearn.model_selection import train_test_split
    -from sklearn.metrics import mean_squared_error
    +
    np.random.seed(42)
    +X = np.random.rand(100, 1) - 0.5
    +y = 3*X[:, 0]**2 + 0.05 * np.random.randn(100)
     
    -X_train, X_val, y_train, y_val = train_test_split(X, y, random_state=49)
    +from sklearn.tree import DecisionTreeRegressor
     
    -gbrt = GradientBoostingRegressor(max_depth=2, n_estimators=120, random_state=42)
    -gbrt.fit(X_train, y_train)
    +tree_reg1 = DecisionTreeRegressor(max_depth=2, random_state=42)
    +tree_reg1.fit(X, y)
     
    -errors = [mean_squared_error(y_val, y_pred)
    -          for y_pred in gbrt.staged_predict(X_val)]
    -bst_n_estimators = np.argmin(errors) + 1
    +y2 = y - tree_reg1.predict(X)
    +tree_reg2 = DecisionTreeRegressor(max_depth=2, random_state=42)
    +tree_reg2.fit(X, y2)
     
    -gbrt_best = GradientBoostingRegressor(max_depth=2,n_estimators=bst_n_estimators, random_state=42)
    -gbrt_best.fit(X_train, y_train)
    +y3 = y2 - tree_reg2.predict(X)
    +tree_reg3 = DecisionTreeRegressor(max_depth=2, random_state=42)
    +tree_reg3.fit(X, y3)
     
    -min_error = np.min(errors)
    -plt.figure(figsize=(11, 4))
    +X_new = np.array([[0.8]])
    +y_pred = sum(tree.predict(X_new) for tree in (tree_reg1, tree_reg2, tree_reg3))
     
    -plt.subplot(121)
    -plt.plot(errors, "b.-")
    -plt.plot([bst_n_estimators, bst_n_estimators], [0, min_error], "k--")
    -plt.plot([0, 120], [min_error, min_error], "k--")
    -plt.plot(bst_n_estimators, min_error, "ko")
    -plt.text(bst_n_estimators, min_error*1.2, "Minimum", ha="center", fontsize=14)
    -plt.axis([0, 120, 0, 0.01])
    -plt.xlabel("Number of trees")
    -plt.title("Validation error", fontsize=14)
    +def plot_predictions(regressors, X, y, axes, label=None, style="r-", data_style="b.", data_label=None):
    +    x1 = np.linspace(axes[0], axes[1], 500)
    +    y_pred = sum(regressor.predict(x1.reshape(-1, 1)) for regressor in regressors)
    +    plt.plot(X[:, 0], y, data_style, label=data_label)
    +    plt.plot(x1, y_pred, style, linewidth=2, label=label)
    +    if label or data_label:
    +        plt.legend(loc="upper center", fontsize=16)
    +    plt.axis(axes)
     
    -plt.subplot(122)
    -plot_predictions([gbrt_best], X, y, axes=[-0.5, 0.5, -0.1, 0.8])
    -plt.title("Best model (%d trees)" % bst_n_estimators, fontsize=14)
    +plt.figure(figsize=(11,11))
     
    -save_fig("early_stopping_gbrt_plot")
    +plt.subplot(321)
    +plot_predictions([tree_reg1], X, y, axes=[-0.5, 0.5, -0.1, 0.8], label="$h_1(x_1)$", style="g-", data_label="Training set")
    +plt.ylabel("$y$", fontsize=16, rotation=0)
    +plt.title("Residuals and tree predictions", fontsize=16)
    +
    +plt.subplot(322)
    +plot_predictions([tree_reg1], X, y, axes=[-0.5, 0.5, -0.1, 0.8], label="$h(x_1) = h_1(x_1)$", data_label="Training set")
    +plt.ylabel("$y$", fontsize=16, rotation=0)
    +plt.title("Ensemble predictions", fontsize=16)
    +
    +plt.subplot(323)
    +plot_predictions([tree_reg2], X, y2, axes=[-0.5, 0.5, -0.5, 0.5], label="$h_2(x_1)$", style="g-", data_style="k+", data_label="Residuals")
    +plt.ylabel("$y - h_1(x_1)$", fontsize=16)
    +
    +plt.subplot(324)
    +plot_predictions([tree_reg1, tree_reg2], X, y, axes=[-0.5, 0.5, -0.1, 0.8], label="$h(x_1) = h_1(x_1) + h_2(x_1)$")
    +plt.ylabel("$y$", fontsize=16, rotation=0)
    +
    +plt.subplot(325)
    +plot_predictions([tree_reg3], X, y3, axes=[-0.5, 0.5, -0.5, 0.5], label="$h_3(x_1)$", style="g-", data_style="k+")
    +plt.ylabel("$y - h_1(x_1) - h_2(x_1)$", fontsize=16)
    +plt.xlabel("$x_1$", fontsize=16)
    +
    +plt.subplot(326)
    +plot_predictions([tree_reg1, tree_reg2, tree_reg3], X, y, axes=[-0.5, 0.5, -0.1, 0.8], label="$h(x_1) = h_1(x_1) + h_2(x_1) + h_3(x_1)$")
    +plt.xlabel("$x_1$", fontsize=16)
    +plt.ylabel("$y$", fontsize=16, rotation=0)
    +
    +save_fig("gradient_boosting_plot")
     plt.show()
     
    +from sklearn.ensemble import GradientBoostingRegressor
     
    -gbrt = GradientBoostingRegressor(max_depth=2, warm_start=True, random_state=42)
    +gbrt = GradientBoostingRegressor(max_depth=2, n_estimators=3, learning_rate=1.0, random_state=42)
    +gbrt.fit(X, y)
     
    -min_val_error = float("inf")
    -error_going_up = 0
    -for n_estimators in range(1, 120):
    -    gbrt.n_estimators = n_estimators
    -    gbrt.fit(X_train, y_train)
    -    y_pred = gbrt.predict(X_val)
    -    val_error = mean_squared_error(y_val, y_pred)
    -    if val_error < min_val_error:
    -        min_val_error = val_error
    -        error_going_up = 0
    -    else:
    -        error_going_up += 1
    -        if error_going_up == 5:
    -            break  # early stopping
    +gbrt_slow = GradientBoostingRegressor(max_depth=2, n_estimators=200, learning_rate=0.1, random_state=42)
    +gbrt_slow.fit(X, y)
     
    +plt.figure(figsize=(11,4))
     
    -print(gbrt.n_estimators)
    -print("Minimum validation MSE:", min_val_error)
    +plt.subplot(121)
    +plot_predictions([gbrt], X, y, axes=[-0.5, 0.5, -0.1, 0.8], label="Ensemble predictions")
    +plt.title("learning_rate={}, n_estimators={}".format(gbrt.learning_rate, gbrt.n_estimators), fontsize=14)
    +
    +plt.subplot(122)
    +plot_predictions([gbrt_slow], X, y, axes=[-0.5, 0.5, -0.1, 0.8])
    +plt.title("learning_rate={}, n_estimators={}".format(gbrt_slow.learning_rate, gbrt_slow.n_estimators), fontsize=14)
    +
    +save_fig("gbrt_learning_rate_plot")
    +plt.show()
     

    @@ -333,6 +361,7 @@ error_going_up = 58

  • 59
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs057.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs057.html index 14c41a09d..203990494 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs057.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs057.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -253,24 +255,67 @@ MathJax.Hub.Config({ -

    XGBoost: Extreme Gradient Boosting

    - +

    Gradient Boots with Early Stopping

    -XGBoost or Extreme Gradient -Boosting, is an optimized distributed gradient boosting library -designed to be highly efficient, flexible and portable. It implements -machine learning algorithms under the Gradient Boosting -framework. XGBoost provides a parallel tree boosting that solve many -data science problems in a fast and accurate way. See the article by Chen and Guestrin. -

    -The authors design and build a highly scalable end-to-end tree -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. + +

    from sklearn.model_selection import train_test_split
    +from sklearn.metrics import mean_squared_error
     
    -

    -It is now the algorithm which wins essentially all ML competitions!!! +X_train, X_val, y_train, y_val = train_test_split(X, y, random_state=49) +gbrt = GradientBoostingRegressor(max_depth=2, n_estimators=120, random_state=42) +gbrt.fit(X_train, y_train) + +errors = [mean_squared_error(y_val, y_pred) + for y_pred in gbrt.staged_predict(X_val)] +bst_n_estimators = np.argmin(errors) + 1 + +gbrt_best = GradientBoostingRegressor(max_depth=2,n_estimators=bst_n_estimators, random_state=42) +gbrt_best.fit(X_train, y_train) + +min_error = np.min(errors) +plt.figure(figsize=(11, 4)) + +plt.subplot(121) +plt.plot(errors, "b.-") +plt.plot([bst_n_estimators, bst_n_estimators], [0, min_error], "k--") +plt.plot([0, 120], [min_error, min_error], "k--") +plt.plot(bst_n_estimators, min_error, "ko") +plt.text(bst_n_estimators, min_error*1.2, "Minimum", ha="center", fontsize=14) +plt.axis([0, 120, 0, 0.01]) +plt.xlabel("Number of trees") +plt.title("Validation error", fontsize=14) + +plt.subplot(122) +plot_predictions([gbrt_best], X, y, axes=[-0.5, 0.5, -0.1, 0.8]) +plt.title("Best model (%d trees)" % bst_n_estimators, fontsize=14) + +save_fig("early_stopping_gbrt_plot") +plt.show() + + +gbrt = GradientBoostingRegressor(max_depth=2, warm_start=True, random_state=42) + +min_val_error = float("inf") +error_going_up = 0 +for n_estimators in range(1, 120): + gbrt.n_estimators = n_estimators + gbrt.fit(X_train, y_train) + y_pred = gbrt.predict(X_val) + val_error = mean_squared_error(y_val, y_pred) + if val_error < min_val_error: + min_val_error = val_error + error_going_up = 0 + else: + error_going_up += 1 + if error_going_up == 5: + break # early stopping + + +print(gbrt.n_estimators) +print("Minimum validation MSE:", min_val_error) +

    @@ -289,6 +334,7 @@ It is now the algorithm which wins essentially all ML competitions!!!

  • 58
  • 59
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/DecisionTrees-bs.html b/doc/pub/DecisionTrees/html/DecisionTrees-bs.html index 2c5b1c41f..4ad69c7e8 100644 --- a/doc/pub/DecisionTrees/html/DecisionTrees-bs.html +++ b/doc/pub/DecisionTrees/html/DecisionTrees-bs.html @@ -129,19 +129,20 @@ Automatically generated HTML file from DocOnce source None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -228,16 +229,17 @@ MathJax.Hub.Config({
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Iterative Fitting, Classification, AdaBoost
  • Adaptive Boosting, AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples
  • -
  • Gradient Boots with Early Stopping
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples
  • +
  • Gradient Boots with Early Stopping
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -296,7 +298,7 @@ MathJax.Hub.Config({
  • 9
  • 10
  • ...
  • -
  • 60
  • +
  • 61
  • »
  • diff --git a/doc/pub/DecisionTrees/html/DecisionTrees-reveal.html b/doc/pub/DecisionTrees/html/DecisionTrees-reveal.html index b36ba49b9..e9b1c112e 100644 --- a/doc/pub/DecisionTrees/html/DecisionTrees-reveal.html +++ b/doc/pub/DecisionTrees/html/DecisionTrees-reveal.html @@ -2026,9 +2026,9 @@ The way we proceed is as follows (here we specialize to the squared-error cost f

  • For \( m=1:M \)
      -

    1. minmize $\sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\beta b(x;\gamma))^2 wrt \( \gamma \) and $\beta$$
    2. +

    3. minimize \( \sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\beta b(x;\gamma))^2 \) wrt \( \gamma \) and \( \beta \)
    4. This gives the optimial values \( \beta_m \) and \( \gamma_m \)
    5. -

    6. Determine then the new values $f_m(x)=f_{m-1}(x) +\beta_m b(x;\gamma_m)
    7. +

    8. Determine then the new values \( f_m(x)=f_{m-1}(x) +\beta_m b(x;\gamma_m) \)

    @@ -2094,14 +2094,63 @@ The simplest possible cost function which leads (also simple from a computationa exponential cost/loss function defined as

     
    $$ -C(\boldsymbol{y},\boldsymbol{f}) = \sum_{i=0}^{n-1}\exp{-(y_i(f_{m-1(x_i)+\beta G(x_i})} +C(\boldsymbol{y},\boldsymbol{f}) = \sum_{i=0}^{n-1}\exp{-(y_i(f_{m-1}(x_i)+\beta G(x_i))}. +$$ +

     
    + +

    +We optimize \( \beta \) and \( G \) for each value of \( m=1:M \) as we did in the regression case. +This is normally done in two steps. Let us however first rewrite the cost function as + +

     
    +$$ +C(\boldsymbol{y},\boldsymbol{f}) = \sum_{i=0}^{n-1}w_i^{m}\exp{-(y_i\beta G(x_i))}, +$$ +

     
    + +where we have defined \( w_i^m= \exp{-(y_if_{m-1}(x_i))} \). + + + +

    +

    Building up AdaBoost

    + +

    +First, for any \( \beta > 0 \), we optimize \( G \) by setting +

     
    +$$ +G_m(x) = \mathrm{sign} \sum_{i=0}^{n-1} w_i^m I(y_i \ne G_(x_i)), +$$ +

     
    + +which is the classifier that minimizes the weighted error rate in predicting \( y \). + +

    +We can do this by rewriting +

     
    +$$ +\exp{-\beta}\sum_{y_i=G(x_i)}w_i^m+\exp{\beta}\sum_{y_i\ne G(x_i)}w_i^m, +$$ +

     
    + +which can be rewritten as +

     
    +$$ +(\exp{\beta}-\exp{-\beta})\sum_{i=0}^{n-1}w_i^mI(y_i\ne G(x_i))+\exp{-\beta}\sum_{i=0}^{n-1}w_i^m=0, +$$ +

     
    + +which leads to +

     
    +$$ +\beta_m = frac{1}{2}\log{\frac{1-\mathrm{\overline{err}}}{\mathrm{\overline{err}}}}, $$

     

    -

    Adaptive boosting: AdaBoost, Basic Algorithm

    +

    Adaptive boosting: AdaBoost, Basic Algorithm

    The algorithm here is rather straightforward. Assume that our weak @@ -2125,7 +2174,7 @@ where the function \( I() \) is one if we misclassify and zero if we classify co

    -

    Basic Steps of AdaBoost

    +

    Basic Steps of AdaBoost

    With the above definitions we are now ready to set up the algorithm for AdaBoost. @@ -2166,7 +2215,7 @@ observations that are missed in the previous iterations.

    -

    AdaBoost Examples

    +

    AdaBoost Examples

    Using Scikit-Learn it is easy to appply the adaptive boosting algorithm, as done here. @@ -2200,7 +2249,7 @@ plt.show()

    -

    Gradient boosting: Basics

    +

    Gradient boosting: Basics

    Gradient boosting is again a similar technique to Adapative boosting, @@ -2215,7 +2264,7 @@ function was the least squares function.

    -

    Gradient Boosting, algorithm

    +

    Gradient Boosting, algorithm

    Suppose we have a cost function \( C(f)=\sum_{i=0}^{n-1}L(y_i, f(x_i)) \) where \( y_i \) is our target and \( f(x_i) \) the function which is meant to model \( y_i \). The above cost function could be our standard least squares function @@ -2243,7 +2292,7 @@ The way we proceed in an iterative fashion is to

    -

    Gradient Boosting, Examples

    +

    Gradient Boosting, Examples

    @@ -2334,7 +2383,7 @@ plt.show()

    -

    Gradient Boots with Early Stopping

    +

    Gradient Boots with Early Stopping

    @@ -2399,7 +2448,7 @@ error_going_up = 0

    -

    XGBoost: Extreme Gradient Boosting

    +

    XGBoost: Extreme Gradient Boosting

    XGBoost or Extreme Gradient @@ -2420,7 +2469,7 @@ It is now the algorithm which wins essentially all ML competitions!!!

    -

    Regression Case

    +

    Regression Case

    @@ -2476,7 +2525,7 @@ plt.show()

    -

    Xgboost on the Cancer Data

    +

    Xgboost on the Cancer Data

    diff --git a/doc/pub/DecisionTrees/html/DecisionTrees-solarized.html b/doc/pub/DecisionTrees/html/DecisionTrees-solarized.html index 9b84cf8d4..8a40a0fa1 100644 --- a/doc/pub/DecisionTrees/html/DecisionTrees-solarized.html +++ b/doc/pub/DecisionTrees/html/DecisionTrees-solarized.html @@ -149,19 +149,20 @@ div { text-align: justify; text-justify: inter-word; } None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -2018,9 +2019,9 @@ The way we proceed is as follows (here we specialize to the squared-error cost f

  • For \( m=1:M \)
      -
    1. minmize $\sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\beta b(x;\gamma))^2 wrt \( \gamma \) and $\beta$$
    2. +
    3. minimize \( \sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\beta b(x;\gamma))^2 \) wrt \( \gamma \) and \( \beta \)
    4. This gives the optimial values \( \beta_m \) and \( \gamma_m \)
    5. -
    6. Determine then the new values $f_m(x)=f_{m-1}(x) +\beta_m b(x;\gamma_m)
    7. +
    8. Determine then the new values \( f_m(x)=f_{m-1}(x) +\beta_m b(x;\gamma_m) \)
    @@ -2076,13 +2077,51 @@ $$ The simplest possible cost function which leads (also simple from a computational point of view) to the AdaBoost algorithm is the exponential cost/loss function defined as $$ -C(\boldsymbol{y},\boldsymbol{f}) = \sum_{i=0}^{n-1}\exp{-(y_i(f_{m-1(x_i)+\beta G(x_i})} +C(\boldsymbol{y},\boldsymbol{f}) = \sum_{i=0}^{n-1}\exp{-(y_i(f_{m-1}(x_i)+\beta G(x_i))}. $$ +

    +We optimize \( \beta \) and \( G \) for each value of \( m=1:M \) as we did in the regression case. +This is normally done in two steps. Let us however first rewrite the cost function as + +$$ +C(\boldsymbol{y},\boldsymbol{f}) = \sum_{i=0}^{n-1}w_i^{m}\exp{-(y_i\beta G(x_i))}, +$$ + +where we have defined \( w_i^m= \exp{-(y_if_{m-1}(x_i))} \). +











    -

    Adaptive boosting: AdaBoost, Basic Algorithm

    +

    Building up AdaBoost

    + +

    +First, for any \( \beta > 0 \), we optimize \( G \) by setting +$$ +G_m(x) = \mathrm{sign} \sum_{i=0}^{n-1} w_i^m I(y_i \ne G_(x_i)), +$$ + +which is the classifier that minimizes the weighted error rate in predicting \( y \). + +

    +We can do this by rewriting +$$ +\exp{-\beta}\sum_{y_i=G(x_i)}w_i^m+\exp{\beta}\sum_{y_i\ne G(x_i)}w_i^m, +$$ + +which can be rewritten as +$$ +(\exp{\beta}-\exp{-\beta})\sum_{i=0}^{n-1}w_i^mI(y_i\ne G(x_i))+\exp{-\beta}\sum_{i=0}^{n-1}w_i^m=0, +$$ + +which leads to +$$ +\beta_m = frac{1}{2}\log{\frac{1-\mathrm{\overline{err}}}{\mathrm{\overline{err}}}}, +$$ + +









    + +

    Adaptive boosting: AdaBoost, Basic Algorithm

    The algorithm here is rather straightforward. Assume that our weak @@ -2104,7 +2143,7 @@ where the function \( I() \) is one if we misclassify and zero if we classify co











    -

    Basic Steps of AdaBoost

    +

    Basic Steps of AdaBoost

    With the above definitions we are now ready to set up the algorithm for AdaBoost. @@ -2144,7 +2183,7 @@ observations that are missed in the previous iterations.











    -

    AdaBoost Examples

    +

    AdaBoost Examples

    Using Scikit-Learn it is easy to appply the adaptive boosting algorithm, as done here. @@ -2177,7 +2216,7 @@ plt.show()











    -

    Gradient boosting: Basics

    +

    Gradient boosting: Basics

    Gradient boosting is again a similar technique to Adapative boosting, @@ -2192,7 +2231,7 @@ function was the least squares function.











    -

    Gradient Boosting, algorithm

    +

    Gradient Boosting, algorithm

    Suppose we have a cost function \( C(f)=\sum_{i=0}^{n-1}L(y_i, f(x_i)) \) where \( y_i \) is our target and \( f(x_i) \) the function which is meant to model \( y_i \). The above cost function could be our standard least squares function @@ -2218,7 +2257,7 @@ The way we proceed in an iterative fashion is to









    -

    Gradient Boosting, Examples

    +

    Gradient Boosting, Examples

    @@ -2308,7 +2347,7 @@ plt.show()











    -

    Gradient Boots with Early Stopping

    +

    Gradient Boots with Early Stopping

    @@ -2372,7 +2411,7 @@ error_going_up = 0











    -

    XGBoost: Extreme Gradient Boosting

    +

    XGBoost: Extreme Gradient Boosting

    XGBoost or Extreme Gradient @@ -2393,7 +2432,7 @@ It is now the algorithm which wins essentially all ML competitions!!!











    -

    Regression Case

    +

    Regression Case

    @@ -2448,7 +2487,7 @@ plt.show()











    -

    Xgboost on the Cancer Data

    +

    Xgboost on the Cancer Data

    diff --git a/doc/pub/DecisionTrees/html/DecisionTrees.html b/doc/pub/DecisionTrees/html/DecisionTrees.html index 42acee4ec..98c64a7c6 100644 --- a/doc/pub/DecisionTrees/html/DecisionTrees.html +++ b/doc/pub/DecisionTrees/html/DecisionTrees.html @@ -154,19 +154,20 @@ div { text-align: justify; text-justify: inter-word; } None, '___sec47'), ('Adaptive Boosting, AdaBoost', 2, None, '___sec48'), + ('Building up AdaBoost', 2, None, '___sec49'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec49'), - ('Basic Steps of AdaBoost', 2, None, '___sec50'), - ('AdaBoost Examples', 2, None, '___sec51'), - ('Gradient boosting: Basics', 2, None, '___sec52'), - ('Gradient Boosting, algorithm', 2, None, '___sec53'), - ('Gradient Boosting, Examples', 2, None, '___sec54'), - ('Gradient Boots with Early Stopping', 2, None, '___sec55'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec56'), - ('Regression Case', 2, None, '___sec57'), - ('Xgboost on the Cancer Data', 2, None, '___sec58')]} + '___sec50'), + ('Basic Steps of AdaBoost', 2, None, '___sec51'), + ('AdaBoost Examples', 2, None, '___sec52'), + ('Gradient boosting: Basics', 2, None, '___sec53'), + ('Gradient Boosting, algorithm', 2, None, '___sec54'), + ('Gradient Boosting, Examples', 2, None, '___sec55'), + ('Gradient Boots with Early Stopping', 2, None, '___sec56'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec57'), + ('Regression Case', 2, None, '___sec58'), + ('Xgboost on the Cancer Data', 2, None, '___sec59')]} end of tocinfo --> @@ -2023,9 +2024,9 @@ The way we proceed is as follows (here we specialize to the squared-error cost f

  • For \( m=1:M \)
      -
    1. minmize $\sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\beta b(x;\gamma))^2 wrt \( \gamma \) and $\beta$$
    2. +
    3. minimize \( \sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\beta b(x;\gamma))^2 \) wrt \( \gamma \) and \( \beta \)
    4. This gives the optimial values \( \beta_m \) and \( \gamma_m \)
    5. -
    6. Determine then the new values $f_m(x)=f_{m-1}(x) +\beta_m b(x;\gamma_m)
    7. +
    8. Determine then the new values \( f_m(x)=f_{m-1}(x) +\beta_m b(x;\gamma_m) \)
    @@ -2081,13 +2082,51 @@ $$ The simplest possible cost function which leads (also simple from a computational point of view) to the AdaBoost algorithm is the exponential cost/loss function defined as $$ -C(\boldsymbol{y},\boldsymbol{f}) = \sum_{i=0}^{n-1}\exp{-(y_i(f_{m-1(x_i)+\beta G(x_i})} +C(\boldsymbol{y},\boldsymbol{f}) = \sum_{i=0}^{n-1}\exp{-(y_i(f_{m-1}(x_i)+\beta G(x_i))}. $$ +

    +We optimize \( \beta \) and \( G \) for each value of \( m=1:M \) as we did in the regression case. +This is normally done in two steps. Let us however first rewrite the cost function as + +$$ +C(\boldsymbol{y},\boldsymbol{f}) = \sum_{i=0}^{n-1}w_i^{m}\exp{-(y_i\beta G(x_i))}, +$$ + +where we have defined \( w_i^m= \exp{-(y_if_{m-1}(x_i))} \). +











    -

    Adaptive boosting: AdaBoost, Basic Algorithm

    +

    Building up AdaBoost

    + +

    +First, for any \( \beta > 0 \), we optimize \( G \) by setting +$$ +G_m(x) = \mathrm{sign} \sum_{i=0}^{n-1} w_i^m I(y_i \ne G_(x_i)), +$$ + +which is the classifier that minimizes the weighted error rate in predicting \( y \). + +

    +We can do this by rewriting +$$ +\exp{-\beta}\sum_{y_i=G(x_i)}w_i^m+\exp{\beta}\sum_{y_i\ne G(x_i)}w_i^m, +$$ + +which can be rewritten as +$$ +(\exp{\beta}-\exp{-\beta})\sum_{i=0}^{n-1}w_i^mI(y_i\ne G(x_i))+\exp{-\beta}\sum_{i=0}^{n-1}w_i^m=0, +$$ + +which leads to +$$ +\beta_m = frac{1}{2}\log{\frac{1-\mathrm{\overline{err}}}{\mathrm{\overline{err}}}}, +$$ + +









    + +

    Adaptive boosting: AdaBoost, Basic Algorithm

    The algorithm here is rather straightforward. Assume that our weak @@ -2109,7 +2148,7 @@ where the function \( I() \) is one if we misclassify and zero if we classify co











    -

    Basic Steps of AdaBoost

    +

    Basic Steps of AdaBoost

    With the above definitions we are now ready to set up the algorithm for AdaBoost. @@ -2149,7 +2188,7 @@ observations that are missed in the previous iterations.











    -

    AdaBoost Examples

    +

    AdaBoost Examples

    Using Scikit-Learn it is easy to appply the adaptive boosting algorithm, as done here. @@ -2182,7 +2221,7 @@ plt.show()











    -

    Gradient boosting: Basics

    +

    Gradient boosting: Basics

    Gradient boosting is again a similar technique to Adapative boosting, @@ -2197,7 +2236,7 @@ function was the least squares function.











    -

    Gradient Boosting, algorithm

    +

    Gradient Boosting, algorithm

    Suppose we have a cost function \( C(f)=\sum_{i=0}^{n-1}L(y_i, f(x_i)) \) where \( y_i \) is our target and \( f(x_i) \) the function which is meant to model \( y_i \). The above cost function could be our standard least squares function @@ -2223,7 +2262,7 @@ The way we proceed in an iterative fashion is to









    -

    Gradient Boosting, Examples

    +

    Gradient Boosting, Examples

    @@ -2313,7 +2352,7 @@ plt.show()











    -

    Gradient Boots with Early Stopping

    +

    Gradient Boots with Early Stopping

    @@ -2377,7 +2416,7 @@ error_going_up = XGBoost: Extreme Gradient Boosting +

    XGBoost: Extreme Gradient Boosting

    XGBoost or Extreme Gradient @@ -2398,7 +2437,7 @@ It is now the algorithm which wins essentially all ML competitions!!!











    -

    Regression Case

    +

    Regression Case

    @@ -2453,7 +2492,7 @@ plt.show()











    -

    Xgboost on the Cancer Data

    +

    Xgboost on the Cancer Data

    diff --git a/doc/pub/DecisionTrees/ipynb/DecisionTrees.ipynb b/doc/pub/DecisionTrees/ipynb/DecisionTrees.ipynb index 018a5f714..4891455ed 100644 --- a/doc/pub/DecisionTrees/ipynb/DecisionTrees.ipynb +++ b/doc/pub/DecisionTrees/ipynb/DecisionTrees.ipynb @@ -2084,11 +2084,11 @@ "\n", "3. For $m=1:M$\n", "\n", - "a. minmize $\\sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\\beta b(x;\\gamma))^2 wrt $\\gamma$ and $\\beta$$\n", + "a. minimize $\\sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\\beta b(x;\\gamma))^2$ wrt $\\gamma$ and $\\beta$\n", "\n", "b. This gives the optimial values $\\beta_m$ and $\\gamma_m$\n", "\n", - "c. Determine then the new values $f_m(x)=f_{m-1}(x) +\\beta_m b(x;\\gamma_m)\n", + "c. Determine then the new values $f_m(x)=f_{m-1}(x) +\\beta_m b(x;\\gamma_m)$\n", "\n", "\n", "We could use any of the algorithms we have discussed till now. If we use trees, $\\gamma$ parameterizes the split variables and split points at the internal nodes, and the predictions at the terminal nodes. \n", @@ -2180,7 +2180,94 @@ "metadata": {}, "source": [ "$$\n", - "C(\\boldsymbol{y},\\boldsymbol{f}) = \\sum_{i=0}^{n-1}\\exp{-(y_i(f_{m-1(x_i)+\\beta G(x_i})}\n", + "C(\\boldsymbol{y},\\boldsymbol{f}) = \\sum_{i=0}^{n-1}\\exp{-(y_i(f_{m-1}(x_i)+\\beta G(x_i))}.\n", + "$$" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "We optimize $\\beta$ and $G$ for each value of $m=1:M$ as we did in the regression case.\n", + "This is normally done in two steps. Let us however first rewrite the cost function as" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "$$\n", + "C(\\boldsymbol{y},\\boldsymbol{f}) = \\sum_{i=0}^{n-1}w_i^{m}\\exp{-(y_i\\beta G(x_i))},\n", + "$$" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "where we have defined $w_i^m= \\exp{-(y_if_{m-1}(x_i))}$.\n", + "\n", + "## Building up AdaBoost\n", + "\n", + "First, for any $\\beta > 0$, we optimize $G$ by setting" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "$$\n", + "G_m(x) = \\mathrm{sign} \\sum_{i=0}^{n-1} w_i^m I(y_i \\ne G_(x_i)),\n", + "$$" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "which is the classifier that minimizes the weighted error rate in predicting $y$.\n", + "\n", + "We can do this by rewriting" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "$$\n", + "\\exp{-\\beta}\\sum_{y_i=G(x_i)}w_i^m+\\exp{\\beta}\\sum_{y_i\\ne G(x_i)}w_i^m,\n", + "$$" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "which can be rewritten as" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "$$\n", + "(\\exp{\\beta}-\\exp{-\\beta})\\sum_{i=0}^{n-1}w_i^mI(y_i\\ne G(x_i))+\\exp{-\\beta}\\sum_{i=0}^{n-1}w_i^m=0,\n", + "$$" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "which leads to" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "$$\n", + "\\beta_m = frac{1}{2}\\log{\\frac{1-\\mathrm{\\overline{err}}}{\\mathrm{\\overline{err}}}},\n", "$$" ] }, diff --git a/doc/pub/DecisionTrees/ipynb/ipynb-DecisionTrees-src.tar.gz b/doc/pub/DecisionTrees/ipynb/ipynb-DecisionTrees-src.tar.gz index b9e443560..b4cba0fa7 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 67c0dcc5d..2e4ad3013 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 4faf6a288..06b0ae844 100644 --- a/doc/src/DecisionTrees/DecisionTrees.do.txt +++ b/doc/src/DecisionTrees/DecisionTrees.do.txt @@ -1664,9 +1664,9 @@ The way we proceed is as follows (here we specialize to the squared-error cost f o Establish a cost function, here $C(\bm{y},\bm{f}) = \frac{1}{n} \sum_{i=0}^{n-1}(y_i-f_M(x_i))^2$ with $f_M(x) = \sum_{i=1}^M \beta_m b(x;\gamma_m)$. o Initialize with a guess $f_0(x)$. It could be one or even zero or some random numbers. o For $m=1:M$ - o minmize $\sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\beta b(x;\gamma))^2 wrt $\gamma$ and $\beta$$ + o minimize $\sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\beta b(x;\gamma))^2$ wrt $\gamma$ and $\beta$ o This gives the optimial values $\beta_m$ and $\gamma_m$ - o Determine then the new values $f_m(x)=f_{m-1}(x) +\beta_m b(x;\gamma_m) + o Determine then the new values $f_m(x)=f_{m-1}(x) +\beta_m b(x;\gamma_m)$ We could use any of the algorithms we have discussed till now. If we use trees, $\gamma$ parameterizes the split variables and split points at the internal nodes, and the predictions at the terminal nodes. @@ -1720,10 +1720,49 @@ The simplest possible cost function which leads (also simple from a computationa exponential cost/loss function defined as !bt \[ -C(\bm{y},\bm{f}) = \sum_{i=0}^{n-1}\exp{-(y_i(f_{m-1(x_i)+\beta G(x_i})} +C(\bm{y},\bm{f}) = \sum_{i=0}^{n-1}\exp{-(y_i(f_{m-1}(x_i)+\beta G(x_i))}. \] !et +We optimize $\beta$ and $G$ for each value of $m=1:M$ as we did in the regression case. +This is normally done in two steps. Let us however first rewrite the cost function as + +!bt +\[ +C(\bm{y},\bm{f}) = \sum_{i=0}^{n-1}w_i^{m}\exp{-(y_i\beta G(x_i))}, +\] +!et +where we have defined $w_i^m= \exp{-(y_if_{m-1}(x_i))}$. + +!split +===== Building up AdaBoost ===== + +First, for any $\beta > 0$, we optimize $G$ by setting +!bt +\[ +G_m(x) = \mathrm{sign} \sum_{i=0}^{n-1} w_i^m I(y_i \ne G_(x_i)), +\] +!et +which is the classifier that minimizes the weighted error rate in predicting $y$. + +We can do this by rewriting +!bt +\[ +\exp{-\beta}\sum_{y_i=G(x_i)}w_i^m+\exp{\beta}\sum_{y_i\ne G(x_i)}w_i^m, +\] +!et +which can be rewritten as +!bt +\[ +(\exp{\beta}-\exp{-\beta})\sum_{i=0}^{n-1}w_i^mI(y_i\ne G(x_i))+\exp{-\beta}\sum_{i=0}^{n-1}w_i^m=0, +\] +!et +which leads to +!bt +\[ +\beta_m = frac{1}{2}\log{\frac{1-\mathrm{\overline{err}}}{\mathrm{\overline{err}}}}, +\] +!et !split ===== Adaptive boosting: AdaBoost, Basic Algorithm =====