diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs000.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs000.html index 42e102612..f05dcbec4 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs000.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs000.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
  • Final regressor code
  • Pros and cons of trees, pros
  • Disadvantages
  • -
  • From a Single Tree to Many Trees, that is meet the Jungle of Methods
  • +
  • From a Single Tree to Many Trees, Meet the Jungle of Methods
  • Bagging
  • More bagging
  • Simple Voting Example, head or tail
  • @@ -196,8 +201,8 @@ MathJax.Hub.Config({
  • Now Bagging
  • Random forests
  • Random Forest Algorithm
  • -
  • A simple scikit-learn example
  • -
  • Then random forests
  • +
  • Random Forests Compared with other Methods on the Cancer Data
  • +
  • Compare Bagging on Trees with Random Forests
  • Feature Importance
  • Boosting, a Bird'e Eye
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • @@ -242,7 +247,7 @@ MathJax.Hub.Config({
    [2] Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University

    -

    Nov 4, 2019

    +

    Nov 5, 2019


    diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs001.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs001.html index ecec6e052..9c06d6c60 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs001.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs001.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({

  • Final regressor code
  • Pros and cons of trees, pros
  • Disadvantages
  • -
  • From a Single Tree to Many Trees, that is meet the Jungle of Methods
  • +
  • From a Single Tree to Many Trees, Meet the Jungle of Methods
  • Bagging
  • More bagging
  • Simple Voting Example, head or tail
  • @@ -196,8 +201,8 @@ MathJax.Hub.Config({
  • Now Bagging
  • Random forests
  • Random Forest Algorithm
  • -
  • A simple scikit-learn example
  • -
  • Then random forests
  • +
  • Random Forests Compared with other Methods on the Cancer Data
  • +
  • Compare Bagging on Trees with Random Forests
  • Feature Importance
  • Boosting, a Bird'e Eye
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs002.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs002.html index 10e742c0d..d88b8a470 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs002.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs002.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
  • Final regressor code
  • Pros and cons of trees, pros
  • Disadvantages
  • -
  • From a Single Tree to Many Trees, that is meet the Jungle of Methods
  • +
  • From a Single Tree to Many Trees, Meet the Jungle of Methods
  • Bagging
  • More bagging
  • Simple Voting Example, head or tail
  • @@ -196,8 +201,8 @@ MathJax.Hub.Config({
  • Now Bagging
  • Random forests
  • Random Forest Algorithm
  • -
  • A simple scikit-learn example
  • -
  • Then random forests
  • +
  • Random Forests Compared with other Methods on the Cancer Data
  • +
  • Compare Bagging on Trees with Random Forests
  • Feature Importance
  • Boosting, a Bird'e Eye
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs003.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs003.html index babc3f8e6..d5c66f891 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs003.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs003.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
  • Final regressor code
  • Pros and cons of trees, pros
  • Disadvantages
  • -
  • From a Single Tree to Many Trees, that is meet the Jungle of Methods
  • +
  • From a Single Tree to Many Trees, Meet the Jungle of Methods
  • Bagging
  • More bagging
  • Simple Voting Example, head or tail
  • @@ -196,8 +201,8 @@ MathJax.Hub.Config({
  • Now Bagging
  • Random forests
  • Random Forest Algorithm
  • -
  • A simple scikit-learn example
  • -
  • Then random forests
  • +
  • Random Forests Compared with other Methods on the Cancer Data
  • +
  • Compare Bagging on Trees with Random Forests
  • Feature Importance
  • Boosting, a Bird'e Eye
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs004.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs004.html index e27daa8f3..af914bbb3 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs004.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs004.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
  • Final regressor code
  • Pros and cons of trees, pros
  • Disadvantages
  • -
  • From a Single Tree to Many Trees, that is meet the Jungle of Methods
  • +
  • From a Single Tree to Many Trees, Meet the Jungle of Methods
  • Bagging
  • More bagging
  • Simple Voting Example, head or tail
  • @@ -196,8 +201,8 @@ MathJax.Hub.Config({
  • Now Bagging
  • Random forests
  • Random Forest Algorithm
  • -
  • A simple scikit-learn example
  • -
  • Then random forests
  • +
  • Random Forests Compared with other Methods on the Cancer Data
  • +
  • Compare Bagging on Trees with Random Forests
  • Feature Importance
  • Boosting, a Bird'e Eye
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs005.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs005.html index cd89bf89f..64c8d5688 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs005.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs005.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
  • Final regressor code
  • Pros and cons of trees, pros
  • Disadvantages
  • -
  • From a Single Tree to Many Trees, that is meet the Jungle of Methods
  • +
  • From a Single Tree to Many Trees, Meet the Jungle of Methods
  • Bagging
  • More bagging
  • Simple Voting Example, head or tail
  • @@ -196,8 +201,8 @@ MathJax.Hub.Config({
  • Now Bagging
  • Random forests
  • Random Forest Algorithm
  • -
  • A simple scikit-learn example
  • -
  • Then random forests
  • +
  • Random Forests Compared with other Methods on the Cancer Data
  • +
  • Compare Bagging on Trees with Random Forests
  • Feature Importance
  • Boosting, a Bird'e Eye
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs006.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs006.html index a633a013f..cbc9f6f66 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs006.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs006.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
  • Final regressor code
  • Pros and cons of trees, pros
  • Disadvantages
  • -
  • From a Single Tree to Many Trees, that is meet the Jungle of Methods
  • +
  • From a Single Tree to Many Trees, Meet the Jungle of Methods
  • Bagging
  • More bagging
  • Simple Voting Example, head or tail
  • @@ -196,8 +201,8 @@ MathJax.Hub.Config({
  • Now Bagging
  • Random forests
  • Random Forest Algorithm
  • -
  • A simple scikit-learn example
  • -
  • Then random forests
  • +
  • Random Forests Compared with other Methods on the Cancer Data
  • +
  • Compare Bagging on Trees with Random Forests
  • Feature Importance
  • Boosting, a Bird'e Eye
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs007.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs007.html index ec8fd5c4c..38bb1f918 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs007.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs007.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
  • Final regressor code
  • Pros and cons of trees, pros
  • Disadvantages
  • -
  • From a Single Tree to Many Trees, that is meet the Jungle of Methods
  • +
  • From a Single Tree to Many Trees, Meet the Jungle of Methods
  • Bagging
  • More bagging
  • Simple Voting Example, head or tail
  • @@ -196,8 +201,8 @@ MathJax.Hub.Config({
  • Now Bagging
  • Random forests
  • Random Forest Algorithm
  • -
  • A simple scikit-learn example
  • -
  • Then random forests
  • +
  • Random Forests Compared with other Methods on the Cancer Data
  • +
  • Compare Bagging on Trees with Random Forests
  • Feature Importance
  • Boosting, a Bird'e Eye
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs008.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs008.html index 5d7a0a02d..5520a7aa1 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs008.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs008.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
  • Final regressor code
  • Pros and cons of trees, pros
  • Disadvantages
  • -
  • From a Single Tree to Many Trees, that is meet the Jungle of Methods
  • +
  • From a Single Tree to Many Trees, Meet the Jungle of Methods
  • Bagging
  • More bagging
  • Simple Voting Example, head or tail
  • @@ -196,8 +201,8 @@ MathJax.Hub.Config({
  • Now Bagging
  • Random forests
  • Random Forest Algorithm
  • -
  • A simple scikit-learn example
  • -
  • Then random forests
  • +
  • Random Forests Compared with other Methods on the Cancer Data
  • +
  • Compare Bagging on Trees with Random Forests
  • Feature Importance
  • Boosting, a Bird'e Eye
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs009.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs009.html index 7e0d79c64..f2c1e07f2 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs009.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs009.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
  • Final regressor code
  • Pros and cons of trees, pros
  • Disadvantages
  • -
  • From a Single Tree to Many Trees, that is meet the Jungle of Methods
  • +
  • From a Single Tree to Many Trees, Meet the Jungle of Methods
  • Bagging
  • More bagging
  • Simple Voting Example, head or tail
  • @@ -196,8 +201,8 @@ MathJax.Hub.Config({
  • Now Bagging
  • Random forests
  • Random Forest Algorithm
  • -
  • A simple scikit-learn example
  • -
  • Then random forests
  • +
  • Random Forests Compared with other Methods on the Cancer Data
  • +
  • Compare Bagging on Trees with Random Forests
  • Feature Importance
  • Boosting, a Bird'e Eye
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs010.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs010.html index a90f7ef7f..ba9313b7f 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs010.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs010.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
  • Final regressor code
  • Pros and cons of trees, pros
  • Disadvantages
  • -
  • From a Single Tree to Many Trees, that is meet the Jungle of Methods
  • +
  • From a Single Tree to Many Trees, Meet the Jungle of Methods
  • Bagging
  • More bagging
  • Simple Voting Example, head or tail
  • @@ -196,8 +201,8 @@ MathJax.Hub.Config({
  • Now Bagging
  • Random forests
  • Random Forest Algorithm
  • -
  • A simple scikit-learn example
  • -
  • Then random forests
  • +
  • Random Forests Compared with other Methods on the Cancer Data
  • +
  • Compare Bagging on Trees with Random Forests
  • Feature Importance
  • Boosting, a Bird'e Eye
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs011.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs011.html index b468cbcc0..edb4eae11 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs011.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs011.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
  • Final regressor code
  • Pros and cons of trees, pros
  • Disadvantages
  • -
  • From a Single Tree to Many Trees, that is meet the Jungle of Methods
  • +
  • From a Single Tree to Many Trees, Meet the Jungle of Methods
  • Bagging
  • More bagging
  • Simple Voting Example, head or tail
  • @@ -196,8 +201,8 @@ MathJax.Hub.Config({
  • Now Bagging
  • Random forests
  • Random Forest Algorithm
  • -
  • A simple scikit-learn example
  • -
  • Then random forests
  • +
  • Random Forests Compared with other Methods on the Cancer Data
  • +
  • Compare Bagging on Trees with Random Forests
  • Feature Importance
  • Boosting, a Bird'e Eye
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs012.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs012.html index 5acbad162..9050aa322 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs012.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs012.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
  • Final regressor code
  • Pros and cons of trees, pros
  • Disadvantages
  • -
  • From a Single Tree to Many Trees, that is meet the Jungle of Methods
  • +
  • From a Single Tree to Many Trees, Meet the Jungle of Methods
  • Bagging
  • More bagging
  • Simple Voting Example, head or tail
  • @@ -196,8 +201,8 @@ MathJax.Hub.Config({
  • Now Bagging
  • Random forests
  • Random Forest Algorithm
  • -
  • A simple scikit-learn example
  • -
  • Then random forests
  • +
  • Random Forests Compared with other Methods on the Cancer Data
  • +
  • Compare Bagging on Trees with Random Forests
  • Feature Importance
  • Boosting, a Bird'e Eye
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs013.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs013.html index 743f757cd..318493518 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs013.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs013.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
  • Final regressor code
  • Pros and cons of trees, pros
  • Disadvantages
  • -
  • From a Single Tree to Many Trees, that is meet the Jungle of Methods
  • +
  • From a Single Tree to Many Trees, Meet the Jungle of Methods
  • Bagging
  • More bagging
  • Simple Voting Example, head or tail
  • @@ -196,8 +201,8 @@ MathJax.Hub.Config({
  • Now Bagging
  • Random forests
  • Random Forest Algorithm
  • -
  • A simple scikit-learn example
  • -
  • Then random forests
  • +
  • Random Forests Compared with other Methods on the Cancer Data
  • +
  • Compare Bagging on Trees with Random Forests
  • Feature Importance
  • Boosting, a Bird'e Eye
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs014.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs014.html index 990d9246e..cba54186a 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs014.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs014.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
  • Final regressor code
  • Pros and cons of trees, pros
  • Disadvantages
  • -
  • From a Single Tree to Many Trees, that is meet the Jungle of Methods
  • +
  • From a Single Tree to Many Trees, Meet the Jungle of Methods
  • Bagging
  • More bagging
  • Simple Voting Example, head or tail
  • @@ -196,8 +201,8 @@ MathJax.Hub.Config({
  • Now Bagging
  • Random forests
  • Random Forest Algorithm
  • -
  • A simple scikit-learn example
  • -
  • Then random forests
  • +
  • Random Forests Compared with other Methods on the Cancer Data
  • +
  • Compare Bagging on Trees with Random Forests
  • Feature Importance
  • Boosting, a Bird'e Eye
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs015.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs015.html index d8bed0045..313a7f044 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs015.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs015.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
  • Final regressor code
  • Pros and cons of trees, pros
  • Disadvantages
  • -
  • From a Single Tree to Many Trees, that is meet the Jungle of Methods
  • +
  • From a Single Tree to Many Trees, Meet the Jungle of Methods
  • Bagging
  • More bagging
  • Simple Voting Example, head or tail
  • @@ -196,8 +201,8 @@ MathJax.Hub.Config({
  • Now Bagging
  • Random forests
  • Random Forest Algorithm
  • -
  • A simple scikit-learn example
  • -
  • Then random forests
  • +
  • Random Forests Compared with other Methods on the Cancer Data
  • +
  • Compare Bagging on Trees with Random Forests
  • Feature Importance
  • Boosting, a Bird'e Eye
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs016.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs016.html index 39660ce4b..bdb273caf 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs016.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs016.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
  • Final regressor code
  • Pros and cons of trees, pros
  • Disadvantages
  • -
  • From a Single Tree to Many Trees, that is meet the Jungle of Methods
  • +
  • From a Single Tree to Many Trees, Meet the Jungle of Methods
  • Bagging
  • More bagging
  • Simple Voting Example, head or tail
  • @@ -196,8 +201,8 @@ MathJax.Hub.Config({
  • Now Bagging
  • Random forests
  • Random Forest Algorithm
  • -
  • A simple scikit-learn example
  • -
  • Then random forests
  • +
  • Random Forests Compared with other Methods on the Cancer Data
  • +
  • Compare Bagging on Trees with Random Forests
  • Feature Importance
  • Boosting, a Bird'e Eye
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs017.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs017.html index 01461e8b7..c7242f821 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs017.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs017.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
  • Final regressor code
  • Pros and cons of trees, pros
  • Disadvantages
  • -
  • From a Single Tree to Many Trees, that is meet the Jungle of Methods
  • +
  • From a Single Tree to Many Trees, Meet the Jungle of Methods
  • Bagging
  • More bagging
  • Simple Voting Example, head or tail
  • @@ -196,8 +201,8 @@ MathJax.Hub.Config({
  • Now Bagging
  • Random forests
  • Random Forest Algorithm
  • -
  • A simple scikit-learn example
  • -
  • Then random forests
  • +
  • Random Forests Compared with other Methods on the Cancer Data
  • +
  • Compare Bagging on Trees with Random Forests
  • Feature Importance
  • Boosting, a Bird'e Eye
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs018.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs018.html index 4ca9f7c88..86bc41c16 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs018.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs018.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
  • Final regressor code
  • Pros and cons of trees, pros
  • Disadvantages
  • -
  • From a Single Tree to Many Trees, that is meet the Jungle of Methods
  • +
  • From a Single Tree to Many Trees, Meet the Jungle of Methods
  • Bagging
  • More bagging
  • Simple Voting Example, head or tail
  • @@ -196,8 +201,8 @@ MathJax.Hub.Config({
  • Now Bagging
  • Random forests
  • Random Forest Algorithm
  • -
  • A simple scikit-learn example
  • -
  • Then random forests
  • +
  • Random Forests Compared with other Methods on the Cancer Data
  • +
  • Compare Bagging on Trees with Random Forests
  • Feature Importance
  • Boosting, a Bird'e Eye
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs019.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs019.html index 7d20eb124..b1e65e39f 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs019.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs019.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
  • Final regressor code
  • Pros and cons of trees, pros
  • Disadvantages
  • -
  • From a Single Tree to Many Trees, that is meet the Jungle of Methods
  • +
  • From a Single Tree to Many Trees, Meet the Jungle of Methods
  • Bagging
  • More bagging
  • Simple Voting Example, head or tail
  • @@ -196,8 +201,8 @@ MathJax.Hub.Config({
  • Now Bagging
  • Random forests
  • Random Forest Algorithm
  • -
  • A simple scikit-learn example
  • -
  • Then random forests
  • +
  • Random Forests Compared with other Methods on the Cancer Data
  • +
  • Compare Bagging on Trees with Random Forests
  • Feature Importance
  • Boosting, a Bird'e Eye
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs020.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs020.html index addf1619c..6a9d745ab 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs020.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs020.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
  • Final regressor code
  • Pros and cons of trees, pros
  • Disadvantages
  • -
  • From a Single Tree to Many Trees, that is meet the Jungle of Methods
  • +
  • From a Single Tree to Many Trees, Meet the Jungle of Methods
  • Bagging
  • More bagging
  • Simple Voting Example, head or tail
  • @@ -196,8 +201,8 @@ MathJax.Hub.Config({
  • Now Bagging
  • Random forests
  • Random Forest Algorithm
  • -
  • A simple scikit-learn example
  • -
  • Then random forests
  • +
  • Random Forests Compared with other Methods on the Cancer Data
  • +
  • Compare Bagging on Trees with Random Forests
  • Feature Importance
  • Boosting, a Bird'e Eye
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs021.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs021.html index 3ab39a28b..e3f573b4b 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs021.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs021.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
  • Final regressor code
  • Pros and cons of trees, pros
  • Disadvantages
  • -
  • From a Single Tree to Many Trees, that is meet the Jungle of Methods
  • +
  • From a Single Tree to Many Trees, Meet the Jungle of Methods
  • Bagging
  • More bagging
  • Simple Voting Example, head or tail
  • @@ -196,8 +201,8 @@ MathJax.Hub.Config({
  • Now Bagging
  • Random forests
  • Random Forest Algorithm
  • -
  • A simple scikit-learn example
  • -
  • Then random forests
  • +
  • Random Forests Compared with other Methods on the Cancer Data
  • +
  • Compare Bagging on Trees with Random Forests
  • Feature Importance
  • Boosting, a Bird'e Eye
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs022.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs022.html index d7341066e..0849a9b02 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs022.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs022.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
  • Final regressor code
  • Pros and cons of trees, pros
  • Disadvantages
  • -
  • From a Single Tree to Many Trees, that is meet the Jungle of Methods
  • +
  • From a Single Tree to Many Trees, Meet the Jungle of Methods
  • Bagging
  • More bagging
  • Simple Voting Example, head or tail
  • @@ -196,8 +201,8 @@ MathJax.Hub.Config({
  • Now Bagging
  • Random forests
  • Random Forest Algorithm
  • -
  • A simple scikit-learn example
  • -
  • Then random forests
  • +
  • Random Forests Compared with other Methods on the Cancer Data
  • +
  • Compare Bagging on Trees with Random Forests
  • Feature Importance
  • Boosting, a Bird'e Eye
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs023.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs023.html index 846eefc81..fb43399b8 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs023.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs023.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
  • Final regressor code
  • Pros and cons of trees, pros
  • Disadvantages
  • -
  • From a Single Tree to Many Trees, that is meet the Jungle of Methods
  • +
  • From a Single Tree to Many Trees, Meet the Jungle of Methods
  • Bagging
  • More bagging
  • Simple Voting Example, head or tail
  • @@ -196,8 +201,8 @@ MathJax.Hub.Config({
  • Now Bagging
  • Random forests
  • Random Forest Algorithm
  • -
  • A simple scikit-learn example
  • -
  • Then random forests
  • +
  • Random Forests Compared with other Methods on the Cancer Data
  • +
  • Compare Bagging on Trees with Random Forests
  • Feature Importance
  • Boosting, a Bird'e Eye
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs024.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs024.html index 6c328174c..9b22dcdc4 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs024.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs024.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
  • Final regressor code
  • Pros and cons of trees, pros
  • Disadvantages
  • -
  • From a Single Tree to Many Trees, that is meet the Jungle of Methods
  • +
  • From a Single Tree to Many Trees, Meet the Jungle of Methods
  • Bagging
  • More bagging
  • Simple Voting Example, head or tail
  • @@ -196,8 +201,8 @@ MathJax.Hub.Config({
  • Now Bagging
  • Random forests
  • Random Forest Algorithm
  • -
  • A simple scikit-learn example
  • -
  • Then random forests
  • +
  • Random Forests Compared with other Methods on the Cancer Data
  • +
  • Compare Bagging on Trees with Random Forests
  • Feature Importance
  • Boosting, a Bird'e Eye
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs025.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs025.html index ff5c15b78..2fcfd9fb9 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs025.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs025.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
  • Final regressor code
  • Pros and cons of trees, pros
  • Disadvantages
  • -
  • From a Single Tree to Many Trees, that is meet the Jungle of Methods
  • +
  • From a Single Tree to Many Trees, Meet the Jungle of Methods
  • Bagging
  • More bagging
  • Simple Voting Example, head or tail
  • @@ -196,8 +201,8 @@ MathJax.Hub.Config({
  • Now Bagging
  • Random forests
  • Random Forest Algorithm
  • -
  • A simple scikit-learn example
  • -
  • Then random forests
  • +
  • Random Forests Compared with other Methods on the Cancer Data
  • +
  • Compare Bagging on Trees with Random Forests
  • Feature Importance
  • Boosting, a Bird'e Eye
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs026.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs026.html index c42b05767..2fbaeef3c 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs026.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs026.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
  • Final regressor code
  • Pros and cons of trees, pros
  • Disadvantages
  • -
  • From a Single Tree to Many Trees, that is meet the Jungle of Methods
  • +
  • From a Single Tree to Many Trees, Meet the Jungle of Methods
  • Bagging
  • More bagging
  • Simple Voting Example, head or tail
  • @@ -196,8 +201,8 @@ MathJax.Hub.Config({
  • Now Bagging
  • Random forests
  • Random Forest Algorithm
  • -
  • A simple scikit-learn example
  • -
  • Then random forests
  • +
  • Random Forests Compared with other Methods on the Cancer Data
  • +
  • Compare Bagging on Trees with Random Forests
  • Feature Importance
  • Boosting, a Bird'e Eye
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs027.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs027.html index e68237480..9470bf605 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs027.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs027.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
  • Final regressor code
  • Pros and cons of trees, pros
  • Disadvantages
  • -
  • From a Single Tree to Many Trees, that is meet the Jungle of Methods
  • +
  • From a Single Tree to Many Trees, Meet the Jungle of Methods
  • Bagging
  • More bagging
  • Simple Voting Example, head or tail
  • @@ -196,8 +201,8 @@ MathJax.Hub.Config({
  • Now Bagging
  • Random forests
  • Random Forest Algorithm
  • -
  • A simple scikit-learn example
  • -
  • Then random forests
  • +
  • Random Forests Compared with other Methods on the Cancer Data
  • +
  • Compare Bagging on Trees with Random Forests
  • Feature Importance
  • Boosting, a Bird'e Eye
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs028.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs028.html index f17414fad..49351bbaa 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs028.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs028.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
  • Final regressor code
  • Pros and cons of trees, pros
  • Disadvantages
  • -
  • From a Single Tree to Many Trees, that is meet the Jungle of Methods
  • +
  • From a Single Tree to Many Trees, Meet the Jungle of Methods
  • Bagging
  • More bagging
  • Simple Voting Example, head or tail
  • @@ -196,8 +201,8 @@ MathJax.Hub.Config({
  • Now Bagging
  • Random forests
  • Random Forest Algorithm
  • -
  • A simple scikit-learn example
  • -
  • Then random forests
  • +
  • Random Forests Compared with other Methods on the Cancer Data
  • +
  • Compare Bagging on Trees with Random Forests
  • Feature Importance
  • Boosting, a Bird'e Eye
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs029.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs029.html index 01ded5581..d625f57f1 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs029.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs029.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
  • Final regressor code
  • Pros and cons of trees, pros
  • Disadvantages
  • -
  • From a Single Tree to Many Trees, that is meet the Jungle of Methods
  • +
  • From a Single Tree to Many Trees, Meet the Jungle of Methods
  • Bagging
  • More bagging
  • Simple Voting Example, head or tail
  • @@ -196,8 +201,8 @@ MathJax.Hub.Config({
  • Now Bagging
  • Random forests
  • Random Forest Algorithm
  • -
  • A simple scikit-learn example
  • -
  • Then random forests
  • +
  • Random Forests Compared with other Methods on the Cancer Data
  • +
  • Compare Bagging on Trees with Random Forests
  • Feature Importance
  • Boosting, a Bird'e Eye
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs030.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs030.html index 9f624b150..6130f1d64 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs030.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs030.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
  • Final regressor code
  • Pros and cons of trees, pros
  • Disadvantages
  • -
  • From a Single Tree to Many Trees, that is meet the Jungle of Methods
  • +
  • From a Single Tree to Many Trees, Meet the Jungle of Methods
  • Bagging
  • More bagging
  • Simple Voting Example, head or tail
  • @@ -196,8 +201,8 @@ MathJax.Hub.Config({
  • Now Bagging
  • Random forests
  • Random Forest Algorithm
  • -
  • A simple scikit-learn example
  • -
  • Then random forests
  • +
  • Random Forests Compared with other Methods on the Cancer Data
  • +
  • Compare Bagging on Trees with Random Forests
  • Feature Importance
  • Boosting, a Bird'e Eye
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs031.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs031.html index fabfcc25f..8b1675cc3 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs031.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs031.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
  • Final regressor code
  • Pros and cons of trees, pros
  • Disadvantages
  • -
  • From a Single Tree to Many Trees, that is meet the Jungle of Methods
  • +
  • From a Single Tree to Many Trees, Meet the Jungle of Methods
  • Bagging
  • More bagging
  • Simple Voting Example, head or tail
  • @@ -196,8 +201,8 @@ MathJax.Hub.Config({
  • Now Bagging
  • Random forests
  • Random Forest Algorithm
  • -
  • A simple scikit-learn example
  • -
  • Then random forests
  • +
  • Random Forests Compared with other Methods on the Cancer Data
  • +
  • Compare Bagging on Trees with Random Forests
  • Feature Importance
  • Boosting, a Bird'e Eye
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs032.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs032.html index adc5fb5d2..18213ab5c 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs032.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs032.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
  • Final regressor code
  • Pros and cons of trees, pros
  • Disadvantages
  • -
  • From a Single Tree to Many Trees, that is meet the Jungle of Methods
  • +
  • From a Single Tree to Many Trees, Meet the Jungle of Methods
  • Bagging
  • More bagging
  • Simple Voting Example, head or tail
  • @@ -196,8 +201,8 @@ MathJax.Hub.Config({
  • Now Bagging
  • Random forests
  • Random Forest Algorithm
  • -
  • A simple scikit-learn example
  • -
  • Then random forests
  • +
  • Random Forests Compared with other Methods on the Cancer Data
  • +
  • Compare Bagging on Trees with Random Forests
  • Feature Importance
  • Boosting, a Bird'e Eye
  • Adaptive boosting: AdaBoost, Basic Algorithm
  • @@ -223,7 +228,7 @@ MathJax.Hub.Config({ -

    From a Single Tree to Many Trees, that is meet the Jungle of Methods

    +

    From a Single Tree to Many Trees, Meet the Jungle of Methods

    As stated above and seen in many of the examples discussed here about @@ -236,7 +241,7 @@ This leads us to a set of different methods that can combine different machine learning algorithms or just use one of them to construct forests and jungles of trees, homogeneous ones or heterogenous ones. These methods are recognized by different names which we will try to explain here. These are

      -
    1. Votign classifiers
    2. +
    3. Voting classifiers
    4. Bagging and Pasting
    5. Random forests
    6. Boosting methods
    7. diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs033.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs033.html index 975c811e7..814e81304 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs033.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs033.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
    8. Final regressor code
    9. Pros and cons of trees, pros
    10. Disadvantages
    11. -
    12. From a Single Tree to Many Trees, that is meet the Jungle of Methods
    13. +
    14. From a Single Tree to Many Trees, Meet the Jungle of Methods
    15. Bagging
    16. More bagging
    17. Simple Voting Example, head or tail
    18. @@ -196,8 +201,8 @@ MathJax.Hub.Config({
    19. Now Bagging
    20. Random forests
    21. Random Forest Algorithm
    22. -
    23. A simple scikit-learn example
    24. -
    25. Then random forests
    26. +
    27. Random Forests Compared with other Methods on the Cancer Data
    28. +
    29. Compare Bagging on Trees with Random Forests
    30. Feature Importance
    31. Boosting, a Bird'e Eye
    32. Adaptive boosting: AdaBoost, Basic Algorithm
    33. diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs034.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs034.html index fdf6c10c4..fc1c21ca1 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs034.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs034.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
    34. Final regressor code
    35. Pros and cons of trees, pros
    36. Disadvantages
    37. -
    38. From a Single Tree to Many Trees, that is meet the Jungle of Methods
    39. +
    40. From a Single Tree to Many Trees, Meet the Jungle of Methods
    41. Bagging
    42. More bagging
    43. Simple Voting Example, head or tail
    44. @@ -196,8 +201,8 @@ MathJax.Hub.Config({
    45. Now Bagging
    46. Random forests
    47. Random Forest Algorithm
    48. -
    49. A simple scikit-learn example
    50. -
    51. Then random forests
    52. +
    53. Random Forests Compared with other Methods on the Cancer Data
    54. +
    55. Compare Bagging on Trees with Random Forests
    56. Feature Importance
    57. Boosting, a Bird'e Eye
    58. Adaptive boosting: AdaBoost, Basic Algorithm
    59. diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs035.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs035.html index 474dba6b1..cdc69bf8c 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs035.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs035.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
    60. Final regressor code
    61. Pros and cons of trees, pros
    62. Disadvantages
    63. -
    64. From a Single Tree to Many Trees, that is meet the Jungle of Methods
    65. +
    66. From a Single Tree to Many Trees, Meet the Jungle of Methods
    67. Bagging
    68. More bagging
    69. Simple Voting Example, head or tail
    70. @@ -196,8 +201,8 @@ MathJax.Hub.Config({
    71. Now Bagging
    72. Random forests
    73. Random Forest Algorithm
    74. -
    75. A simple scikit-learn example
    76. -
    77. Then random forests
    78. +
    79. Random Forests Compared with other Methods on the Cancer Data
    80. +
    81. Compare Bagging on Trees with Random Forests
    82. Feature Importance
    83. Boosting, a Bird'e Eye
    84. Adaptive boosting: AdaBoost, Basic Algorithm
    85. diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs036.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs036.html index 0f51a5012..d6a711693 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs036.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs036.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
    86. Final regressor code
    87. Pros and cons of trees, pros
    88. Disadvantages
    89. -
    90. From a Single Tree to Many Trees, that is meet the Jungle of Methods
    91. +
    92. From a Single Tree to Many Trees, Meet the Jungle of Methods
    93. Bagging
    94. More bagging
    95. Simple Voting Example, head or tail
    96. @@ -196,8 +201,8 @@ MathJax.Hub.Config({
    97. Now Bagging
    98. Random forests
    99. Random Forest Algorithm
    100. -
    101. A simple scikit-learn example
    102. -
    103. Then random forests
    104. +
    105. Random Forests Compared with other Methods on the Cancer Data
    106. +
    107. Compare Bagging on Trees with Random Forests
    108. Feature Importance
    109. Boosting, a Bird'e Eye
    110. Adaptive boosting: AdaBoost, Basic Algorithm
    111. diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs037.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs037.html index 32bcd8d58..31039557f 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs037.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs037.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
    112. Final regressor code
    113. Pros and cons of trees, pros
    114. Disadvantages
    115. -
    116. From a Single Tree to Many Trees, that is meet the Jungle of Methods
    117. +
    118. From a Single Tree to Many Trees, Meet the Jungle of Methods
    119. Bagging
    120. More bagging
    121. Simple Voting Example, head or tail
    122. @@ -196,8 +201,8 @@ MathJax.Hub.Config({
    123. Now Bagging
    124. Random forests
    125. Random Forest Algorithm
    126. -
    127. A simple scikit-learn example
    128. -
    129. Then random forests
    130. +
    131. Random Forests Compared with other Methods on the Cancer Data
    132. +
    133. Compare Bagging on Trees with Random Forests
    134. Feature Importance
    135. Boosting, a Bird'e Eye
    136. Adaptive boosting: AdaBoost, Basic Algorithm
    137. diff --git a/doc/pub/DecisionTrees/html/._DecisionTrees-bs038.html b/doc/pub/DecisionTrees/html/._DecisionTrees-bs038.html index 33680f159..9acb85de1 100644 --- a/doc/pub/DecisionTrees/html/._DecisionTrees-bs038.html +++ b/doc/pub/DecisionTrees/html/._DecisionTrees-bs038.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
    138. Final regressor code
    139. Pros and cons of trees, pros
    140. Disadvantages
    141. -
    142. From a Single Tree to Many Trees, that is meet the Jungle of Methods
    143. +
    144. From a Single Tree to Many Trees, Meet the Jungle of Methods
    145. Bagging
    146. More bagging
    147. Simple Voting Example, head or tail
    148. @@ -196,8 +201,8 @@ MathJax.Hub.Config({
    149. Now Bagging
    150. Random forests
    151. Random Forest Algorithm
    152. -
    153. A simple scikit-learn example
    154. -
    155. Then random forests
    156. +
    157. Random Forests Compared with other Methods on the Cancer Data
    158. +
    159. Compare Bagging on Trees with Random Forests
    160. Feature Importance
    161. Boosting, a Bird'e Eye
    162. Adaptive boosting: AdaBoost, Basic Algorithm
    163. diff --git a/doc/pub/DecisionTrees/html/DecisionTrees-bs.html b/doc/pub/DecisionTrees/html/DecisionTrees-bs.html index 42e102612..f05dcbec4 100644 --- a/doc/pub/DecisionTrees/html/DecisionTrees-bs.html +++ b/doc/pub/DecisionTrees/html/DecisionTrees-bs.html @@ -85,8 +85,7 @@ Automatically generated HTML file from DocOnce source ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -101,8 +100,14 @@ Automatically generated HTML file from DocOnce source ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -187,7 +192,7 @@ MathJax.Hub.Config({
    164. Final regressor code
    165. Pros and cons of trees, pros
    166. Disadvantages
    167. -
    168. From a Single Tree to Many Trees, that is meet the Jungle of Methods
    169. +
    170. From a Single Tree to Many Trees, Meet the Jungle of Methods
    171. Bagging
    172. More bagging
    173. Simple Voting Example, head or tail
    174. @@ -196,8 +201,8 @@ MathJax.Hub.Config({
    175. Now Bagging
    176. Random forests
    177. Random Forest Algorithm
    178. -
    179. A simple scikit-learn example
    180. -
    181. Then random forests
    182. +
    183. Random Forests Compared with other Methods on the Cancer Data
    184. +
    185. Compare Bagging on Trees with Random Forests
    186. Feature Importance
    187. Boosting, a Bird'e Eye
    188. Adaptive boosting: AdaBoost, Basic Algorithm
    189. @@ -242,7 +247,7 @@ MathJax.Hub.Config({
      [2] Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University

      -

      Nov 4, 2019

      +

      Nov 5, 2019


      diff --git a/doc/pub/DecisionTrees/html/DecisionTrees-reveal.html b/doc/pub/DecisionTrees/html/DecisionTrees-reveal.html index af922e8f1..11ddd11e0 100644 --- a/doc/pub/DecisionTrees/html/DecisionTrees-reveal.html +++ b/doc/pub/DecisionTrees/html/DecisionTrees-reveal.html @@ -148,7 +148,7 @@ MathJax.Hub.Config({

      [2] Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University

       
      -

      Nov 4, 2019

      +

      Nov 5, 2019


      @@ -1439,7 +1439,7 @@ However, by aggregating many decision trees, using methods like bagging, random

      -

      From a Single Tree to Many Trees, that is meet the Jungle of Methods

      +

      From a Single Tree to Many Trees, Meet the Jungle of Methods

      As stated above and seen in many of the examples discussed here about @@ -1452,7 +1452,7 @@ This leads us to a set of different methods that can combine different machine learning algorithms or just use one of them to construct forests and jungles of trees, homogeneous ones or heterogenous ones. These methods are recognized by different names which we will try to explain here. These are

        -

      1. Votign classifiers
      2. +

      3. Voting classifiers
      4. Bagging and Pasting
      5. Random forests
      6. Boosting methods
      7. @@ -1754,30 +1754,111 @@ this setting.

        Random Forest Algorithm

        The algorithm described here can be applied to both classification and regression problems. + +

        +We will grow of forest of say \( M \) trees. + +

          +

        1. For \( m=1:M \) we
        2. + +
            + +

          • Draw a bootstrap sample of from the training data organized in our \( \boldsymbol{X} \) matrix.
          • + +

          • We grow then a random forest tree \( T_m \) based on the bootstrapped data by repeating the steps outlined till we reach the maximum node size is reached
          • + +
              + +

            1. we select \( m \le p \) varibales at random from the \( p \) predictors/features
            2. + +

            3. pick the best split point among the \( m \) features using either the CART algorithm or the ID3 for classification and create a new node
            4. + +

            5. split the node into daughter nodes
            6. +
            +

            +

          +

        3. Output then the ensemble of trees \( \{T_m\}_1^{M} \) and make predictions for either a regression type of problem or a classification type of problem.
        4. +
        -

        A simple scikit-learn example

        +

        Random Forests Compared with other Methods on the Cancer Data

        -

        from sklearn.ensemble import RandomForestClassifier
        +
        import matplotlib.pyplot as plt
        +import numpy as np
        +from sklearn.model_selection import  train_test_split 
        +from sklearn.datasets import load_breast_cancer
        +from sklearn.svm import SVC
        +from sklearn.linear_model import LogisticRegression
        +from sklearn.tree import DecisionTreeClassifier
        +
        +# Load the data
        +cancer = load_breast_cancer()
        +
        +X_train, X_test, y_train, y_test = train_test_split(cancer.data,cancer.target,random_state=0)
        +print(X_train.shape)
        +print(X_test.shape)
        +# Logistic Regression
        +logreg = LogisticRegression(solver='lbfgs')
        +logreg.fit(X_train, y_train)
        +print("Test set accuracy with Logistic Regression: {:.2f}".format(logreg.score(X_test,y_test)))
        +# Support vector machine
        +svm = SVC(gamma='auto', C=100)
        +svm.fit(X_train, y_train)
        +print("Test set accuracy with SVM: {:.2f}".format(svm.score(X_test,y_test)))
        +# Decision Trees
        +deep_tree_clf = DecisionTreeClassifier(max_depth=None)
        +deep_tree_clf.fit(X_train, y_train)
        +print("Test set accuracy with Decision Trees: {:.2f}".format(deep_tree_clf.score(X_test,y_test)))
        +#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)
        +# Logistic Regression
        +logreg.fit(X_train_scaled, y_train)
        +print("Test set accuracy Logistic Regression with scaled data: {:.2f}".format(logreg.score(X_test_scaled,y_test)))
        +# Support Vector Machine
        +svm.fit(X_train_scaled, y_train)
        +print("Test set accuracy SVM with scaled data: {:.2f}".format(logreg.score(X_test_scaled,y_test)))
        +# Decision Trees
        +deep_tree_clf.fit(X_train_scaled, y_train)
        +print("Test set accuracy with Decision Trees and scaled data: {:.2f}".format(deep_tree_clf.score(X_test_scaled,y_test)))
        +
        +
        +from sklearn.ensemble import RandomForestClassifier
         from sklearn.preprocessing import LabelEncoder
         from sklearn.model_selection import cross_validate
         # Data set not specificied
        -X = dataset.XXX
        -Y = dataset.YYY
        -#Instantiate the model with 100 trees and entropy as splitting criteria
        -Random_Forest_model = RandomForestClassifier(n_estimators=100,criterion="entropy")
        +#Instantiate the model with 500 trees and entropy as splitting criteria
        +Random_Forest_model = RandomForestClassifier(n_estimators=500,criterion="entropy")
        +Random_Forest_model.fit(X_train_scaled, y_train)
         #Cross validation
        -accuracy = cross_validate(Random_Forest_model,X,Y,cv=10)['test_score']
        +accuracy = cross_validate(Random_Forest_model,X_test_scaled,y_test,cv=10)['test_score']
        +print(accuracy)
        +print("Test set accuracy with Random Forests and scaled data: {:.2f}".format(Random_Forest_model.score(X_test_scaled,y_test)))
        +
        +
        +import scikitplot as skplt
        +y_pred = Random_Forest_model.predict(X_test_scaled)
        +skplt.metrics.plot_confusion_matrix(y_test, y_pred, normalize=True)
        +#<matplotlib.axes._subplots.AxesSubplot object at 0x7fe967d64490>
        +plt.show()
        +y_probas = Random_Forest_model.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()
         
        -

        Then random forests

        +

        Compare Bagging on Trees with Random Forests

        diff --git a/doc/pub/DecisionTrees/html/DecisionTrees-solarized.html b/doc/pub/DecisionTrees/html/DecisionTrees-solarized.html index 56336a6f5..19099da6f 100644 --- a/doc/pub/DecisionTrees/html/DecisionTrees-solarized.html +++ b/doc/pub/DecisionTrees/html/DecisionTrees-solarized.html @@ -105,8 +105,7 @@ div { text-align: justify; text-justify: inter-word; } ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -121,8 +120,14 @@ div { text-align: justify; text-justify: inter-word; } ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -180,7 +185,7 @@ MathJax.Hub.Config({

        [2] Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University

        -

        Nov 4, 2019

        +

        Nov 5, 2019












        @@ -1431,7 +1436,7 @@ However, by aggregating many decision trees, using methods like bagging, random











        -

        From a Single Tree to Many Trees, that is meet the Jungle of Methods

        +

        From a Single Tree to Many Trees, Meet the Jungle of Methods

        As stated above and seen in many of the examples discussed here about @@ -1444,7 +1449,7 @@ This leads us to a set of different methods that can combine different machine learning algorithms or just use one of them to construct forests and jungles of trees, homogeneous ones or heterogenous ones. These methods are recognized by different names which we will try to explain here. These are

          -
        1. Votign classifiers
        2. +
        3. Voting classifiers
        4. Bagging and Pasting
        5. Random forests
        6. Boosting methods
        7. @@ -1741,27 +1746,103 @@ this setting. The algorithm described here can be applied to both classification and regression problems.

          +We will grow of forest of say \( M \) trees. + +

            +
          1. For \( m=1:M \) we
          2. + +
              +
            • Draw a bootstrap sample of from the training data organized in our \( \boldsymbol{X} \) matrix.
            • +
            • We grow then a random forest tree \( T_m \) based on the bootstrapped data by repeating the steps outlined till we reach the maximum node size is reached
            • + +
                +
              1. we select \( m \le p \) varibales at random from the \( p \) predictors/features
              2. +
              3. pick the best split point among the \( m \) features using either the CART algorithm or the ID3 for classification and create a new node
              4. +
              5. split the node into daughter nodes
              6. +
              + +
            + +
          3. Output then the ensemble of trees \( \{T_m\}_1^{M} \) and make predictions for either a regression type of problem or a classification type of problem.
          4. +
          +









          -

          A simple scikit-learn example

          +

          Random Forests Compared with other Methods on the Cancer Data

          -

          from sklearn.ensemble import RandomForestClassifier
          +
          import matplotlib.pyplot as plt
          +import numpy as np
          +from sklearn.model_selection import  train_test_split 
          +from sklearn.datasets import load_breast_cancer
          +from sklearn.svm import SVC
          +from sklearn.linear_model import LogisticRegression
          +from sklearn.tree import DecisionTreeClassifier
          +
          +# Load the data
          +cancer = load_breast_cancer()
          +
          +X_train, X_test, y_train, y_test = train_test_split(cancer.data,cancer.target,random_state=0)
          +print(X_train.shape)
          +print(X_test.shape)
          +# Logistic Regression
          +logreg = LogisticRegression(solver='lbfgs')
          +logreg.fit(X_train, y_train)
          +print("Test set accuracy with Logistic Regression: {:.2f}".format(logreg.score(X_test,y_test)))
          +# Support vector machine
          +svm = SVC(gamma='auto', C=100)
          +svm.fit(X_train, y_train)
          +print("Test set accuracy with SVM: {:.2f}".format(svm.score(X_test,y_test)))
          +# Decision Trees
          +deep_tree_clf = DecisionTreeClassifier(max_depth=None)
          +deep_tree_clf.fit(X_train, y_train)
          +print("Test set accuracy with Decision Trees: {:.2f}".format(deep_tree_clf.score(X_test,y_test)))
          +#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)
          +# Logistic Regression
          +logreg.fit(X_train_scaled, y_train)
          +print("Test set accuracy Logistic Regression with scaled data: {:.2f}".format(logreg.score(X_test_scaled,y_test)))
          +# Support Vector Machine
          +svm.fit(X_train_scaled, y_train)
          +print("Test set accuracy SVM with scaled data: {:.2f}".format(logreg.score(X_test_scaled,y_test)))
          +# Decision Trees
          +deep_tree_clf.fit(X_train_scaled, y_train)
          +print("Test set accuracy with Decision Trees and scaled data: {:.2f}".format(deep_tree_clf.score(X_test_scaled,y_test)))
          +
          +
          +from sklearn.ensemble import RandomForestClassifier
           from sklearn.preprocessing import LabelEncoder
           from sklearn.model_selection import cross_validate
           # Data set not specificied
          -X = dataset.XXX
          -Y = dataset.YYY
          -#Instantiate the model with 100 trees and entropy as splitting criteria
          -Random_Forest_model = RandomForestClassifier(n_estimators=100,criterion="entropy")
          +#Instantiate the model with 500 trees and entropy as splitting criteria
          +Random_Forest_model = RandomForestClassifier(n_estimators=500,criterion="entropy")
          +Random_Forest_model.fit(X_train_scaled, y_train)
           #Cross validation
          -accuracy = cross_validate(Random_Forest_model,X,Y,cv=10)['test_score']
          +accuracy = cross_validate(Random_Forest_model,X_test_scaled,y_test,cv=10)['test_score']
          +print(accuracy)
          +print("Test set accuracy with Random Forests and scaled data: {:.2f}".format(Random_Forest_model.score(X_test_scaled,y_test)))
          +
          +
          +import scikitplot as skplt
          +y_pred = Random_Forest_model.predict(X_test_scaled)
          +skplt.metrics.plot_confusion_matrix(y_test, y_pred, normalize=True)
          +#<matplotlib.axes._subplots.AxesSubplot object at 0x7fe967d64490>
          +plt.show()
          +y_probas = Random_Forest_model.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()
           











          -

          Then random forests

          +

          Compare Bagging on Trees with Random Forests

          diff --git a/doc/pub/DecisionTrees/html/DecisionTrees.html b/doc/pub/DecisionTrees/html/DecisionTrees.html index c0ce80a23..1456bf337 100644 --- a/doc/pub/DecisionTrees/html/DecisionTrees.html +++ b/doc/pub/DecisionTrees/html/DecisionTrees.html @@ -110,8 +110,7 @@ div { text-align: justify; text-justify: inter-word; } ('Final regressor code', 2, None, '___sec28'), ('Pros and cons of trees, pros', 2, None, '___sec29'), ('Disadvantages', 2, None, '___sec30'), - ('From a Single Tree to Many Trees, that is meet the Jungle of ' - 'Methods', + ('From a Single Tree to Many Trees, Meet the Jungle of Methods', 2, None, '___sec31'), @@ -126,8 +125,14 @@ div { text-align: justify; text-justify: inter-word; } ('Now Bagging', 2, None, '___sec37'), ('Random forests', 2, None, '___sec38'), ('Random Forest Algorithm', 2, None, '___sec39'), - ('A simple scikit-learn example', 2, None, '___sec40'), - ('Then random forests', 2, None, '___sec41'), + ('Random Forests Compared with other Methods on the Cancer Data', + 2, + None, + '___sec40'), + ('Compare Bagging on Trees with Random Forests', + 2, + None, + '___sec41'), ('Feature Importance', 2, None, '___sec42'), ("Boosting, a Bird'e Eye", 2, None, '___sec43'), ('Adaptive boosting: AdaBoost, Basic Algorithm', @@ -185,7 +190,7 @@ MathJax.Hub.Config({

          [2] Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University

          -

          Nov 4, 2019

          +

          Nov 5, 2019












          @@ -1436,7 +1441,7 @@ However, by aggregating many decision trees, using methods like bagging, random











          -

          From a Single Tree to Many Trees, that is meet the Jungle of Methods

          +

          From a Single Tree to Many Trees, Meet the Jungle of Methods

          As stated above and seen in many of the examples discussed here about @@ -1449,7 +1454,7 @@ This leads us to a set of different methods that can combine different machine learning algorithms or just use one of them to construct forests and jungles of trees, homogeneous ones or heterogenous ones. These methods are recognized by different names which we will try to explain here. These are

            -
          1. Votign classifiers
          2. +
          3. Voting classifiers
          4. Bagging and Pasting
          5. Random forests
          6. Boosting methods
          7. @@ -1746,27 +1751,103 @@ this setting. The algorithm described here can be applied to both classification and regression problems.

            +We will grow of forest of say \( M \) trees. + +

              +
            1. For \( m=1:M \) we
            2. + +
                +
              • Draw a bootstrap sample of from the training data organized in our \( \boldsymbol{X} \) matrix.
              • +
              • We grow then a random forest tree \( T_m \) based on the bootstrapped data by repeating the steps outlined till we reach the maximum node size is reached
              • + +
                  +
                1. we select \( m \le p \) varibales at random from the \( p \) predictors/features
                2. +
                3. pick the best split point among the \( m \) features using either the CART algorithm or the ID3 for classification and create a new node
                4. +
                5. split the node into daughter nodes
                6. +
                + +
              + +
            3. Output then the ensemble of trees \( \{T_m\}_1^{M} \) and make predictions for either a regression type of problem or a classification type of problem.
            4. +
            +









            -

            A simple scikit-learn example

            +

            Random Forests Compared with other Methods on the Cancer Data

            -

            from sklearn.ensemble import RandomForestClassifier
            +
            import matplotlib.pyplot as plt
            +import numpy as np
            +from sklearn.model_selection import  train_test_split 
            +from sklearn.datasets import load_breast_cancer
            +from sklearn.svm import SVC
            +from sklearn.linear_model import LogisticRegression
            +from sklearn.tree import DecisionTreeClassifier
            +
            +# Load the data
            +cancer = load_breast_cancer()
            +
            +X_train, X_test, y_train, y_test = train_test_split(cancer.data,cancer.target,random_state=0)
            +print(X_train.shape)
            +print(X_test.shape)
            +# Logistic Regression
            +logreg = LogisticRegression(solver='lbfgs')
            +logreg.fit(X_train, y_train)
            +print("Test set accuracy with Logistic Regression: {:.2f}".format(logreg.score(X_test,y_test)))
            +# Support vector machine
            +svm = SVC(gamma='auto', C=100)
            +svm.fit(X_train, y_train)
            +print("Test set accuracy with SVM: {:.2f}".format(svm.score(X_test,y_test)))
            +# Decision Trees
            +deep_tree_clf = DecisionTreeClassifier(max_depth=None)
            +deep_tree_clf.fit(X_train, y_train)
            +print("Test set accuracy with Decision Trees: {:.2f}".format(deep_tree_clf.score(X_test,y_test)))
            +#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)
            +# Logistic Regression
            +logreg.fit(X_train_scaled, y_train)
            +print("Test set accuracy Logistic Regression with scaled data: {:.2f}".format(logreg.score(X_test_scaled,y_test)))
            +# Support Vector Machine
            +svm.fit(X_train_scaled, y_train)
            +print("Test set accuracy SVM with scaled data: {:.2f}".format(logreg.score(X_test_scaled,y_test)))
            +# Decision Trees
            +deep_tree_clf.fit(X_train_scaled, y_train)
            +print("Test set accuracy with Decision Trees and scaled data: {:.2f}".format(deep_tree_clf.score(X_test_scaled,y_test)))
            +
            +
            +from sklearn.ensemble import RandomForestClassifier
             from sklearn.preprocessing import LabelEncoder
             from sklearn.model_selection import cross_validate
             # Data set not specificied
            -X = dataset.XXX
            -Y = dataset.YYY
            -#Instantiate the model with 100 trees and entropy as splitting criteria
            -Random_Forest_model = RandomForestClassifier(n_estimators=100,criterion="entropy")
            +#Instantiate the model with 500 trees and entropy as splitting criteria
            +Random_Forest_model = RandomForestClassifier(n_estimators=500,criterion="entropy")
            +Random_Forest_model.fit(X_train_scaled, y_train)
             #Cross validation
            -accuracy = cross_validate(Random_Forest_model,X,Y,cv=10)['test_score']
            +accuracy = cross_validate(Random_Forest_model,X_test_scaled,y_test,cv=10)['test_score']
            +print(accuracy)
            +print("Test set accuracy with Random Forests and scaled data: {:.2f}".format(Random_Forest_model.score(X_test_scaled,y_test)))
            +
            +
            +import scikitplot as skplt
            +y_pred = Random_Forest_model.predict(X_test_scaled)
            +skplt.metrics.plot_confusion_matrix(y_test, y_pred, normalize=True)
            +#<matplotlib.axes._subplots.AxesSubplot object at 0x7fe967d64490>
            +plt.show()
            +y_probas = Random_Forest_model.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()
             











            -

            Then random forests

            +

            Compare Bagging on Trees with Random Forests

            diff --git a/doc/pub/DecisionTrees/ipynb/DecisionTrees.ipynb b/doc/pub/DecisionTrees/ipynb/DecisionTrees.ipynb index 7cf60d741..a8f87d819 100644 --- a/doc/pub/DecisionTrees/ipynb/DecisionTrees.ipynb +++ b/doc/pub/DecisionTrees/ipynb/DecisionTrees.ipynb @@ -10,7 +10,7 @@ " \n", "**Morten Hjorth-Jensen**, Department of Physics, University of Oslo and Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University\n", "\n", - "Date: **Nov 4, 2019**\n", + "Date: **Nov 5, 2019**\n", "\n", "Copyright 1999-2019, Morten Hjorth-Jensen. Released under CC Attribution-NonCommercial 4.0 license\n", "\n", @@ -1397,7 +1397,7 @@ "However, by aggregating many decision trees, using methods like bagging, random forests, and boosting, the predictive performance of trees can be substantially improved. \n", "\n", "\n", - "## From a Single Tree to Many Trees, that is meet the Jungle of Methods\n", + "## From a Single Tree to Many Trees, Meet the Jungle of Methods\n", "\n", "As stated above and seen in many of the examples discussed here about\n", "a single decision tree, we often end up overfitting our training\n", @@ -1406,7 +1406,7 @@ "\n", "This leads us to a set of different methods that can combine different\n", "machine learning algorithms or just use one of them to construct forests and jungles of trees, homogeneous ones or heterogenous ones. These methods are recognized by different names which we will try to explain here. These are\n", - "1. Votign classifiers\n", + "1. Voting classifiers\n", "\n", "2. Bagging and Pasting\n", "\n", @@ -1766,7 +1766,24 @@ "## Random Forest Algorithm\n", "The algorithm described here can be applied to both classification and regression problems.\n", "\n", - "## A simple scikit-learn example" + "We will grow of forest of say $M$ trees.\n", + "1. For $m=1:M$ we\n", + "\n", + " * Draw a bootstrap sample of from the training data organized in our $\\boldsymbol{X}$ matrix.\n", + "\n", + " * We grow then a random forest tree $T_m$ based on the bootstrapped data by repeating the steps outlined till we reach the maximum node size is reached\n", + "\n", + "1. we select $m \\le p$ varibales at random from the $p$ predictors/features\n", + "\n", + "2. pick the best split point among the $m$ features using either the CART algorithm or the ID3 for classification and create a new node\n", + "\n", + "3. split the node into daughter nodes\n", + "\n", + "\n", + "\n", + "4. Output then the ensemble of trees $\\{T_m\\}_1^{M}$ and make predictions for either a regression type of problem or a classification type of problem. \n", + "\n", + "## Random Forests Compared with other Methods on the Cancer Data" ] }, { @@ -1777,23 +1794,79 @@ }, "outputs": [], "source": [ + "import matplotlib.pyplot as plt\n", + "import numpy as np\n", + "from sklearn.model_selection import train_test_split \n", + "from sklearn.datasets import load_breast_cancer\n", + "from sklearn.svm import SVC\n", + "from sklearn.linear_model import LogisticRegression\n", + "from sklearn.tree import DecisionTreeClassifier\n", + "\n", + "# Load the data\n", + "cancer = load_breast_cancer()\n", + "\n", + "X_train, X_test, y_train, y_test = train_test_split(cancer.data,cancer.target,random_state=0)\n", + "print(X_train.shape)\n", + "print(X_test.shape)\n", + "# Logistic Regression\n", + "logreg = LogisticRegression(solver='lbfgs')\n", + "logreg.fit(X_train, y_train)\n", + "print(\"Test set accuracy with Logistic Regression: {:.2f}\".format(logreg.score(X_test,y_test)))\n", + "# Support vector machine\n", + "svm = SVC(gamma='auto', C=100)\n", + "svm.fit(X_train, y_train)\n", + "print(\"Test set accuracy with SVM: {:.2f}\".format(svm.score(X_test,y_test)))\n", + "# Decision Trees\n", + "deep_tree_clf = DecisionTreeClassifier(max_depth=None)\n", + "deep_tree_clf.fit(X_train, y_train)\n", + "print(\"Test set accuracy with Decision Trees: {:.2f}\".format(deep_tree_clf.score(X_test,y_test)))\n", + "#now scale the data\n", + "from sklearn.preprocessing import StandardScaler\n", + "scaler = StandardScaler()\n", + "scaler.fit(X_train)\n", + "X_train_scaled = scaler.transform(X_train)\n", + "X_test_scaled = scaler.transform(X_test)\n", + "# Logistic Regression\n", + "logreg.fit(X_train_scaled, y_train)\n", + "print(\"Test set accuracy Logistic Regression with scaled data: {:.2f}\".format(logreg.score(X_test_scaled,y_test)))\n", + "# Support Vector Machine\n", + "svm.fit(X_train_scaled, y_train)\n", + "print(\"Test set accuracy SVM with scaled data: {:.2f}\".format(logreg.score(X_test_scaled,y_test)))\n", + "# Decision Trees\n", + "deep_tree_clf.fit(X_train_scaled, y_train)\n", + "print(\"Test set accuracy with Decision Trees and scaled data: {:.2f}\".format(deep_tree_clf.score(X_test_scaled,y_test)))\n", + "\n", + "\n", "from sklearn.ensemble import RandomForestClassifier\n", "from sklearn.preprocessing import LabelEncoder\n", "from sklearn.model_selection import cross_validate\n", "# Data set not specificied\n", - "X = dataset.XXX\n", - "Y = dataset.YYY\n", - "#Instantiate the model with 100 trees and entropy as splitting criteria\n", - "Random_Forest_model = RandomForestClassifier(n_estimators=100,criterion=\"entropy\")\n", + "#Instantiate the model with 500 trees and entropy as splitting criteria\n", + "Random_Forest_model = RandomForestClassifier(n_estimators=500,criterion=\"entropy\")\n", + "Random_Forest_model.fit(X_train_scaled, y_train)\n", "#Cross validation\n", - "accuracy = cross_validate(Random_Forest_model,X,Y,cv=10)['test_score']" + "accuracy = cross_validate(Random_Forest_model,X_test_scaled,y_test,cv=10)['test_score']\n", + "print(accuracy)\n", + "print(\"Test set accuracy with Random Forests and scaled data: {:.2f}\".format(Random_Forest_model.score(X_test_scaled,y_test)))\n", + "\n", + "\n", + "import scikitplot as skplt\n", + "y_pred = Random_Forest_model.predict(X_test_scaled)\n", + "skplt.metrics.plot_confusion_matrix(y_test, y_pred, normalize=True)\n", + "#\n", + "plt.show()\n", + "y_probas = Random_Forest_model.predict_proba(X_test_scaled)\n", + "skplt.metrics.plot_roc(y_test, y_probas)\n", + "plt.show()\n", + "skplt.metrics.plot_cumulative_gain(y_test, y_probas)\n", + "plt.show()" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ - "## Then random forests" + "## Compare Bagging on Trees with Random Forests" ] }, { @@ -1976,7 +2049,6 @@ "\n", "\n", "\n", - "\n", "## Gradient Boosting, Examples" ] }, diff --git a/doc/pub/DecisionTrees/ipynb/ipynb-DecisionTrees-src.tar.gz b/doc/pub/DecisionTrees/ipynb/ipynb-DecisionTrees-src.tar.gz index 39e57db23..2a0930555 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 b20336b32..6d63acf38 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 dc02103a0..3ce2cee55 100644 --- a/doc/src/DecisionTrees/DecisionTrees.do.txt +++ b/doc/src/DecisionTrees/DecisionTrees.do.txt @@ -1148,7 +1148,7 @@ However, by aggregating many decision trees, using methods like bagging, random !split -===== From a Single Tree to Many Trees, that is meet the Jungle of Methods ===== +===== From a Single Tree to Many Trees, Meet the Jungle of Methods ===== As stated above and seen in many of the examples discussed here about a single decision tree, we often end up overfitting our training @@ -1157,7 +1157,7 @@ the variance of a statistical learning method? This leads us to a set of different methods that can combine different machine learning algorithms or just use one of them to construct forests and jungles of trees, homogeneous ones or heterogenous ones. These methods are recognized by different names which we will try to explain here. These are -o Votign classifiers +o Voting classifiers o Bagging and Pasting o Random forests o Boosting methods @@ -1425,24 +1425,91 @@ this setting. ===== Random Forest Algorithm ===== The algorithm described here can be applied to both classification and regression problems. +We will grow of forest of say $M$ trees. +o For $m=1:M$ we + * Draw a bootstrap sample of from the training data organized in our $\bm{X}$ matrix. + * We grow then a random forest tree $T_m$ based on the bootstrapped data by repeating the steps outlined till we reach the maximum node size is reached + o we select $m \le p$ varibales at random from the $p$ predictors/features + o pick the best split point among the $m$ features using either the CART algorithm or the ID3 for classification and create a new node + o split the node into daughter nodes +o Output then the ensemble of trees $\{T_m\}_1^{M}$ and make predictions for either a regression type of problem or a classification type of problem. + + !split -===== A simple scikit-learn example ===== +===== Random Forests Compared with other Methods on the Cancer Data ===== !bc pycod +import matplotlib.pyplot as plt +import numpy as np +from sklearn.model_selection import train_test_split +from sklearn.datasets import load_breast_cancer +from sklearn.svm import SVC +from sklearn.linear_model import LogisticRegression +from sklearn.tree import DecisionTreeClassifier + +# Load the data +cancer = load_breast_cancer() + +X_train, X_test, y_train, y_test = train_test_split(cancer.data,cancer.target,random_state=0) +print(X_train.shape) +print(X_test.shape) +# Logistic Regression +logreg = LogisticRegression(solver='lbfgs') +logreg.fit(X_train, y_train) +print("Test set accuracy with Logistic Regression: {:.2f}".format(logreg.score(X_test,y_test))) +# Support vector machine +svm = SVC(gamma='auto', C=100) +svm.fit(X_train, y_train) +print("Test set accuracy with SVM: {:.2f}".format(svm.score(X_test,y_test))) +# Decision Trees +deep_tree_clf = DecisionTreeClassifier(max_depth=None) +deep_tree_clf.fit(X_train, y_train) +print("Test set accuracy with Decision Trees: {:.2f}".format(deep_tree_clf.score(X_test,y_test))) +#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) +# Logistic Regression +logreg.fit(X_train_scaled, y_train) +print("Test set accuracy Logistic Regression with scaled data: {:.2f}".format(logreg.score(X_test_scaled,y_test))) +# Support Vector Machine +svm.fit(X_train_scaled, y_train) +print("Test set accuracy SVM with scaled data: {:.2f}".format(logreg.score(X_test_scaled,y_test))) +# Decision Trees +deep_tree_clf.fit(X_train_scaled, y_train) +print("Test set accuracy with Decision Trees and scaled data: {:.2f}".format(deep_tree_clf.score(X_test_scaled,y_test))) + + from sklearn.ensemble import RandomForestClassifier from sklearn.preprocessing import LabelEncoder from sklearn.model_selection import cross_validate # Data set not specificied -X = dataset.XXX -Y = dataset.YYY -#Instantiate the model with 100 trees and entropy as splitting criteria -Random_Forest_model = RandomForestClassifier(n_estimators=100,criterion="entropy") +#Instantiate the model with 500 trees and entropy as splitting criteria +Random_Forest_model = RandomForestClassifier(n_estimators=500,criterion="entropy") +Random_Forest_model.fit(X_train_scaled, y_train) #Cross validation -accuracy = cross_validate(Random_Forest_model,X,Y,cv=10)['test_score'] +accuracy = cross_validate(Random_Forest_model,X_test_scaled,y_test,cv=10)['test_score'] +print(accuracy) +print("Test set accuracy with Random Forests and scaled data: {:.2f}".format(Random_Forest_model.score(X_test_scaled,y_test))) + + +import scikitplot as skplt +y_pred = Random_Forest_model.predict(X_test_scaled) +skplt.metrics.plot_confusion_matrix(y_test, y_pred, normalize=True) +# +plt.show() +y_probas = Random_Forest_model.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() + !ec !split -===== Then random forests ===== +===== Compare Bagging on Trees with Random Forests ===== !bc pycod bag_clf = BaggingClassifier( DecisionTreeClassifier(splitter="random", max_leaf_nodes=16, random_state=42), @@ -1578,7 +1645,6 @@ plt.show() - !split ===== Gradient Boosting, Examples ===== !bc pycod diff --git a/doc/src/DecisionTrees/rfcancer.py b/doc/src/DecisionTrees/rfcancer.py new file mode 100644 index 000000000..3c82c5bd8 --- /dev/null +++ b/doc/src/DecisionTrees/rfcancer.py @@ -0,0 +1,66 @@ +import matplotlib.pyplot as plt +import numpy as np +from sklearn.model_selection import train_test_split +from sklearn.datasets import load_breast_cancer +from sklearn.svm import SVC +from sklearn.linear_model import LogisticRegression +from sklearn.tree import DecisionTreeClassifier + +# Load the data +cancer = load_breast_cancer() + +X_train, X_test, y_train, y_test = train_test_split(cancer.data,cancer.target,random_state=0) +print(X_train.shape) +print(X_test.shape) +# Logistic Regression +logreg = LogisticRegression(solver='lbfgs') +logreg.fit(X_train, y_train) +print("Test set accuracy with Logistic Regression: {:.2f}".format(logreg.score(X_test,y_test))) +# Support vector machine +svm = SVC(gamma='auto', C=100) +svm.fit(X_train, y_train) +print("Test set accuracy with SVM: {:.2f}".format(svm.score(X_test,y_test))) +# Decision Trees +deep_tree_clf = DecisionTreeClassifier(max_depth=None) +deep_tree_clf.fit(X_train, y_train) +print("Test set accuracy with Decision Trees: {:.2f}".format(deep_tree_clf.score(X_test,y_test))) +#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) +# Logistic Regression +logreg.fit(X_train_scaled, y_train) +print("Test set accuracy Logistic Regression with scaled data: {:.2f}".format(logreg.score(X_test_scaled,y_test))) +# Support Vector Machine +svm.fit(X_train_scaled, y_train) +print("Test set accuracy SVM with scaled data: {:.2f}".format(logreg.score(X_test_scaled,y_test))) +# Decision Trees +deep_tree_clf.fit(X_train_scaled, y_train) +print("Test set accuracy with Decision Trees and scaled data: {:.2f}".format(deep_tree_clf.score(X_test_scaled,y_test))) + + +from sklearn.ensemble import RandomForestClassifier +from sklearn.preprocessing import LabelEncoder +from sklearn.model_selection import cross_validate +# Data set not specificied +#Instantiate the model with 100 trees and entropy as splitting criteria +Random_Forest_model = RandomForestClassifier(n_estimators=500,criterion="entropy") +Random_Forest_model.fit(X_train_scaled, y_train) +#Cross validation +accuracy = cross_validate(Random_Forest_model,X_test_scaled,y_test,cv=10)['test_score'] +print(accuracy) +print("Test set accuracy with Random Forests and scaled data: {:.2f}".format(Random_Forest_model.score(X_test_scaled,y_test))) + + +import scikitplot as skplt +y_pred = Random_Forest_model.predict(X_test_scaled) +skplt.metrics.plot_confusion_matrix(y_test, y_pred, normalize=True) +# +plt.show() +y_probas = Random_Forest_model.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()