diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs000.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs000.html index 7b1ab4223..39a7c6c43 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs000.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs000.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -311,7 +309,7 @@ MathJax.Hub.Config({
  • 9
  • 10
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs001.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs001.html index eafffa067..020ba0890 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs001.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs001.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -316,7 +314,7 @@ given some assumptions, make predictions about the target feature value
  • 10
  • 11
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs002.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs002.html index 4ee550be1..f39b144d4 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs002.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs002.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -294,7 +292,7 @@ This tree was produced using the Wisconsin cancer data (discussed here as well,
  • 11
  • 12
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs003.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs003.html index 1ad13205c..615f518a3 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs003.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs003.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -302,7 +300,7 @@ node.
  • 12
  • 13
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs004.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs004.html index c1ac1b1e5..d10bc9026 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs004.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs004.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -303,7 +301,7 @@ Then we are essentially done!
  • 13
  • 14
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs005.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs005.html index e83300f6b..6110977b0 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs005.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs005.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -382,7 +380,7 @@ plt.show()
  • 14
  • 15
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs006.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs006.html index 516738052..08579e547 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs006.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs006.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -315,7 +313,7 @@ within box \( j \).
  • 15
  • 16
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs007.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs007.html index 38e49d9b5..973d9cfd9 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs007.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs007.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -307,7 +305,7 @@ better tree in some future step.
  • 16
  • 17
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs008.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs008.html index eb2b695f5..3f4594277 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs008.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs008.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -340,7 +338,7 @@ region contains more than five observations.
  • 17
  • 18
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs009.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs009.html index f36e75ae0..2704094d8 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs009.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs009.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -309,7 +307,7 @@ parameter \( \alpha \).
  • 18
  • 19
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs010.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs010.html index c739a708d..88f46e5ae 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs010.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs010.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -322,7 +320,7 @@ subtree corresponding to \( \alpha \).
  • 19
  • 20
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs011.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs011.html index 304e80744..c70fa55d6 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs011.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs011.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -318,7 +316,7 @@ MathJax.Hub.Config({
  • 20
  • 21
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs012.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs012.html index 9797836d6..21388431c 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs012.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs012.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -310,7 +308,7 @@ fall into that region.
  • 21
  • 22
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs013.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs013.html index a5c538e37..af177e3f3 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs013.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs013.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -315,7 +313,7 @@ than is the classification error rate.
  • 22
  • 23
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs014.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs014.html index 89b8e2882..3559b2d81 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs014.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs014.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -341,7 +339,7 @@ $$
  • 23
  • 24
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs015.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs015.html index 0e396da70..85fa0c3e7 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs015.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs015.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -332,7 +330,7 @@ os.system(cmd)
  • 24
  • 25
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs016.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs016.html index 9b7bfa0bd..4bb186d4f 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs016.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs016.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -323,7 +321,7 @@ os.system(cmd)
  • 25
  • 26
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs017.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs017.html index c036e8e25..bd7b75001 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs017.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs017.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -306,7 +304,7 @@ We discuss both algorithms with applications here. The popular library Scikit
  • 26
  • 27
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs018.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs018.html index 3ed123bea..5c166ac71 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs018.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs018.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -296,7 +294,7 @@ MathJax.Hub.Config({
  • 27
  • 28
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs019.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs019.html index d5b6d555b..a96f1adc7 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs019.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs019.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -296,7 +294,7 @@ MathJax.Hub.Config({
  • 28
  • 29
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs020.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs020.html index 28a4ca907..0e40e84e6 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs020.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs020.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -336,7 +334,7 @@ The table here summarizes the various attributes and
  • 29
  • 30
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs021.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs021.html index a28360fbc..f41b68e3f 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs021.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs021.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -367,7 +365,7 @@ os.system(cmd)
  • 30
  • 31
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs022.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs022.html index 379cb05a9..0ef377ff9 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs022.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs022.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -369,7 +367,7 @@ split = get_split(dataset)
  • 31
  • 32
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs023.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs023.html index 4bfee693c..9c22332ff 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs023.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs023.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -327,7 +325,7 @@ attributes at each step while growing the tree.
  • 32
  • 33
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs024.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs024.html index aac18ce99..66e3f6c03 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs024.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs024.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -487,7 +485,7 @@ MathJax.Hub.Config({
  • 33
  • 34
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs025.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs025.html index f908376e9..7d8cd178a 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs025.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs025.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -340,7 +338,7 @@ deep_tree_clf.fit(X_train_scaled, y_train)
  • 34
  • 35
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs026.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs026.html index 4329762e6..33eb58512 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs026.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs026.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -363,7 +361,7 @@ plt.show()
  • 35
  • 36
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs027.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs027.html index cfbb5765b..24477fabf 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs027.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs027.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -319,7 +317,7 @@ plt.show()
  • 36
  • 37
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs028.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs028.html index 35edf1d2d..db67c522c 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs028.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs028.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -313,7 +311,7 @@ tree_reg.fit(X, y)
  • 37
  • 38
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs029.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs029.html index 13bc32c58..8b4f0cb2d 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs029.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs029.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -369,7 +367,7 @@ plt.show()
  • 38
  • 39
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs030.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs030.html index dc6422ca8..7cdf1a908 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs030.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs030.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -305,7 +303,7 @@ MathJax.Hub.Config({
  • 39
  • 40
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs031.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs031.html index 8d2c52dbb..743fe7e25 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs031.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs031.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -310,7 +308,7 @@ trees can be substantially improved.
  • 40
  • 41
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs032.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs032.html index eccae9298..42a5b09a5 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs032.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs032.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -318,7 +316,7 @@ We discuss these methods here.
  • 41
  • 42
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs033.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs033.html index 9d85bacaa..38eb671aa 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs033.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs033.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -299,7 +297,7 @@ MathJax.Hub.Config({
  • 42
  • 43
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs034.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs034.html index 7ac72b06b..223ffdebf 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs034.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs034.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -310,7 +308,7 @@ learning method.
  • 43
  • 44
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs035.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs035.html index eb7537487..0faebab83 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs035.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs035.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -320,7 +318,7 @@ predictor, averaged over all \( B \) trees.
  • 44
  • 45
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs036.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs036.html index 67e4be8eb..c63bad3ce 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs036.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs036.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -312,7 +310,7 @@ plt.show()
  • 45
  • 46
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs037.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs037.html index 7414b5019..dadb9d6b0 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs037.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs037.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -342,7 +340,7 @@ voting_clf.fit(X_train, y_train)
  • 46
  • 47
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs038.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs038.html index d07b2de26..2fbf3909c 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs038.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs038.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -350,7 +348,7 @@ voting_clf.fit(X_train, y_train)
  • 47
  • 48
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs039.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs039.html index 4a72f3034..43b55b06b 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs039.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs039.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -353,7 +351,7 @@ plt.show()
  • 48
  • 49
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs040.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs040.html index 515190eb1..4cb7a033c 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs040.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs040.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -354,7 +352,7 @@ plt.show()
  • 49
  • 50
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs041.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs041.html index e5f1f6fb0..403714f96 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs041.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs041.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -335,7 +333,7 @@ this setting.
  • 50
  • 51
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs042.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs042.html index 73442fc1b..134430144 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs042.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs042.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -317,7 +315,7 @@ We will grow of forest of say \( M \) trees.
  • 51
  • 52
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs043.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs043.html index 453b9a6c4..52938a941 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs043.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs043.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -364,7 +362,7 @@ plt.show()
  • 52
  • 53
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs044.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs044.html index e1c3aaa31..0a0c842a0 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs044.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs044.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -313,7 +311,7 @@ np.sum(y_pred =
  • 53
  • 54
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs045.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs045.html index 0205b16f6..cf134e215 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs045.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs045.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -308,7 +306,7 @@ them with a factor.
  • 54
  • 55
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs046.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs046.html index d4943b91a..ac4baa3f5 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs046.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs046.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -343,7 +341,7 @@ In iterative fitting or additive modeling, we minimize the cost function with re
  • 55
  • 56
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs047.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs047.html index ebea16cc7..c0336091e 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs047.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs047.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -316,7 +314,7 @@ at the internal nodes, and the predictions at the terminal nodes.
  • 56
  • 57
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs048.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs048.html index 3f4459f88..2f0910c8f 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs048.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs048.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -274,33 +272,45 @@ MathJax.Hub.Config({ To better understand what happens, let us develop the steps for the iterative fitting using the above squared error function.

    -For simplicity we assume also that our functions \( b(x;\gamma)=\gamma_0+\gamma_1 x \), with \( \gamma_0 \) and \( \gamma_1 \) as the parameters to be determined. +For simplicity we assume also that our functions \( b(x;\gamma)=1+\gamma x \).

    This means that for every iteration, we need to optmize $$ -(\beta_m,\gamma_m) \mathrm{argmin}_{\beta,\gambda}\hspace{0.2cm} \sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\beta b(x;\gamma))^2\sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\beta(\gamma_0+\gamma_1 x_i))^2. -\[ +(\beta_m,\gamma_m) \mathrm{argmin}_{\beta,\lambda}\hspace{0.1cm} \sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\beta b(x;\gamma))^2=\sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\beta(1+\gamma x_i))^2. $$

    -We start our iteration by simply setting \( \f_0(x)=0 \). +We start our iteration by simply setting \( f_0(x)=0 \). Taking the derivatives with respect to \( \beta \) and \( \gamma \) we obtain $$ -\frac{\partial {\cal C}}{\partial \beta} = -2\sum_{i}(\gamma_0+\gamma_1 x_i)(y_i-\beta(\gamma_0+\gamma_1 x_i))=0, +\frac{\partial {\cal C}}{\partial \beta} = -2\sum_{i}(1+\gamma x_i)(y_i-\beta(1+\gamma x_i))=0, $$ and $$ -\frac{\partial {\cal C}}{\partial \gamma_0} =-2\sum_{i}\beta(y_i-\beta(\gamma_0+\gamma_1 x_i))=0, +\frac{\partial {\cal C}}{\partial \gamma} =-2\sum_{i}\beta x_i(y_i-\beta(1+\gamma x_i))=0. $$ -and +We can then rewrite these equations as (defining \( w_i=1+\gamma x_i) \) $$ -\frac{\partial {\cal C}}{\partial \gamma_1} = =-2\sum_{i}\beta x_i(y_i-\beta(\gamma_0+\gamma_1 x_i))=0. +\gamma \boldsymbol{w}^T(\boldsymbol{y}-\beta\gamma \boldsymbol{w})=0, $$ +which gives us \( \beta = \boldsymbol{w}^T\boldsymbol{y}/(\boldsymbol{w}^T\boldsymbol{w}) \). Similarly we have +$$ +\beta\gamma \boldsymbol{x}^T(\boldsymbol{y}-\beta(1+\gamma \boldsymbol{x}))=0, +$$ + +

    +which leads \( \gamma =(\boldsymbol{x}^T\boldsymbol{y}-\beta\boldsymbol{x}^T\em{e})/(\beta\boldsymbol{x}^T\boldsymbol{x}) \). Inserting +for \( \beta \) gives us an equation for \( \gamma \). + +

    +The solution to these two equations gives us in turn \( \beta_1 \) and \( \gamma_1 \) leading to the new expression for \( f_1(x) \) as +\( f_1(x) = \beta_1(1+\gamma_1x) \). Doing this \( M \) times results in our final estimate for the function \( f \). +

    @@ -327,7 +337,7 @@ $$

  • 57
  • 58
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs049.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs049.html index 3094ac20d..3c9f43bb2 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs049.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs049.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -268,10 +266,37 @@ MathJax.Hub.Config({ -

    Finding the Optimal Parameters

    +

    Iterative Fitting, Classification, AdaBoost

    -With these equations we can then in turn find the parameters \( \beta_1 \) and \( \gamma_0^{1} \) and \( \gamma_1^1 \) as +Let us consider a binary classification problem with two outcomes \( y_i \in \{-1,1\} \) and \( i=0,1,2,\dots,n-1 \) as our set of +observations. We define a classification function \( G(x) \) which produces a prediction taking any of the two values +\( \{-1,1\} \). + +

    +The error rate of the training sample is then + +$$ +\mathrm{\overline{err}}=\frac{1}{n} \sum_{i=0}^{n-1} I(y_i\ne G(x_i)). +$$ + +

    +The iterative procedure starts with defining a weak classifier whose +error rate is barely better than random guessing. The iterative +procedure in boosting is to sequentially apply a the weak +classification algorithm to repeatedly modified versions of the data +producing a sequence of weak classifiers \( G_m(x) \). + +

    +Here we will express our function \( f(x) \) in terms of \( G(x) \). That is +$$ +f_M(x) = \sum_{i=1}^M \beta_m b(x;\gamma_m), +$$ + +will be a function of +$$ +G_M(x) = \mathrm{sign} \sum_{i=1}^M \alpha_m G_m(x). +$$

    @@ -299,7 +324,7 @@ With these equations we can then in turn find the parameters \( \beta_1 \) and \

  • 58
  • 59
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs050.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs050.html index bdcc83fe6..c1ce98823 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs050.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs050.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -268,37 +266,30 @@ MathJax.Hub.Config({ -

    Iterative Fitting, Classification, AdaBoost

    +

    Adaptive Boosting, AdaBoost

    -Let us consider a binary classification problem with two outcomes \( y_i \in \{-1,1\} \) and \( i=0,1,2,\dots,n-1 \) as our set of -observations. We define a classification function \( G(x) \) which produces a prediction taking any of the two values -\( \{-1,1\} \). - -

    -The error rate of the training sample is then - +In our iterative procedure we define thus $$ -\mathrm{\overline{err}}=\frac{1}{n} \sum_{i=0}^{n-1} I(y_i\ne G(x_i)). +f_m(x) = f_{m-1}(x)+\beta_mG_m(x). $$

    -The iterative procedure starts with defining a weak classifier whose -error rate is barely better than random guessing. The iterative -procedure in boosting is to sequentially apply a the weak -classification algorithm to repeatedly modified versions of the data -producing a sequence of weak classifiers \( G_m(x) \). +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))}. +$$

    -Here we will express our function \( f(x) \) in terms of \( G(x) \). That is +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 + $$ -f_M(x) = \sum_{i=1}^M \beta_m b(x;\gamma_m), +C(\boldsymbol{y},\boldsymbol{f}) = \sum_{i=0}^{n-1}w_i^{m}\exp{(-y_i\beta G(x_i))}, $$ -will be a function of -$$ -G_M(x) = \mathrm{sign} \sum_{i=1}^M \alpha_m G_m(x). -$$ +where we have defined \( w_i^m= \exp{(-y_if_{m-1}(x_i))} \).

    @@ -326,7 +317,7 @@ $$

  • 59
  • 60
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs051.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs051.html index 447919a1e..368345bff 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs051.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs051.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -268,32 +266,47 @@ MathJax.Hub.Config({ -

    Adaptive Boosting, AdaBoost

    +

    Building up AdaBoost

    -In our iterative procedure we define thus +First, for any \( \beta > 0 \), we optimize \( G \) by setting $$ -f_m(x) = f_{m-1}(x)+\beta_mG_m(x). +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 \). +

    -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 +We can do this by rewriting $$ -C(\boldsymbol{y},\boldsymbol{f}) = \sum_{i=0}^{n-1}\exp{(-y_i(f_{m-1}(x_i)+\beta G(x_i))}. +\exp{-(\beta)}\sum_{y_i=G(x_i)}w_i^m+\exp{(\beta)}\sum_{y_i\ne G(x_i)}w_i^m, $$ -

    -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 - +which can be rewritten as $$ -C(\boldsymbol{y},\boldsymbol{f}) = \sum_{i=0}^{n-1}w_i^{m}\exp{(-y_i\beta G(x_i))}, +(\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, $$ -where we have defined \( w_i^m= \exp{(-y_if_{m-1}(x_i))} \). +which leads to +$$ +\beta_m = \frac{1}{2}\log{\frac{1-\mathrm{\overline{err}}}{\mathrm{\overline{err}}}}, +$$ + +where we have redefined the error as +$$ +\mathrm{\overline{err}}_m=\frac{1}{n}\frac{\sum_{i=0}^{n-1}w_i^mI(y_i\ne G(x_i)}{\sum_{i=0}^{n-1}w_i^m}, +$$ + +which leads to an update of +$$ +f_m(x) = f_{m-1}(x) +\beta_m G_m(x). +$$ + +This leads to the new weights +$$ +w_i^{m+1} = w_i^m \exp{(-y_i\beta_m G_m(x_i))} +$$ -

    diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs052.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs052.html index 9cfb5899f..2e71bf81d 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs052.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs052.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -268,47 +266,26 @@ MathJax.Hub.Config({ -

    Building up AdaBoost

    +

    Adaptive boosting: AdaBoost, Basic Algorithm

    -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 \). +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(x) \). This function tells us how well we are able to classify our outputs/targets \( \boldsymbol{y} \).

    -We can do this by rewriting +We have already defined the misclassification error \( \mathrm{err} \) as $$ -\exp{-(\beta)}\sum_{y_i=G(x_i)}w_i^m+\exp{(\beta)}\sum_{y_i\ne G(x_i)}w_i^m, +\mathrm{err}=\frac{1}{n}\sum_{i=0}^{n-1}I(y_i\ne G(x_i)), $$ -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}}}}, -$$ - -where we have redefined the error as -$$ -\mathrm{\overline{err}}_m=\frac{1}{n}\frac{\sum_{i=0}^{n-1}w_i^mI(y_i\ne G(x_i)}{\sum_{i=0}^{n-1}w_i^m}, -$$ - -which leads to an update of -$$ -f_m(x) = f_{m-1}(x) +\beta_m G_m(x). -$$ - -This leads to the new weights -$$ -w_i^{m+1} = w_i^m \exp{(-y_i\beta_m G_m(x_i))} -$$ +where the function \( I() \) is one if we misclassify and zero if we classify correctly. +

    diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs053.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs053.html index 040d28dd3..bd612b14e 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs053.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs053.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -268,24 +266,42 @@ MathJax.Hub.Config({ -

    Adaptive boosting: AdaBoost, Basic Algorithm

    +

    Basic Steps of 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(x) \). This function tells us how well we are able to classify our outputs/targets \( \boldsymbol{y} \). +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. +
    -

    -We have already defined the misclassification error \( \mathrm{err} \) as $$ -\mathrm{err}=\frac{1}{n}\sum_{i=0}^{n-1}I(y_i\ne G(x_i)), +\mathrm{\overline{err}}_m=\frac{\sum_{i=0}^{n-1}w_i^m I(y_i\ne G(x_i))}{\sum_{i=0}^{n-1}w_i}, $$ -where the function \( I() \) is one if we misclassify and zero if we classify correctly. + +

      +
    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{\overline{err}}_m)/\mathrm{\overline{err}}_m} \)
      6. +
      7. Set the new weights to \( w_i = w_i\times \exp{(\alpha_m I(y_i\ne G(x_i)} \).
      8. +
      + +
    2. Compute the new classifier \( G(x)= \sum_{i=0}^{n-1}\alpha_m I(y_i\ne G(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.

    @@ -311,7 +327,6 @@ where the function \( I() \) is one if we misclassify and zero if we classify co

  • 60
  • 61
  • 62
  • -
  • 63
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs054.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs054.html index 11e78a670..45e976c1e 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs054.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs054.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -268,43 +266,36 @@ MathJax.Hub.Config({ -

    Basic Steps of AdaBoost

    +

    AdaBoost Examples

    -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. +Using Scikit-Learn it is easy to appply the adaptive boosting algorithm, as done here. -

      -
    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. -
    +

    -$$ -\mathrm{\overline{err}}_m=\frac{\sum_{i=0}^{n-1}w_i^m I(y_i\ne G(x_i))}{\sum_{i=0}^{n-1}w_i}, -$$ + +

    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)
     
    -
      -
    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{\overline{err}}_m)/\mathrm{\overline{err}}_m} \)
      6. -
      7. Set the new weights to \( w_i = w_i\times \exp{(\alpha_m I(y_i\ne G(x_i)} \).
      8. -
      - -
    2. Compute the new classifier \( G(x)= \sum_{i=0}^{n-1}\alpha_m I(y_i\ne G(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. +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() +

    @@ -328,7 +319,6 @@ observations that are missed in the previous iterations.

  • 60
  • 61
  • 62
  • -
  • 63
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs055.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs055.html index 93e36c0a6..835ee26e1 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs055.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs055.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -268,36 +266,21 @@ MathJax.Hub.Config({ -

    AdaBoost Examples

    +

    Gradient boosting: Basics

    -Using Scikit-Learn it is easy to appply the adaptive boosting algorithm, as done here. +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.

    +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
    +

    +See discussion during lecture November 8. -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() -

    @@ -320,7 +303,6 @@ plt.show()

  • 60
  • 61
  • 62
  • -
  • 63
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs056.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs056.html index eb94bb397..14623a2c8 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs056.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs056.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -268,22 +266,30 @@ MathJax.Hub.Config({ -

    Gradient boosting: Basics

    +

    Gradient Boosting, algorithm

    -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. +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 square-error function +$$ +C(\boldsymbol{y},\boldsymbol{f})=\sum_{i=0}^{n-1}(y_i-f(x_i))^2. +$$

    -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. +The way we proceed in an iterative fashion is to -

    -See discussion during lecture November 8. +

      +
    1. Initialize our estimate \( f_0(x) \).
    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-bs057.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs057.html index 8975c7810..e35744ad7 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs057.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs057.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -268,30 +266,58 @@ MathJax.Hub.Config({ -

    Gradient Boosting, algorithm

    - +

    Gradient Boosting, Examples of Regression

    -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 square-error function -$$ -C(\boldsymbol{y},\boldsymbol{f})=\sum_{i=0}^{n-1}(y_i-f(x_i))^2. -$$ + +

    import matplotlib.pyplot as plt
    +import numpy as np
    +from sklearn.model_selection import train_test_split
    +from sklearn.ensemble import GradientBoostingRegressor
    +from sklearn.preprocessing import StandardScaler
    +import scikitplot as skplt
    +from sklearn.metrics import mean_squared_error
    +
    +n = 100
    +maxdegree = 6
    +
    +# Make data set.
    +x = np.linspace(-3, 3, n).reshape(-1, 1)
    +y = np.exp(-x**2) + 1.5 * np.exp(-(x-2)**2)+ np.random.normal(0, 0.1, x.shape)
    +
    +error = np.zeros(maxdegree)
    +bias = np.zeros(maxdegree)
    +variance = np.zeros(maxdegree)
    +polydegree = np.zeros(maxdegree)
    +X_train, X_test, y_train, y_test = train_test_split(x, y, test_size=0.2)
    +scaler = StandardScaler()
    +scaler.fit(X_train)
    +X_train_scaled = scaler.transform(X_train)
    +X_test_scaled = scaler.transform(X_test)
    +
    +for degree in range(1,maxdegree):
    +    model = GradientBoostingRegressor(max_depth=degree, n_estimators=100, learning_rate=1.0)  
    +    model.fit(X_train_scaled,y_train)
    +    y_pred = model.predict(X_test_scaled)
    +    polydegree[degree] = degree
    +    error[degree] = np.mean( np.mean((y_test - y_pred)**2) )
    +    bias[degree] = np.mean( (y_test - np.mean(y_pred))**2 )
    +    variance[degree] = np.mean( np.var(y_pred) )
    +    print('Max depth:', degree)
    +    print('Error:', error[degree])
    +    print('Bias^2:', bias[degree])
    +    print('Var:', variance[degree])
    +    print('{} >= {} + {} = {}'.format(error[degree], bias[degree], variance[degree], bias[degree]+variance[degree]))
    +
    +plt.xlim(1,maxdegree-1)
    +plt.plot(polydegree, error, label='Error')
    +plt.plot(polydegree, bias, label='bias')
    +plt.plot(polydegree, variance, label='Variance')
    +plt.legend()
    +save_fig("gdregression")
    +plt.show()
    +

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

      -
    1. Initialize our estimate \( f_0(x) \).
    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-bs058.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs058.html index ddda5b9cf..2cda0d1a6 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs058.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs058.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -268,55 +266,49 @@ MathJax.Hub.Config({ -

    Gradient Boosting, Examples of Regression

    +

    Gradient Boosting, Classification Example

    import matplotlib.pyplot as plt
     import numpy as np
    -from sklearn.model_selection import train_test_split
    -from sklearn.ensemble import GradientBoostingRegressor
    -from sklearn.preprocessing import StandardScaler
    +from sklearn.model_selection import  train_test_split 
    +from sklearn.datasets import load_breast_cancer
     import scikitplot as skplt
    -from sklearn.metrics import mean_squared_error
    +from sklearn.ensemble import GradientBoostingClassifier
    +from sklearn.model_selection import cross_validate
     
    -n = 100
    -maxdegree = 6
    +# Load the data
    +cancer = load_breast_cancer()
     
    -# Make data set.
    -x = np.linspace(-3, 3, n).reshape(-1, 1)
    -y = np.exp(-x**2) + 1.5 * np.exp(-(x-2)**2)+ np.random.normal(0, 0.1, x.shape)
    -
    -error = np.zeros(maxdegree)
    -bias = np.zeros(maxdegree)
    -variance = np.zeros(maxdegree)
    -polydegree = np.zeros(maxdegree)
    -X_train, X_test, y_train, y_test = train_test_split(x, y, test_size=0.2)
    +X_train, X_test, y_train, y_test = train_test_split(cancer.data,cancer.target,random_state=0)
    +print(X_train.shape)
    +print(X_test.shape)
    +#now scale the data
    +from sklearn.preprocessing import StandardScaler
     scaler = StandardScaler()
     scaler.fit(X_train)
     X_train_scaled = scaler.transform(X_train)
     X_test_scaled = scaler.transform(X_test)
     
    -for degree in range(1,maxdegree):
    -    model = GradientBoostingRegressor(max_depth=degree, n_estimators=100, learning_rate=1.0)  
    -    model.fit(X_train_scaled,y_train)
    -    y_pred = model.predict(X_test_scaled)
    -    polydegree[degree] = degree
    -    error[degree] = np.mean( np.mean((y_test - y_pred)**2) )
    -    bias[degree] = np.mean( (y_test - np.mean(y_pred))**2 )
    -    variance[degree] = np.mean( np.var(y_pred) )
    -    print('Max depth:', degree)
    -    print('Error:', error[degree])
    -    print('Bias^2:', bias[degree])
    -    print('Var:', variance[degree])
    -    print('{} >= {} + {} = {}'.format(error[degree], bias[degree], variance[degree], bias[degree]+variance[degree]))
    +gd_clf = GradientBoostingClassifier(max_depth=3, n_estimators=100, learning_rate=1.0)  
    +gd_clf.fit(X_train_scaled, y_train)
    +#Cross validation
    +accuracy = cross_validate(gd_clf,X_test_scaled,y_test,cv=10)['test_score']
    +print(accuracy)
    +print("Test set accuracy with Random Forests and scaled data: {:.2f}".format(gd_clf.score(X_test_scaled,y_test)))
     
    -plt.xlim(1,maxdegree-1)
    -plt.plot(polydegree, error, label='Error')
    -plt.plot(polydegree, bias, label='bias')
    -plt.plot(polydegree, variance, label='Variance')
    -plt.legend()
    -save_fig("gdregression")
    +import scikitplot as skplt
    +y_pred = gd_clf.predict(X_test_scaled)
    +skplt.metrics.plot_confusion_matrix(y_test, y_pred, normalize=True)
    +save_fig("gdclassiffierconfusion")
    +plt.show()
    +y_probas = gd_clf.predict_proba(X_test_scaled)
    +skplt.metrics.plot_roc(y_test, y_probas)
    +save_fig("gdclassiffierroc")
    +plt.show()
    +skplt.metrics.plot_cumulative_gain(y_test, y_probas)
    +save_fig("gdclassiffiercgain")
     plt.show()
     

    @@ -338,7 +330,6 @@ plt.show()

  • 60
  • 61
  • 62
  • -
  • 63
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs059.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs059.html index f99146173..02d92efc6 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs059.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs059.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -268,51 +266,24 @@ MathJax.Hub.Config({ -

    Gradient Boosting, Classification Example

    +

    XGBoost: Extreme Gradient Boosting

    +

    +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. - -

    import matplotlib.pyplot as plt
    -import numpy as np
    -from sklearn.model_selection import  train_test_split 
    -from sklearn.datasets import load_breast_cancer
    -import scikitplot as skplt
    -from sklearn.ensemble import GradientBoostingClassifier
    -from sklearn.model_selection import cross_validate
    +

    +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. -# Load the data -cancer = load_breast_cancer() +

    +It is now the algorithm which wins essentially all ML competitions!!! -X_train, X_test, y_train, y_test = train_test_split(cancer.data,cancer.target,random_state=0) -print(X_train.shape) -print(X_test.shape) -#now scale the data -from sklearn.preprocessing import StandardScaler -scaler = StandardScaler() -scaler.fit(X_train) -X_train_scaled = scaler.transform(X_train) -X_test_scaled = scaler.transform(X_test) - -gd_clf = GradientBoostingClassifier(max_depth=3, n_estimators=100, learning_rate=1.0) -gd_clf.fit(X_train_scaled, y_train) -#Cross validation -accuracy = cross_validate(gd_clf,X_test_scaled,y_test,cv=10)['test_score'] -print(accuracy) -print("Test set accuracy with Random Forests and scaled data: {:.2f}".format(gd_clf.score(X_test_scaled,y_test))) - -import scikitplot as skplt -y_pred = gd_clf.predict(X_test_scaled) -skplt.metrics.plot_confusion_matrix(y_test, y_pred, normalize=True) -save_fig("gdclassiffierconfusion") -plt.show() -y_probas = gd_clf.predict_proba(X_test_scaled) -skplt.metrics.plot_roc(y_test, y_probas) -save_fig("gdclassiffierroc") -plt.show() -skplt.metrics.plot_cumulative_gain(y_test, y_probas) -save_fig("gdclassiffiercgain") -plt.show() -

    @@ -331,7 +302,6 @@ plt.show()

  • 60
  • 61
  • 62
  • -
  • 63
  • »
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs060.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs060.html index 864e4c3c6..5af631131 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs060.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs060.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -268,24 +266,58 @@ MathJax.Hub.Config({ -

    XGBoost: Extreme Gradient Boosting

    +

    Regression Case

    -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. + +

    import matplotlib.pyplot as plt
    +import numpy as np
    +from sklearn.model_selection import train_test_split
    +import xgboost as xgb
    +from sklearn.preprocessing import StandardScaler
    +import scikitplot as skplt
    +from sklearn.metrics import mean_squared_error
     
    -

    -It is now the algorithm which wins essentially all ML competitions!!! +n = 100 +maxdegree = 6 +# Make data set. +x = np.linspace(-3, 3, n).reshape(-1, 1) +y = np.exp(-x**2) + 1.5 * np.exp(-(x-2)**2)+ np.random.normal(0, 0.1, x.shape) + +error = np.zeros(maxdegree) +bias = np.zeros(maxdegree) +variance = np.zeros(maxdegree) +polydegree = np.zeros(maxdegree) +X_train, X_test, y_train, y_test = train_test_split(x, y, test_size=0.2) +scaler = StandardScaler() +scaler.fit(X_train) +X_train_scaled = scaler.transform(X_train) +X_test_scaled = scaler.transform(X_test) + +for degree in range(maxdegree): + model = xgb.XGBRegressor(objective ='reg:squarederror', colsaobjective ='reg:squarederror', colsample_bytree = 0.3, learning_rate = 0.1,max_depth = degree, alpha = 10, n_estimators = 200) + + model.fit(X_train_scaled,y_train) + y_pred = model.predict(X_test_scaled) + polydegree[degree] = degree + error[degree] = np.mean( np.mean((y_test - y_pred)**2) ) + bias[degree] = np.mean( (y_test - np.mean(y_pred))**2 ) + variance[degree] = np.mean( np.var(y_pred) ) + print('Max depth:', degree) + print('Error:', error[degree]) + print('Bias^2:', bias[degree]) + print('Var:', variance[degree]) + print('{} >= {} + {} = {}'.format(error[degree], bias[degree], variance[degree], bias[degree]+variance[degree])) + +plt.xlim(1,maxdegree-1) +plt.plot(polydegree, error, label='Error') +plt.plot(polydegree, bias, label='bias') +plt.plot(polydegree, variance, label='Variance') +plt.legend() +plt.show() +

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

  • 60
  • 61
  • 62
  • -
  • 63
  • »
  • diff --git a/doc/pub/DecisionTrees/html/DecisionTrees-bs.html b/doc/pub/DecisionTrees/html/DecisionTrees-bs.html index 7b1ab4223..39a7c6c43 100644 --- a/doc/pub/DecisionTrees/html/DecisionTrees-bs.html +++ b/doc/pub/DecisionTrees/html/DecisionTrees-bs.html @@ -128,32 +128,31 @@ Automatically generated HTML file from DocOnce source 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -239,20 +238,19 @@ MathJax.Hub.Config({
  • What is boosting? Additive Modelling/Iterative Fitting
  • Iterative Fitting, Regression and Squared-error Cost Function
  • Squared Error Exampe and Iterative Fitting
  • -
  • Finding the Optimal Parameters
  • -
  • Iterative Fitting, Classification, AdaBoost
  • -
  • Adaptive Boosting, AdaBoost
  • -
  • Building up AdaBoost
  • -
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • -
  • Basic Steps of AdaBoost
  • -
  • AdaBoost Examples
  • -
  • Gradient boosting: Basics
  • -
  • Gradient Boosting, algorithm
  • -
  • Gradient Boosting, Examples of Regression
  • -
  • Gradient Boosting, Classification Example
  • -
  • XGBoost: Extreme Gradient Boosting
  • -
  • Regression Case
  • -
  • Xgboost on the Cancer Data
  • +
  • Iterative Fitting, Classification, AdaBoost
  • +
  • Adaptive Boosting, AdaBoost
  • +
  • Building up AdaBoost
  • +
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • +
  • Basic Steps of AdaBoost
  • +
  • AdaBoost Examples
  • +
  • Gradient boosting: Basics
  • +
  • Gradient Boosting, algorithm
  • +
  • Gradient Boosting, Examples of Regression
  • +
  • Gradient Boosting, Classification Example
  • +
  • XGBoost: Extreme Gradient Boosting
  • +
  • Regression Case
  • +
  • Xgboost on the Cancer Data
  • @@ -311,7 +309,7 @@ MathJax.Hub.Config({
  • 9
  • 10
  • ...
  • -
  • 63
  • +
  • 62
  • »
  • diff --git a/doc/pub/DecisionTrees/html/DecisionTrees-reveal.html b/doc/pub/DecisionTrees/html/DecisionTrees-reveal.html index 31cd8c807..5c102282c 100644 --- a/doc/pub/DecisionTrees/html/DecisionTrees-reveal.html +++ b/doc/pub/DecisionTrees/html/DecisionTrees-reveal.html @@ -2071,53 +2071,59 @@ at the internal nodes, and the predictions at the terminal nodes. To better understand what happens, let us develop the steps for the iterative fitting using the above squared error function.

    -For simplicity we assume also that our functions \( b(x;\gamma)=\gamma_0+\gamma_1 x \), with \( \gamma_0 \) and \( \gamma_1 \) as the parameters to be determined. +For simplicity we assume also that our functions \( b(x;\gamma)=1+\gamma x \).

    This means that for every iteration, we need to optmize

     
    $$ -(\beta_m,\gamma_m) \mathrm{argmin}_{\beta,\gambda}\hspace{0.2cm} \sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\beta b(x;\gamma))^2\sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\beta(\gamma_0+\gamma_1 x_i))^2. -\[ +(\beta_m,\gamma_m) \mathrm{argmin}_{\beta,\lambda}\hspace{0.1cm} \sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\beta b(x;\gamma))^2=\sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\beta(1+\gamma x_i))^2. $$

     

    -We start our iteration by simply setting \( \f_0(x)=0 \). +We start our iteration by simply setting \( f_0(x)=0 \). Taking the derivatives with respect to \( \beta \) and \( \gamma \) we obtain

     
    $$ -\frac{\partial {\cal C}}{\partial \beta} = -2\sum_{i}(\gamma_0+\gamma_1 x_i)(y_i-\beta(\gamma_0+\gamma_1 x_i))=0, +\frac{\partial {\cal C}}{\partial \beta} = -2\sum_{i}(1+\gamma x_i)(y_i-\beta(1+\gamma x_i))=0, $$

     
    and

     
    $$ -\frac{\partial {\cal C}}{\partial \gamma_0} =-2\sum_{i}\beta(y_i-\beta(\gamma_0+\gamma_1 x_i))=0, +\frac{\partial {\cal C}}{\partial \gamma} =-2\sum_{i}\beta x_i(y_i-\beta(1+\gamma x_i))=0. $$

     
    -and +We can then rewrite these equations as (defining \( w_i=1+\gamma x_i) \)

     
    $$ -\frac{\partial {\cal C}}{\partial \gamma_1} = =-2\sum_{i}\beta x_i(y_i-\beta(\gamma_0+\gamma_1 x_i))=0. +\gamma \boldsymbol{w}^T(\boldsymbol{y}-\beta\gamma \boldsymbol{w})=0, $$

     
    - - -

    -

    Finding the Optimal Parameters

    +which gives us \( \beta = \boldsymbol{w}^T\boldsymbol{y}/(\boldsymbol{w}^T\boldsymbol{w}) \). Similarly we have +

     
    +$$ +\beta\gamma \boldsymbol{x}^T(\boldsymbol{y}-\beta(1+\gamma \boldsymbol{x}))=0, +$$ +

     

    -With these equations we can then in turn find the parameters \( \beta_1 \) and \( \gamma_0^{1} \) and \( \gamma_1^1 \) as +which leads \( \gamma =(\boldsymbol{x}^T\boldsymbol{y}-\beta\boldsymbol{x}^T\em{e})/(\beta\boldsymbol{x}^T\boldsymbol{x}) \). Inserting +for \( \beta \) gives us an equation for \( \gamma \). + +

    +The solution to these two equations gives us in turn \( \beta_1 \) and \( \gamma_1 \) leading to the new expression for \( f_1(x) \) as +\( f_1(x) = \beta_1(1+\gamma_1x) \). Doing this \( M \) times results in our final estimate for the function \( f \).

    -

    Iterative Fitting, Classification, AdaBoost

    +

    Iterative Fitting, Classification, AdaBoost

    Let us consider a binary classification problem with two outcomes \( y_i \in \{-1,1\} \) and \( i=0,1,2,\dots,n-1 \) as our set of @@ -2158,7 +2164,7 @@ $$

    -

    Adaptive Boosting, AdaBoost

    +

    Adaptive Boosting, AdaBoost

    In our iterative procedure we define thus @@ -2192,7 +2198,7 @@ where we have defined \( w_i^m= \exp{(-y_if_{m-1}(x_i))} \).

    -

    Building up AdaBoost

    +

    Building up AdaBoost

    First, for any \( \beta > 0 \), we optimize \( G \) by setting @@ -2250,7 +2256,7 @@ $$

    -

    Adaptive boosting: AdaBoost, Basic Algorithm

    +

    Adaptive boosting: AdaBoost, Basic Algorithm

    The algorithm here is rather straightforward. Assume that our weak @@ -2274,7 +2280,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. @@ -2315,7 +2321,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. @@ -2349,7 +2355,7 @@ plt.show()

    -

    Gradient boosting: Basics

    +

    Gradient boosting: Basics

    Gradient boosting is again a similar technique to Adapative boosting, @@ -2367,7 +2373,7 @@ See discussion during lecture November 8.

    -

    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 square-error function @@ -2395,7 +2401,7 @@ The way we proceed in an iterative fashion is to

    -

    Gradient Boosting, Examples of Regression

    +

    Gradient Boosting, Examples of Regression

    @@ -2450,7 +2456,7 @@ plt.show()

    -

    Gradient Boosting, Classification Example

    +

    Gradient Boosting, Classification Example

    @@ -2499,7 +2505,7 @@ plt.show()

    -

    XGBoost: Extreme Gradient Boosting

    +

    XGBoost: Extreme Gradient Boosting

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

    -

    Regression Case

    +

    Regression Case

    @@ -2576,7 +2582,7 @@ plt.show()

    -

    Xgboost on the Cancer Data

    +

    Xgboost on the Cancer Data

    As you will see from the confusion matrix below, XGBoots does an excellent job on the Wisconsin cancer data and outperforms essentially all agorithms we have discussed till now. diff --git a/doc/pub/DecisionTrees/html/DecisionTrees-solarized.html b/doc/pub/DecisionTrees/html/DecisionTrees-solarized.html index e0c9995ac..acfe40fa5 100644 --- a/doc/pub/DecisionTrees/html/DecisionTrees-solarized.html +++ b/doc/pub/DecisionTrees/html/DecisionTrees-solarized.html @@ -148,32 +148,31 @@ div { text-align: justify; text-justify: inter-word; } 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -2074,45 +2073,49 @@ at the internal nodes, and the predictions at the terminal nodes. To better understand what happens, let us develop the steps for the iterative fitting using the above squared error function.

    -For simplicity we assume also that our functions \( b(x;\gamma)=\gamma_0+\gamma_1 x \), with \( \gamma_0 \) and \( \gamma_1 \) as the parameters to be determined. +For simplicity we assume also that our functions \( b(x;\gamma)=1+\gamma x \).

    This means that for every iteration, we need to optmize $$ -(\beta_m,\gamma_m) \mathrm{argmin}_{\beta,\gambda}\hspace{0.2cm} \sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\beta b(x;\gamma))^2\sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\beta(\gamma_0+\gamma_1 x_i))^2. -\[ +(\beta_m,\gamma_m) \mathrm{argmin}_{\beta,\lambda}\hspace{0.1cm} \sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\beta b(x;\gamma))^2=\sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\beta(1+\gamma x_i))^2. $$

    -We start our iteration by simply setting \( \f_0(x)=0 \). +We start our iteration by simply setting \( f_0(x)=0 \). Taking the derivatives with respect to \( \beta \) and \( \gamma \) we obtain $$ -\frac{\partial {\cal C}}{\partial \beta} = -2\sum_{i}(\gamma_0+\gamma_1 x_i)(y_i-\beta(\gamma_0+\gamma_1 x_i))=0, +\frac{\partial {\cal C}}{\partial \beta} = -2\sum_{i}(1+\gamma x_i)(y_i-\beta(1+\gamma x_i))=0, $$ and $$ -\frac{\partial {\cal C}}{\partial \gamma_0} =-2\sum_{i}\beta(y_i-\beta(\gamma_0+\gamma_1 x_i))=0, +\frac{\partial {\cal C}}{\partial \gamma} =-2\sum_{i}\beta x_i(y_i-\beta(1+\gamma x_i))=0. $$ -and +We can then rewrite these equations as (defining \( w_i=1+\gamma x_i) \) $$ -\frac{\partial {\cal C}}{\partial \gamma_1} = =-2\sum_{i}\beta x_i(y_i-\beta(\gamma_0+\gamma_1 x_i))=0. +\gamma \boldsymbol{w}^T(\boldsymbol{y}-\beta\gamma \boldsymbol{w})=0, $$ +which gives us \( \beta = \boldsymbol{w}^T\boldsymbol{y}/(\boldsymbol{w}^T\boldsymbol{w}) \). Similarly we have +$$ +\beta\gamma \boldsymbol{x}^T(\boldsymbol{y}-\beta(1+\gamma \boldsymbol{x}))=0, +$$ + +

    +which leads \( \gamma =(\boldsymbol{x}^T\boldsymbol{y}-\beta\boldsymbol{x}^T\em{e})/(\beta\boldsymbol{x}^T\boldsymbol{x}) \). Inserting +for \( \beta \) gives us an equation for \( \gamma \). + +

    +The solution to these two equations gives us in turn \( \beta_1 \) and \( \gamma_1 \) leading to the new expression for \( f_1(x) \) as +\( f_1(x) = \beta_1(1+\gamma_1x) \). Doing this \( M \) times results in our final estimate for the function \( f \). +











    -

    Finding the Optimal Parameters

    - -

    -With these equations we can then in turn find the parameters \( \beta_1 \) and \( \gamma_0^{1} \) and \( \gamma_1^1 \) as - -

    -









    - -

    Iterative Fitting, Classification, AdaBoost

    +

    Iterative Fitting, Classification, AdaBoost

    Let us consider a binary classification problem with two outcomes \( y_i \in \{-1,1\} \) and \( i=0,1,2,\dots,n-1 \) as our set of @@ -2147,7 +2150,7 @@ $$











    -

    Adaptive Boosting, AdaBoost

    +

    Adaptive Boosting, AdaBoost

    In our iterative procedure we define thus @@ -2175,7 +2178,7 @@ where we have defined \( w_i^m= \exp{(-y_if_{m-1}(x_i))} \).











    -

    Building up AdaBoost

    +

    Building up AdaBoost

    First, for any \( \beta > 0 \), we optimize \( G \) by setting @@ -2218,7 +2221,7 @@ $$









    -

    Adaptive boosting: AdaBoost, Basic Algorithm

    +

    Adaptive boosting: AdaBoost, Basic Algorithm

    The algorithm here is rather straightforward. Assume that our weak @@ -2240,7 +2243,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. @@ -2280,7 +2283,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. @@ -2313,7 +2316,7 @@ plt.show()











    -

    Gradient boosting: Basics

    +

    Gradient boosting: Basics

    Gradient boosting is again a similar technique to Adapative boosting, @@ -2331,7 +2334,7 @@ See discussion during lecture November 8.











    -

    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 square-error function @@ -2357,7 +2360,7 @@ The way we proceed in an iterative fashion is to









    -

    Gradient Boosting, Examples of Regression

    +

    Gradient Boosting, Examples of Regression

    @@ -2411,7 +2414,7 @@ plt.show()











    -

    Gradient Boosting, Classification Example

    +

    Gradient Boosting, Classification Example

    @@ -2459,7 +2462,7 @@ plt.show()











    -

    XGBoost: Extreme Gradient Boosting

    +

    XGBoost: Extreme Gradient Boosting

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











    -

    Regression Case

    +

    Regression Case

    @@ -2535,7 +2538,7 @@ plt.show()











    -

    Xgboost on the Cancer Data

    +

    Xgboost on the Cancer Data

    As you will see from the confusion matrix below, XGBoots does an excellent job on the Wisconsin cancer data and outperforms essentially all agorithms we have discussed till now. diff --git a/doc/pub/DecisionTrees/html/DecisionTrees.html b/doc/pub/DecisionTrees/html/DecisionTrees.html index d038bafd1..1c1b06da5 100644 --- a/doc/pub/DecisionTrees/html/DecisionTrees.html +++ b/doc/pub/DecisionTrees/html/DecisionTrees.html @@ -153,32 +153,31 @@ div { text-align: justify; text-justify: inter-word; } 2, None, '___sec47'), - ('Finding the Optimal Parameters', 2, None, '___sec48'), ('Iterative Fitting, Classification, AdaBoost', 2, None, - '___sec49'), - ('Adaptive Boosting, AdaBoost', 2, None, '___sec50'), - ('Building up AdaBoost', 2, None, '___sec51'), + '___sec48'), + ('Adaptive Boosting, AdaBoost', 2, None, '___sec49'), + ('Building up AdaBoost', 2, None, '___sec50'), ('Adaptive boosting: AdaBoost, Basic Algorithm', 2, None, - '___sec52'), - ('Basic Steps of AdaBoost', 2, None, '___sec53'), - ('AdaBoost Examples', 2, None, '___sec54'), - ('Gradient boosting: Basics', 2, None, '___sec55'), - ('Gradient Boosting, algorithm', 2, None, '___sec56'), + '___sec51'), + ('Basic Steps of AdaBoost', 2, None, '___sec52'), + ('AdaBoost Examples', 2, None, '___sec53'), + ('Gradient boosting: Basics', 2, None, '___sec54'), + ('Gradient Boosting, algorithm', 2, None, '___sec55'), ('Gradient Boosting, Examples of Regression', 2, None, - '___sec57'), + '___sec56'), ('Gradient Boosting, Classification Example', 2, None, - '___sec58'), - ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec59'), - ('Regression Case', 2, None, '___sec60'), - ('Xgboost on the Cancer Data', 2, None, '___sec61')]} + '___sec57'), + ('XGBoost: Extreme Gradient Boosting', 2, None, '___sec58'), + ('Regression Case', 2, None, '___sec59'), + ('Xgboost on the Cancer Data', 2, None, '___sec60')]} end of tocinfo --> @@ -2079,45 +2078,49 @@ at the internal nodes, and the predictions at the terminal nodes. To better understand what happens, let us develop the steps for the iterative fitting using the above squared error function.

    -For simplicity we assume also that our functions \( b(x;\gamma)=\gamma_0+\gamma_1 x \), with \( \gamma_0 \) and \( \gamma_1 \) as the parameters to be determined. +For simplicity we assume also that our functions \( b(x;\gamma)=1+\gamma x \).

    This means that for every iteration, we need to optmize $$ -(\beta_m,\gamma_m) \mathrm{argmin}_{\beta,\gambda}\hspace{0.2cm} \sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\beta b(x;\gamma))^2\sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\beta(\gamma_0+\gamma_1 x_i))^2. -\[ +(\beta_m,\gamma_m) \mathrm{argmin}_{\beta,\lambda}\hspace{0.1cm} \sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\beta b(x;\gamma))^2=\sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\beta(1+\gamma x_i))^2. $$

    -We start our iteration by simply setting \( \f_0(x)=0 \). +We start our iteration by simply setting \( f_0(x)=0 \). Taking the derivatives with respect to \( \beta \) and \( \gamma \) we obtain $$ -\frac{\partial {\cal C}}{\partial \beta} = -2\sum_{i}(\gamma_0+\gamma_1 x_i)(y_i-\beta(\gamma_0+\gamma_1 x_i))=0, +\frac{\partial {\cal C}}{\partial \beta} = -2\sum_{i}(1+\gamma x_i)(y_i-\beta(1+\gamma x_i))=0, $$ and $$ -\frac{\partial {\cal C}}{\partial \gamma_0} =-2\sum_{i}\beta(y_i-\beta(\gamma_0+\gamma_1 x_i))=0, +\frac{\partial {\cal C}}{\partial \gamma} =-2\sum_{i}\beta x_i(y_i-\beta(1+\gamma x_i))=0. $$ -and +We can then rewrite these equations as (defining \( w_i=1+\gamma x_i) \) $$ -\frac{\partial {\cal C}}{\partial \gamma_1} = =-2\sum_{i}\beta x_i(y_i-\beta(\gamma_0+\gamma_1 x_i))=0. +\gamma \boldsymbol{w}^T(\boldsymbol{y}-\beta\gamma \boldsymbol{w})=0, $$ +which gives us \( \beta = \boldsymbol{w}^T\boldsymbol{y}/(\boldsymbol{w}^T\boldsymbol{w}) \). Similarly we have +$$ +\beta\gamma \boldsymbol{x}^T(\boldsymbol{y}-\beta(1+\gamma \boldsymbol{x}))=0, +$$ + +

    +which leads \( \gamma =(\boldsymbol{x}^T\boldsymbol{y}-\beta\boldsymbol{x}^T\em{e})/(\beta\boldsymbol{x}^T\boldsymbol{x}) \). Inserting +for \( \beta \) gives us an equation for \( \gamma \). + +

    +The solution to these two equations gives us in turn \( \beta_1 \) and \( \gamma_1 \) leading to the new expression for \( f_1(x) \) as +\( f_1(x) = \beta_1(1+\gamma_1x) \). Doing this \( M \) times results in our final estimate for the function \( f \). +











    -

    Finding the Optimal Parameters

    - -

    -With these equations we can then in turn find the parameters \( \beta_1 \) and \( \gamma_0^{1} \) and \( \gamma_1^1 \) as - -

    -









    - -

    Iterative Fitting, Classification, AdaBoost

    +

    Iterative Fitting, Classification, AdaBoost

    Let us consider a binary classification problem with two outcomes \( y_i \in \{-1,1\} \) and \( i=0,1,2,\dots,n-1 \) as our set of @@ -2152,7 +2155,7 @@ $$











    -

    Adaptive Boosting, AdaBoost

    +

    Adaptive Boosting, AdaBoost

    In our iterative procedure we define thus @@ -2180,7 +2183,7 @@ where we have defined \( w_i^m= \exp{(-y_if_{m-1}(x_i))} \).











    -

    Building up AdaBoost

    +

    Building up AdaBoost

    First, for any \( \beta > 0 \), we optimize \( G \) by setting @@ -2223,7 +2226,7 @@ $$









    -

    Adaptive boosting: AdaBoost, Basic Algorithm

    +

    Adaptive boosting: AdaBoost, Basic Algorithm

    The algorithm here is rather straightforward. Assume that our weak @@ -2245,7 +2248,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. @@ -2285,7 +2288,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. @@ -2318,7 +2321,7 @@ plt.show()











    -

    Gradient boosting: Basics

    +

    Gradient boosting: Basics

    Gradient boosting is again a similar technique to Adapative boosting, @@ -2336,7 +2339,7 @@ See discussion during lecture November 8.











    -

    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 square-error function @@ -2362,7 +2365,7 @@ The way we proceed in an iterative fashion is to









    -

    Gradient Boosting, Examples of Regression

    +

    Gradient Boosting, Examples of Regression

    @@ -2416,7 +2419,7 @@ plt.show()











    -

    Gradient Boosting, Classification Example

    +

    Gradient Boosting, Classification Example

    @@ -2464,7 +2467,7 @@ plt.show()











    -

    XGBoost: Extreme Gradient Boosting

    +

    XGBoost: Extreme Gradient Boosting

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











    -

    Regression Case

    +

    Regression Case

    @@ -2540,7 +2543,7 @@ plt.show()











    -

    Xgboost on the Cancer Data

    +

    Xgboost on the Cancer Data

    As you will see from the confusion matrix below, XGBoots does an excellent job on the Wisconsin cancer data and outperforms essentially all agorithms we have discussed till now. diff --git a/doc/pub/DecisionTrees/ipynb/DecisionTrees.ipynb b/doc/pub/DecisionTrees/ipynb/DecisionTrees.ipynb index 752b3f244..a1baa3fae 100644 --- a/doc/pub/DecisionTrees/ipynb/DecisionTrees.ipynb +++ b/doc/pub/DecisionTrees/ipynb/DecisionTrees.ipynb @@ -2121,7 +2121,7 @@ "\n", "To better understand what happens, let us develop the steps for the iterative fitting using the above squared error function.\n", "\n", - "For simplicity we assume also that our functions $b(x;\\gamma)=\\gamma_0+\\gamma_1 x$, with $\\gamma_0$ and $\\gamma_1$ as the parameters to be determined.\n", + "For simplicity we assume also that our functions $b(x;\\gamma)=1+\\gamma x$. \n", "\n", "This means that for every iteration, we need to optmize" ] @@ -2131,7 +2131,7 @@ "metadata": {}, "source": [ "$$\n", - "(\\beta_m,\\gamma_m) \\mathrm{argmin}_{\\beta,\\gambda}\\hspace{0.2cm} \\sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\\beta b(x;\\gamma))^2\\sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\\beta(\\gamma_0+\\gamma_1 x_i))^2.\n", + "(\\beta_m,\\gamma_m) \\mathrm{argmin}_{\\beta,\\lambda}\\hspace{0.1cm} \\sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\\beta b(x;\\gamma))^2=\\sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\\beta(1+\\gamma x_i))^2.\n", "$$" ] }, @@ -2139,7 +2139,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "We start our iteration by simply setting $\\f_0(x)=0$. \n", + "We start our iteration by simply setting $f_0(x)=0$. \n", "Taking the derivatives with respect to $\\beta$ and $\\gamma$ we obtain" ] }, @@ -2148,7 +2148,7 @@ "metadata": {}, "source": [ "$$\n", - "\\frac{\\partial {\\cal C}}{\\partial \\beta} = -2\\sum_{i}(\\gamma_0+\\gamma_1 x_i)(y_i-\\beta(\\gamma_0+\\gamma_1 x_i))=0,\n", + "\\frac{\\partial {\\cal C}}{\\partial \\beta} = -2\\sum_{i}(1+\\gamma x_i)(y_i-\\beta(1+\\gamma x_i))=0,\n", "$$" ] }, @@ -2164,7 +2164,7 @@ "metadata": {}, "source": [ "$$\n", - "\\frac{\\partial {\\cal C}}{\\partial \\gamma_0} =-2\\sum_{i}\\beta(y_i-\\beta(\\gamma_0+\\gamma_1 x_i))=0,\n", + "\\frac{\\partial {\\cal C}}{\\partial \\gamma} =-2\\sum_{i}\\beta x_i(y_i-\\beta(1+\\gamma x_i))=0.\n", "$$" ] }, @@ -2172,7 +2172,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "and" + "We can then rewrite these equations as (defining $w_i=1+\\gamma x_i)$" ] }, { @@ -2180,7 +2180,7 @@ "metadata": {}, "source": [ "$$\n", - "\\frac{\\partial {\\cal C}}{\\partial \\gamma_1} = =-2\\sum_{i}\\beta x_i(y_i-\\beta(\\gamma_0+\\gamma_1 x_i))=0.\n", + "\\gamma \\boldsymbol{w}^T(\\boldsymbol{y}-\\beta\\gamma \\boldsymbol{w})=0,\n", "$$" ] }, @@ -2188,9 +2188,27 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "## Finding the Optimal Parameters\n", + "which gives us $\\beta = \\boldsymbol{w}^T\\boldsymbol{y}/(\\boldsymbol{w}^T\\boldsymbol{w})$. Similarly we have" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "$$\n", + "\\beta\\gamma \\boldsymbol{x}^T(\\boldsymbol{y}-\\beta(1+\\gamma \\boldsymbol{x}))=0,\n", + "$$" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "which leads $\\gamma =(\\boldsymbol{x}^T\\boldsymbol{y}-\\beta\\boldsymbol{x}^T\\em{e})/(\\beta\\boldsymbol{x}^T\\boldsymbol{x})$. Inserting\n", + "for $\\beta$ gives us an equation for $\\gamma$.\n", "\n", - "With these equations we can then in turn find the parameters $\\beta_1$ and $\\gamma_0^{1}$ and $\\gamma_1^1$ as\n", + "The solution to these two equations gives us in turn $\\beta_1$ and $\\gamma_1$ leading to the new expression for $f_1(x)$ as\n", + "$f_1(x) = \\beta_1(1+\\gamma_1x)$. Doing this $M$ times results in our final estimate for the function $f$. \n", "\n", "\n", "\n", diff --git a/doc/pub/DecisionTrees/ipynb/ipynb-DecisionTrees-src.tar.gz b/doc/pub/DecisionTrees/ipynb/ipynb-DecisionTrees-src.tar.gz index d5bddb5be..2a8f44d75 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 7ab42a659..bfe73b849 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 fd1221da7..583e64200 100644 --- a/doc/src/DecisionTrees/DecisionTrees.do.txt +++ b/doc/src/DecisionTrees/DecisionTrees.do.txt @@ -1704,41 +1704,47 @@ at the internal nodes, and the predictions at the terminal nodes. To better understand what happens, let us develop the steps for the iterative fitting using the above squared error function. -For simplicity we assume also that our functions $b(x;\gamma)=\gamma_0+\gamma_1 x$, with $\gamma_0$ and $\gamma_1$ as the parameters to be determined. +For simplicity we assume also that our functions $b(x;\gamma)=1+\gamma x$. This means that for every iteration, we need to optmize !bt \[ -(\beta_m,\gamma_m) \mathrm{argmin}_{\beta,\gambda}\hspace{0.2cm} \sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\beta b(x;\gamma))^2\sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\beta(\gamma_0+\gamma_1 x_i))^2. -\[ +(\beta_m,\gamma_m) \mathrm{argmin}_{\beta,\lambda}\hspace{0.1cm} \sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\beta b(x;\gamma))^2=\sum_{i=0}^{n-1}(y_i-f_{m-1}(x_i)-\beta(1+\gamma x_i))^2. +\] !et -We start our iteration by simply setting $\f_0(x)=0$. +We start our iteration by simply setting $f_0(x)=0$. Taking the derivatives with respect to $\beta$ and $\gamma$ we obtain !bt \[ -\frac{\partial {\cal C}}{\partial \beta} = -2\sum_{i}(\gamma_0+\gamma_1 x_i)(y_i-\beta(\gamma_0+\gamma_1 x_i))=0, +\frac{\partial {\cal C}}{\partial \beta} = -2\sum_{i}(1+\gamma x_i)(y_i-\beta(1+\gamma x_i))=0, \] !et and !bt \[ -\frac{\partial {\cal C}}{\partial \gamma_0} =-2\sum_{i}\beta(y_i-\beta(\gamma_0+\gamma_1 x_i))=0, +\frac{\partial {\cal C}}{\partial \gamma} =-2\sum_{i}\beta x_i(y_i-\beta(1+\gamma x_i))=0. \] !et -and +We can then rewrite these equations as (defining $w_i=1+\gamma x_i)$ !bt \[ -\frac{\partial {\cal C}}{\partial \gamma_1} = =-2\sum_{i}\beta x_i(y_i-\beta(\gamma_0+\gamma_1 x_i))=0. +\gamma \bm{w}^T(\bm{y}-\beta\gamma \bm{w})=0, +\] +!et +which gives us $\beta = \bm{w}^T\bm{y}/(\bm{w}^T\bm{w})$. Similarly we have +!bt +\[ +\beta\gamma \bm{x}^T(\bm{y}-\beta(1+\gamma \bm{x}))=0, \] !et +which leads $\gamma =(\bm{x}^T\bm{y}-\beta\bm{x}^T\em{e})/(\beta\bm{x}^T\bm{x})$. Inserting +for $\beta$ gives us an equation for $\gamma$. -!split -===== Finding the Optimal Parameters ===== - -With these equations we can then in turn find the parameters $\beta_1$ and $\gamma_0^{1}$ and $\gamma_1^1$ as +The solution to these two equations gives us in turn $\beta_1$ and $\gamma_1$ leading to the new expression for $f_1(x)$ as +$f_1(x) = \beta_1(1+\gamma_1x)$. Doing this $M$ times results in our final estimate for the function $f$.