diff --git a/doc/pub/week44/html/._week44-bs000.html b/doc/pub/week44/html/._week44-bs000.html index 6872062e3..e030ff96d 100644 --- a/doc/pub/week44/html/._week44-bs000.html +++ b/doc/pub/week44/html/._week44-bs000.html @@ -115,67 +115,6 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 2, None, 'the-cart-algorithm-for-regression'), - ('Computing the Gini index', 2, None, 'computing-the-gini-index'), - ('Simple Python Code to read in Data and perform Classification', - 2, - None, - 'simple-python-code-to-read-in-data-and-perform-classification'), - ('Computing the Gini Factor', - 2, - None, - 'computing-the-gini-factor'), - ('Entropy and the ID3 algorithm', - 2, - None, - 'entropy-and-the-id3-algorithm'), - ('Cancer Data again now with Decision Trees and other Methods', - 2, - None, - 'cancer-data-again-now-with-decision-trees-and-other-methods'), - ('Another example, the moons again', - 2, - None, - 'another-example-the-moons-again'), - ('Playing around with regions', - 2, - None, - 'playing-around-with-regions'), - ('Regression trees', 2, None, 'regression-trees'), - ('Final regressor code', 2, None, 'final-regressor-code'), - ('Pros and cons of trees, pros', - 2, - None, - 'pros-and-cons-of-trees-pros'), - ('Disadvantages', 2, None, 'disadvantages'), - ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' - 'Boosting, Meet the Jungle of Methods', - 2, - None, - 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), - ('An Overview of Ensemble Methods', - 2, - None, - 'an-overview-of-ensemble-methods'), - ('Bagging', 2, None, 'bagging'), - ('More bagging', 2, None, 'more-bagging'), - ('Simple Voting Example, head or tail', - 2, - None, - 'simple-voting-example-head-or-tail'), - ('Using the Voting Classifier', - 2, - None, - 'using-the-voting-classifier'), - ('Please, not the moons again! Voting and Bagging', - 2, - None, - 'please-not-the-moons-again-voting-and-bagging'), - ('Bagging Examples', 2, None, 'bagging-examples'), - ('Making your own Bootstrap: Changing the Level of the Decision ' - 'Tree', - 2, - None, - 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why binary splits?', 2, None, 'why-binary-splits'), ('Computing a Tree using the Gini Index', 2, @@ -250,6 +189,70 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 'playing-around-with-regions'), ('Regression trees', 2, None, 'regression-trees'), ('Final regressor code', 2, None, 'final-regressor-code'), + ('Example: Computing the Gini index', + 2, + None, + 'example-computing-the-gini-index'), + ('Simple Python Code to read in Data and perform Classification', + 2, + None, + 'simple-python-code-to-read-in-data-and-perform-classification'), + ('Computing the Gini Factor', + 2, + None, + 'computing-the-gini-factor'), + ('Entropy and the ID3 algorithm', + 2, + None, + 'entropy-and-the-id3-algorithm'), + ('Cancer Data again now with Decision Trees and other Methods', + 2, + None, + 'cancer-data-again-now-with-decision-trees-and-other-methods'), + ('Another example, the moons again', + 2, + None, + 'another-example-the-moons-again'), + ('Playing around with regions', + 2, + None, + 'playing-around-with-regions'), + ('Regression trees', 2, None, 'regression-trees'), + ('Final regressor code', 2, None, 'final-regressor-code'), + ('Pros and cons of trees, pros', + 2, + None, + 'pros-and-cons-of-trees-pros'), + ('Disadvantages', 2, None, 'disadvantages'), + ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' + 'Boosting, Meet the Jungle of Methods', + 2, + None, + 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), + ('An Overview of Ensemble Methods', + 2, + None, + 'an-overview-of-ensemble-methods'), + ('Bagging', 2, None, 'bagging'), + ('More bagging', 2, None, 'more-bagging'), + ('Simple Voting Example, head or tail', + 2, + None, + 'simple-voting-example-head-or-tail'), + ('Using the Voting Classifier', + 2, + None, + 'using-the-voting-classifier'), + ('Please, not the moons again! Voting and Bagging', + 2, + None, + 'please-not-the-moons-again-voting-and-bagging'), + ('Bagging Examples', 2, None, 'bagging-examples'), + ('Making your own Bootstrap: Changing the Level of the Decision ' + 'Tree', + 2, + None, + 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why Voting?', 2, None, 'why-voting'), ('Tossing coins', 2, None, 'tossing-coins'), ('Standard imports first', 2, None, 'standard-imports-first'), @@ -327,55 +330,55 @@ MathJax.Hub.Config({
  • Growing a classification tree
  • Classification tree, how to split nodes
  • Visualizing the Tree, Classification
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • -
  • Pros and cons of trees, pros
  • -
  • Disadvantages
  • -
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • -
  • An Overview of Ensemble Methods
  • -
  • Bagging
  • -
  • More bagging
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Why binary splits?
  • +
  • Computing a Tree using the Gini Index
  • +
  • The Table
  • +
  • Computing the various Gini Indices
  • +
  • Computing the various Gini Indices, Hours slept
  • +
  • Computing the various Gini Indices, Hours studied
  • +
  • A possible code using Scikit-Learn
  • +
  • Visualizing Trees, More examples
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Example: Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Pros and cons of trees, pros
  • +
  • Disadvantages
  • +
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • +
  • An Overview of Ensemble Methods
  • +
  • Bagging
  • +
  • More bagging
  • Simple Voting Example, head or tail
  • Using the Voting Classifier
  • -
  • Please, not the moons again! Voting and Bagging
  • -
  • Bagging Examples
  • -
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • -
  • Why binary splits?
  • -
  • Computing a Tree using the Gini Index
  • -
  • The Table
  • -
  • Computing the various Gini Indices
  • -
  • Computing the various Gini Indices, Hours slept
  • -
  • Computing the various Gini Indices, Hours studied
  • -
  • A possible code using Scikit-Learn
  • -
  • Visualizing Trees, More examples
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • +
  • Please, not the moons again! Voting and Bagging
  • +
  • Bagging Examples
  • +
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • Why Voting?
  • Tossing coins
  • Standard imports first
  • @@ -415,7 +418,7 @@ MathJax.Hub.Config({
    -

    Oct 30, 2022

    +

    Nov 1, 2022


    diff --git a/doc/pub/week44/html/._week44-bs001.html b/doc/pub/week44/html/._week44-bs001.html index 099b77cb5..7568807d3 100644 --- a/doc/pub/week44/html/._week44-bs001.html +++ b/doc/pub/week44/html/._week44-bs001.html @@ -115,67 +115,6 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 2, None, 'the-cart-algorithm-for-regression'), - ('Computing the Gini index', 2, None, 'computing-the-gini-index'), - ('Simple Python Code to read in Data and perform Classification', - 2, - None, - 'simple-python-code-to-read-in-data-and-perform-classification'), - ('Computing the Gini Factor', - 2, - None, - 'computing-the-gini-factor'), - ('Entropy and the ID3 algorithm', - 2, - None, - 'entropy-and-the-id3-algorithm'), - ('Cancer Data again now with Decision Trees and other Methods', - 2, - None, - 'cancer-data-again-now-with-decision-trees-and-other-methods'), - ('Another example, the moons again', - 2, - None, - 'another-example-the-moons-again'), - ('Playing around with regions', - 2, - None, - 'playing-around-with-regions'), - ('Regression trees', 2, None, 'regression-trees'), - ('Final regressor code', 2, None, 'final-regressor-code'), - ('Pros and cons of trees, pros', - 2, - None, - 'pros-and-cons-of-trees-pros'), - ('Disadvantages', 2, None, 'disadvantages'), - ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' - 'Boosting, Meet the Jungle of Methods', - 2, - None, - 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), - ('An Overview of Ensemble Methods', - 2, - None, - 'an-overview-of-ensemble-methods'), - ('Bagging', 2, None, 'bagging'), - ('More bagging', 2, None, 'more-bagging'), - ('Simple Voting Example, head or tail', - 2, - None, - 'simple-voting-example-head-or-tail'), - ('Using the Voting Classifier', - 2, - None, - 'using-the-voting-classifier'), - ('Please, not the moons again! Voting and Bagging', - 2, - None, - 'please-not-the-moons-again-voting-and-bagging'), - ('Bagging Examples', 2, None, 'bagging-examples'), - ('Making your own Bootstrap: Changing the Level of the Decision ' - 'Tree', - 2, - None, - 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why binary splits?', 2, None, 'why-binary-splits'), ('Computing a Tree using the Gini Index', 2, @@ -250,6 +189,70 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 'playing-around-with-regions'), ('Regression trees', 2, None, 'regression-trees'), ('Final regressor code', 2, None, 'final-regressor-code'), + ('Example: Computing the Gini index', + 2, + None, + 'example-computing-the-gini-index'), + ('Simple Python Code to read in Data and perform Classification', + 2, + None, + 'simple-python-code-to-read-in-data-and-perform-classification'), + ('Computing the Gini Factor', + 2, + None, + 'computing-the-gini-factor'), + ('Entropy and the ID3 algorithm', + 2, + None, + 'entropy-and-the-id3-algorithm'), + ('Cancer Data again now with Decision Trees and other Methods', + 2, + None, + 'cancer-data-again-now-with-decision-trees-and-other-methods'), + ('Another example, the moons again', + 2, + None, + 'another-example-the-moons-again'), + ('Playing around with regions', + 2, + None, + 'playing-around-with-regions'), + ('Regression trees', 2, None, 'regression-trees'), + ('Final regressor code', 2, None, 'final-regressor-code'), + ('Pros and cons of trees, pros', + 2, + None, + 'pros-and-cons-of-trees-pros'), + ('Disadvantages', 2, None, 'disadvantages'), + ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' + 'Boosting, Meet the Jungle of Methods', + 2, + None, + 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), + ('An Overview of Ensemble Methods', + 2, + None, + 'an-overview-of-ensemble-methods'), + ('Bagging', 2, None, 'bagging'), + ('More bagging', 2, None, 'more-bagging'), + ('Simple Voting Example, head or tail', + 2, + None, + 'simple-voting-example-head-or-tail'), + ('Using the Voting Classifier', + 2, + None, + 'using-the-voting-classifier'), + ('Please, not the moons again! Voting and Bagging', + 2, + None, + 'please-not-the-moons-again-voting-and-bagging'), + ('Bagging Examples', 2, None, 'bagging-examples'), + ('Making your own Bootstrap: Changing the Level of the Decision ' + 'Tree', + 2, + None, + 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why Voting?', 2, None, 'why-voting'), ('Tossing coins', 2, None, 'tossing-coins'), ('Standard imports first', 2, None, 'standard-imports-first'), @@ -327,55 +330,55 @@ MathJax.Hub.Config({
  • Growing a classification tree
  • Classification tree, how to split nodes
  • Visualizing the Tree, Classification
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • -
  • Pros and cons of trees, pros
  • -
  • Disadvantages
  • -
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • -
  • An Overview of Ensemble Methods
  • -
  • Bagging
  • -
  • More bagging
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Why binary splits?
  • +
  • Computing a Tree using the Gini Index
  • +
  • The Table
  • +
  • Computing the various Gini Indices
  • +
  • Computing the various Gini Indices, Hours slept
  • +
  • Computing the various Gini Indices, Hours studied
  • +
  • A possible code using Scikit-Learn
  • +
  • Visualizing Trees, More examples
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Example: Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Pros and cons of trees, pros
  • +
  • Disadvantages
  • +
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • +
  • An Overview of Ensemble Methods
  • +
  • Bagging
  • +
  • More bagging
  • Simple Voting Example, head or tail
  • Using the Voting Classifier
  • -
  • Please, not the moons again! Voting and Bagging
  • -
  • Bagging Examples
  • -
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • -
  • Why binary splits?
  • -
  • Computing a Tree using the Gini Index
  • -
  • The Table
  • -
  • Computing the various Gini Indices
  • -
  • Computing the various Gini Indices, Hours slept
  • -
  • Computing the various Gini Indices, Hours studied
  • -
  • A possible code using Scikit-Learn
  • -
  • Visualizing Trees, More examples
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • +
  • Please, not the moons again! Voting and Bagging
  • +
  • Bagging Examples
  • +
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • Why Voting?
  • Tossing coins
  • Standard imports first
  • diff --git a/doc/pub/week44/html/._week44-bs002.html b/doc/pub/week44/html/._week44-bs002.html index c26f3978b..2a846edd4 100644 --- a/doc/pub/week44/html/._week44-bs002.html +++ b/doc/pub/week44/html/._week44-bs002.html @@ -115,67 +115,6 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 2, None, 'the-cart-algorithm-for-regression'), - ('Computing the Gini index', 2, None, 'computing-the-gini-index'), - ('Simple Python Code to read in Data and perform Classification', - 2, - None, - 'simple-python-code-to-read-in-data-and-perform-classification'), - ('Computing the Gini Factor', - 2, - None, - 'computing-the-gini-factor'), - ('Entropy and the ID3 algorithm', - 2, - None, - 'entropy-and-the-id3-algorithm'), - ('Cancer Data again now with Decision Trees and other Methods', - 2, - None, - 'cancer-data-again-now-with-decision-trees-and-other-methods'), - ('Another example, the moons again', - 2, - None, - 'another-example-the-moons-again'), - ('Playing around with regions', - 2, - None, - 'playing-around-with-regions'), - ('Regression trees', 2, None, 'regression-trees'), - ('Final regressor code', 2, None, 'final-regressor-code'), - ('Pros and cons of trees, pros', - 2, - None, - 'pros-and-cons-of-trees-pros'), - ('Disadvantages', 2, None, 'disadvantages'), - ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' - 'Boosting, Meet the Jungle of Methods', - 2, - None, - 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), - ('An Overview of Ensemble Methods', - 2, - None, - 'an-overview-of-ensemble-methods'), - ('Bagging', 2, None, 'bagging'), - ('More bagging', 2, None, 'more-bagging'), - ('Simple Voting Example, head or tail', - 2, - None, - 'simple-voting-example-head-or-tail'), - ('Using the Voting Classifier', - 2, - None, - 'using-the-voting-classifier'), - ('Please, not the moons again! Voting and Bagging', - 2, - None, - 'please-not-the-moons-again-voting-and-bagging'), - ('Bagging Examples', 2, None, 'bagging-examples'), - ('Making your own Bootstrap: Changing the Level of the Decision ' - 'Tree', - 2, - None, - 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why binary splits?', 2, None, 'why-binary-splits'), ('Computing a Tree using the Gini Index', 2, @@ -250,6 +189,70 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 'playing-around-with-regions'), ('Regression trees', 2, None, 'regression-trees'), ('Final regressor code', 2, None, 'final-regressor-code'), + ('Example: Computing the Gini index', + 2, + None, + 'example-computing-the-gini-index'), + ('Simple Python Code to read in Data and perform Classification', + 2, + None, + 'simple-python-code-to-read-in-data-and-perform-classification'), + ('Computing the Gini Factor', + 2, + None, + 'computing-the-gini-factor'), + ('Entropy and the ID3 algorithm', + 2, + None, + 'entropy-and-the-id3-algorithm'), + ('Cancer Data again now with Decision Trees and other Methods', + 2, + None, + 'cancer-data-again-now-with-decision-trees-and-other-methods'), + ('Another example, the moons again', + 2, + None, + 'another-example-the-moons-again'), + ('Playing around with regions', + 2, + None, + 'playing-around-with-regions'), + ('Regression trees', 2, None, 'regression-trees'), + ('Final regressor code', 2, None, 'final-regressor-code'), + ('Pros and cons of trees, pros', + 2, + None, + 'pros-and-cons-of-trees-pros'), + ('Disadvantages', 2, None, 'disadvantages'), + ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' + 'Boosting, Meet the Jungle of Methods', + 2, + None, + 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), + ('An Overview of Ensemble Methods', + 2, + None, + 'an-overview-of-ensemble-methods'), + ('Bagging', 2, None, 'bagging'), + ('More bagging', 2, None, 'more-bagging'), + ('Simple Voting Example, head or tail', + 2, + None, + 'simple-voting-example-head-or-tail'), + ('Using the Voting Classifier', + 2, + None, + 'using-the-voting-classifier'), + ('Please, not the moons again! Voting and Bagging', + 2, + None, + 'please-not-the-moons-again-voting-and-bagging'), + ('Bagging Examples', 2, None, 'bagging-examples'), + ('Making your own Bootstrap: Changing the Level of the Decision ' + 'Tree', + 2, + None, + 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why Voting?', 2, None, 'why-voting'), ('Tossing coins', 2, None, 'tossing-coins'), ('Standard imports first', 2, None, 'standard-imports-first'), @@ -327,55 +330,55 @@ MathJax.Hub.Config({
  • Growing a classification tree
  • Classification tree, how to split nodes
  • Visualizing the Tree, Classification
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • -
  • Pros and cons of trees, pros
  • -
  • Disadvantages
  • -
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • -
  • An Overview of Ensemble Methods
  • -
  • Bagging
  • -
  • More bagging
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Why binary splits?
  • +
  • Computing a Tree using the Gini Index
  • +
  • The Table
  • +
  • Computing the various Gini Indices
  • +
  • Computing the various Gini Indices, Hours slept
  • +
  • Computing the various Gini Indices, Hours studied
  • +
  • A possible code using Scikit-Learn
  • +
  • Visualizing Trees, More examples
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Example: Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Pros and cons of trees, pros
  • +
  • Disadvantages
  • +
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • +
  • An Overview of Ensemble Methods
  • +
  • Bagging
  • +
  • More bagging
  • Simple Voting Example, head or tail
  • Using the Voting Classifier
  • -
  • Please, not the moons again! Voting and Bagging
  • -
  • Bagging Examples
  • -
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • -
  • Why binary splits?
  • -
  • Computing a Tree using the Gini Index
  • -
  • The Table
  • -
  • Computing the various Gini Indices
  • -
  • Computing the various Gini Indices, Hours slept
  • -
  • Computing the various Gini Indices, Hours studied
  • -
  • A possible code using Scikit-Learn
  • -
  • Visualizing Trees, More examples
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • +
  • Please, not the moons again! Voting and Bagging
  • +
  • Bagging Examples
  • +
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • Why Voting?
  • Tossing coins
  • Standard imports first
  • diff --git a/doc/pub/week44/html/._week44-bs003.html b/doc/pub/week44/html/._week44-bs003.html index 54fa6c145..6667e526b 100644 --- a/doc/pub/week44/html/._week44-bs003.html +++ b/doc/pub/week44/html/._week44-bs003.html @@ -115,67 +115,6 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 2, None, 'the-cart-algorithm-for-regression'), - ('Computing the Gini index', 2, None, 'computing-the-gini-index'), - ('Simple Python Code to read in Data and perform Classification', - 2, - None, - 'simple-python-code-to-read-in-data-and-perform-classification'), - ('Computing the Gini Factor', - 2, - None, - 'computing-the-gini-factor'), - ('Entropy and the ID3 algorithm', - 2, - None, - 'entropy-and-the-id3-algorithm'), - ('Cancer Data again now with Decision Trees and other Methods', - 2, - None, - 'cancer-data-again-now-with-decision-trees-and-other-methods'), - ('Another example, the moons again', - 2, - None, - 'another-example-the-moons-again'), - ('Playing around with regions', - 2, - None, - 'playing-around-with-regions'), - ('Regression trees', 2, None, 'regression-trees'), - ('Final regressor code', 2, None, 'final-regressor-code'), - ('Pros and cons of trees, pros', - 2, - None, - 'pros-and-cons-of-trees-pros'), - ('Disadvantages', 2, None, 'disadvantages'), - ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' - 'Boosting, Meet the Jungle of Methods', - 2, - None, - 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), - ('An Overview of Ensemble Methods', - 2, - None, - 'an-overview-of-ensemble-methods'), - ('Bagging', 2, None, 'bagging'), - ('More bagging', 2, None, 'more-bagging'), - ('Simple Voting Example, head or tail', - 2, - None, - 'simple-voting-example-head-or-tail'), - ('Using the Voting Classifier', - 2, - None, - 'using-the-voting-classifier'), - ('Please, not the moons again! Voting and Bagging', - 2, - None, - 'please-not-the-moons-again-voting-and-bagging'), - ('Bagging Examples', 2, None, 'bagging-examples'), - ('Making your own Bootstrap: Changing the Level of the Decision ' - 'Tree', - 2, - None, - 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why binary splits?', 2, None, 'why-binary-splits'), ('Computing a Tree using the Gini Index', 2, @@ -250,6 +189,70 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 'playing-around-with-regions'), ('Regression trees', 2, None, 'regression-trees'), ('Final regressor code', 2, None, 'final-regressor-code'), + ('Example: Computing the Gini index', + 2, + None, + 'example-computing-the-gini-index'), + ('Simple Python Code to read in Data and perform Classification', + 2, + None, + 'simple-python-code-to-read-in-data-and-perform-classification'), + ('Computing the Gini Factor', + 2, + None, + 'computing-the-gini-factor'), + ('Entropy and the ID3 algorithm', + 2, + None, + 'entropy-and-the-id3-algorithm'), + ('Cancer Data again now with Decision Trees and other Methods', + 2, + None, + 'cancer-data-again-now-with-decision-trees-and-other-methods'), + ('Another example, the moons again', + 2, + None, + 'another-example-the-moons-again'), + ('Playing around with regions', + 2, + None, + 'playing-around-with-regions'), + ('Regression trees', 2, None, 'regression-trees'), + ('Final regressor code', 2, None, 'final-regressor-code'), + ('Pros and cons of trees, pros', + 2, + None, + 'pros-and-cons-of-trees-pros'), + ('Disadvantages', 2, None, 'disadvantages'), + ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' + 'Boosting, Meet the Jungle of Methods', + 2, + None, + 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), + ('An Overview of Ensemble Methods', + 2, + None, + 'an-overview-of-ensemble-methods'), + ('Bagging', 2, None, 'bagging'), + ('More bagging', 2, None, 'more-bagging'), + ('Simple Voting Example, head or tail', + 2, + None, + 'simple-voting-example-head-or-tail'), + ('Using the Voting Classifier', + 2, + None, + 'using-the-voting-classifier'), + ('Please, not the moons again! Voting and Bagging', + 2, + None, + 'please-not-the-moons-again-voting-and-bagging'), + ('Bagging Examples', 2, None, 'bagging-examples'), + ('Making your own Bootstrap: Changing the Level of the Decision ' + 'Tree', + 2, + None, + 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why Voting?', 2, None, 'why-voting'), ('Tossing coins', 2, None, 'tossing-coins'), ('Standard imports first', 2, None, 'standard-imports-first'), @@ -327,55 +330,55 @@ MathJax.Hub.Config({
  • Growing a classification tree
  • Classification tree, how to split nodes
  • Visualizing the Tree, Classification
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • -
  • Pros and cons of trees, pros
  • -
  • Disadvantages
  • -
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • -
  • An Overview of Ensemble Methods
  • -
  • Bagging
  • -
  • More bagging
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Why binary splits?
  • +
  • Computing a Tree using the Gini Index
  • +
  • The Table
  • +
  • Computing the various Gini Indices
  • +
  • Computing the various Gini Indices, Hours slept
  • +
  • Computing the various Gini Indices, Hours studied
  • +
  • A possible code using Scikit-Learn
  • +
  • Visualizing Trees, More examples
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Example: Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Pros and cons of trees, pros
  • +
  • Disadvantages
  • +
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • +
  • An Overview of Ensemble Methods
  • +
  • Bagging
  • +
  • More bagging
  • Simple Voting Example, head or tail
  • Using the Voting Classifier
  • -
  • Please, not the moons again! Voting and Bagging
  • -
  • Bagging Examples
  • -
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • -
  • Why binary splits?
  • -
  • Computing a Tree using the Gini Index
  • -
  • The Table
  • -
  • Computing the various Gini Indices
  • -
  • Computing the various Gini Indices, Hours slept
  • -
  • Computing the various Gini Indices, Hours studied
  • -
  • A possible code using Scikit-Learn
  • -
  • Visualizing Trees, More examples
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • +
  • Please, not the moons again! Voting and Bagging
  • +
  • Bagging Examples
  • +
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • Why Voting?
  • Tossing coins
  • Standard imports first
  • diff --git a/doc/pub/week44/html/._week44-bs004.html b/doc/pub/week44/html/._week44-bs004.html index 845bbdc9c..728a8f799 100644 --- a/doc/pub/week44/html/._week44-bs004.html +++ b/doc/pub/week44/html/._week44-bs004.html @@ -115,67 +115,6 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 2, None, 'the-cart-algorithm-for-regression'), - ('Computing the Gini index', 2, None, 'computing-the-gini-index'), - ('Simple Python Code to read in Data and perform Classification', - 2, - None, - 'simple-python-code-to-read-in-data-and-perform-classification'), - ('Computing the Gini Factor', - 2, - None, - 'computing-the-gini-factor'), - ('Entropy and the ID3 algorithm', - 2, - None, - 'entropy-and-the-id3-algorithm'), - ('Cancer Data again now with Decision Trees and other Methods', - 2, - None, - 'cancer-data-again-now-with-decision-trees-and-other-methods'), - ('Another example, the moons again', - 2, - None, - 'another-example-the-moons-again'), - ('Playing around with regions', - 2, - None, - 'playing-around-with-regions'), - ('Regression trees', 2, None, 'regression-trees'), - ('Final regressor code', 2, None, 'final-regressor-code'), - ('Pros and cons of trees, pros', - 2, - None, - 'pros-and-cons-of-trees-pros'), - ('Disadvantages', 2, None, 'disadvantages'), - ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' - 'Boosting, Meet the Jungle of Methods', - 2, - None, - 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), - ('An Overview of Ensemble Methods', - 2, - None, - 'an-overview-of-ensemble-methods'), - ('Bagging', 2, None, 'bagging'), - ('More bagging', 2, None, 'more-bagging'), - ('Simple Voting Example, head or tail', - 2, - None, - 'simple-voting-example-head-or-tail'), - ('Using the Voting Classifier', - 2, - None, - 'using-the-voting-classifier'), - ('Please, not the moons again! Voting and Bagging', - 2, - None, - 'please-not-the-moons-again-voting-and-bagging'), - ('Bagging Examples', 2, None, 'bagging-examples'), - ('Making your own Bootstrap: Changing the Level of the Decision ' - 'Tree', - 2, - None, - 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why binary splits?', 2, None, 'why-binary-splits'), ('Computing a Tree using the Gini Index', 2, @@ -250,6 +189,70 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 'playing-around-with-regions'), ('Regression trees', 2, None, 'regression-trees'), ('Final regressor code', 2, None, 'final-regressor-code'), + ('Example: Computing the Gini index', + 2, + None, + 'example-computing-the-gini-index'), + ('Simple Python Code to read in Data and perform Classification', + 2, + None, + 'simple-python-code-to-read-in-data-and-perform-classification'), + ('Computing the Gini Factor', + 2, + None, + 'computing-the-gini-factor'), + ('Entropy and the ID3 algorithm', + 2, + None, + 'entropy-and-the-id3-algorithm'), + ('Cancer Data again now with Decision Trees and other Methods', + 2, + None, + 'cancer-data-again-now-with-decision-trees-and-other-methods'), + ('Another example, the moons again', + 2, + None, + 'another-example-the-moons-again'), + ('Playing around with regions', + 2, + None, + 'playing-around-with-regions'), + ('Regression trees', 2, None, 'regression-trees'), + ('Final regressor code', 2, None, 'final-regressor-code'), + ('Pros and cons of trees, pros', + 2, + None, + 'pros-and-cons-of-trees-pros'), + ('Disadvantages', 2, None, 'disadvantages'), + ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' + 'Boosting, Meet the Jungle of Methods', + 2, + None, + 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), + ('An Overview of Ensemble Methods', + 2, + None, + 'an-overview-of-ensemble-methods'), + ('Bagging', 2, None, 'bagging'), + ('More bagging', 2, None, 'more-bagging'), + ('Simple Voting Example, head or tail', + 2, + None, + 'simple-voting-example-head-or-tail'), + ('Using the Voting Classifier', + 2, + None, + 'using-the-voting-classifier'), + ('Please, not the moons again! Voting and Bagging', + 2, + None, + 'please-not-the-moons-again-voting-and-bagging'), + ('Bagging Examples', 2, None, 'bagging-examples'), + ('Making your own Bootstrap: Changing the Level of the Decision ' + 'Tree', + 2, + None, + 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why Voting?', 2, None, 'why-voting'), ('Tossing coins', 2, None, 'tossing-coins'), ('Standard imports first', 2, None, 'standard-imports-first'), @@ -327,55 +330,55 @@ MathJax.Hub.Config({
  • Growing a classification tree
  • Classification tree, how to split nodes
  • Visualizing the Tree, Classification
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • -
  • Pros and cons of trees, pros
  • -
  • Disadvantages
  • -
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • -
  • An Overview of Ensemble Methods
  • -
  • Bagging
  • -
  • More bagging
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Why binary splits?
  • +
  • Computing a Tree using the Gini Index
  • +
  • The Table
  • +
  • Computing the various Gini Indices
  • +
  • Computing the various Gini Indices, Hours slept
  • +
  • Computing the various Gini Indices, Hours studied
  • +
  • A possible code using Scikit-Learn
  • +
  • Visualizing Trees, More examples
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Example: Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Pros and cons of trees, pros
  • +
  • Disadvantages
  • +
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • +
  • An Overview of Ensemble Methods
  • +
  • Bagging
  • +
  • More bagging
  • Simple Voting Example, head or tail
  • Using the Voting Classifier
  • -
  • Please, not the moons again! Voting and Bagging
  • -
  • Bagging Examples
  • -
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • -
  • Why binary splits?
  • -
  • Computing a Tree using the Gini Index
  • -
  • The Table
  • -
  • Computing the various Gini Indices
  • -
  • Computing the various Gini Indices, Hours slept
  • -
  • Computing the various Gini Indices, Hours studied
  • -
  • A possible code using Scikit-Learn
  • -
  • Visualizing Trees, More examples
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • +
  • Please, not the moons again! Voting and Bagging
  • +
  • Bagging Examples
  • +
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • Why Voting?
  • Tossing coins
  • Standard imports first
  • diff --git a/doc/pub/week44/html/._week44-bs005.html b/doc/pub/week44/html/._week44-bs005.html index 575907e94..098df7702 100644 --- a/doc/pub/week44/html/._week44-bs005.html +++ b/doc/pub/week44/html/._week44-bs005.html @@ -115,67 +115,6 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 2, None, 'the-cart-algorithm-for-regression'), - ('Computing the Gini index', 2, None, 'computing-the-gini-index'), - ('Simple Python Code to read in Data and perform Classification', - 2, - None, - 'simple-python-code-to-read-in-data-and-perform-classification'), - ('Computing the Gini Factor', - 2, - None, - 'computing-the-gini-factor'), - ('Entropy and the ID3 algorithm', - 2, - None, - 'entropy-and-the-id3-algorithm'), - ('Cancer Data again now with Decision Trees and other Methods', - 2, - None, - 'cancer-data-again-now-with-decision-trees-and-other-methods'), - ('Another example, the moons again', - 2, - None, - 'another-example-the-moons-again'), - ('Playing around with regions', - 2, - None, - 'playing-around-with-regions'), - ('Regression trees', 2, None, 'regression-trees'), - ('Final regressor code', 2, None, 'final-regressor-code'), - ('Pros and cons of trees, pros', - 2, - None, - 'pros-and-cons-of-trees-pros'), - ('Disadvantages', 2, None, 'disadvantages'), - ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' - 'Boosting, Meet the Jungle of Methods', - 2, - None, - 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), - ('An Overview of Ensemble Methods', - 2, - None, - 'an-overview-of-ensemble-methods'), - ('Bagging', 2, None, 'bagging'), - ('More bagging', 2, None, 'more-bagging'), - ('Simple Voting Example, head or tail', - 2, - None, - 'simple-voting-example-head-or-tail'), - ('Using the Voting Classifier', - 2, - None, - 'using-the-voting-classifier'), - ('Please, not the moons again! Voting and Bagging', - 2, - None, - 'please-not-the-moons-again-voting-and-bagging'), - ('Bagging Examples', 2, None, 'bagging-examples'), - ('Making your own Bootstrap: Changing the Level of the Decision ' - 'Tree', - 2, - None, - 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why binary splits?', 2, None, 'why-binary-splits'), ('Computing a Tree using the Gini Index', 2, @@ -250,6 +189,70 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 'playing-around-with-regions'), ('Regression trees', 2, None, 'regression-trees'), ('Final regressor code', 2, None, 'final-regressor-code'), + ('Example: Computing the Gini index', + 2, + None, + 'example-computing-the-gini-index'), + ('Simple Python Code to read in Data and perform Classification', + 2, + None, + 'simple-python-code-to-read-in-data-and-perform-classification'), + ('Computing the Gini Factor', + 2, + None, + 'computing-the-gini-factor'), + ('Entropy and the ID3 algorithm', + 2, + None, + 'entropy-and-the-id3-algorithm'), + ('Cancer Data again now with Decision Trees and other Methods', + 2, + None, + 'cancer-data-again-now-with-decision-trees-and-other-methods'), + ('Another example, the moons again', + 2, + None, + 'another-example-the-moons-again'), + ('Playing around with regions', + 2, + None, + 'playing-around-with-regions'), + ('Regression trees', 2, None, 'regression-trees'), + ('Final regressor code', 2, None, 'final-regressor-code'), + ('Pros and cons of trees, pros', + 2, + None, + 'pros-and-cons-of-trees-pros'), + ('Disadvantages', 2, None, 'disadvantages'), + ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' + 'Boosting, Meet the Jungle of Methods', + 2, + None, + 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), + ('An Overview of Ensemble Methods', + 2, + None, + 'an-overview-of-ensemble-methods'), + ('Bagging', 2, None, 'bagging'), + ('More bagging', 2, None, 'more-bagging'), + ('Simple Voting Example, head or tail', + 2, + None, + 'simple-voting-example-head-or-tail'), + ('Using the Voting Classifier', + 2, + None, + 'using-the-voting-classifier'), + ('Please, not the moons again! Voting and Bagging', + 2, + None, + 'please-not-the-moons-again-voting-and-bagging'), + ('Bagging Examples', 2, None, 'bagging-examples'), + ('Making your own Bootstrap: Changing the Level of the Decision ' + 'Tree', + 2, + None, + 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why Voting?', 2, None, 'why-voting'), ('Tossing coins', 2, None, 'tossing-coins'), ('Standard imports first', 2, None, 'standard-imports-first'), @@ -327,55 +330,55 @@ MathJax.Hub.Config({
  • Growing a classification tree
  • Classification tree, how to split nodes
  • Visualizing the Tree, Classification
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • -
  • Pros and cons of trees, pros
  • -
  • Disadvantages
  • -
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • -
  • An Overview of Ensemble Methods
  • -
  • Bagging
  • -
  • More bagging
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Why binary splits?
  • +
  • Computing a Tree using the Gini Index
  • +
  • The Table
  • +
  • Computing the various Gini Indices
  • +
  • Computing the various Gini Indices, Hours slept
  • +
  • Computing the various Gini Indices, Hours studied
  • +
  • A possible code using Scikit-Learn
  • +
  • Visualizing Trees, More examples
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Example: Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Pros and cons of trees, pros
  • +
  • Disadvantages
  • +
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • +
  • An Overview of Ensemble Methods
  • +
  • Bagging
  • +
  • More bagging
  • Simple Voting Example, head or tail
  • Using the Voting Classifier
  • -
  • Please, not the moons again! Voting and Bagging
  • -
  • Bagging Examples
  • -
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • -
  • Why binary splits?
  • -
  • Computing a Tree using the Gini Index
  • -
  • The Table
  • -
  • Computing the various Gini Indices
  • -
  • Computing the various Gini Indices, Hours slept
  • -
  • Computing the various Gini Indices, Hours studied
  • -
  • A possible code using Scikit-Learn
  • -
  • Visualizing Trees, More examples
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • +
  • Please, not the moons again! Voting and Bagging
  • +
  • Bagging Examples
  • +
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • Why Voting?
  • Tossing coins
  • Standard imports first
  • diff --git a/doc/pub/week44/html/._week44-bs006.html b/doc/pub/week44/html/._week44-bs006.html index 3ea013914..17be2c365 100644 --- a/doc/pub/week44/html/._week44-bs006.html +++ b/doc/pub/week44/html/._week44-bs006.html @@ -115,67 +115,6 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 2, None, 'the-cart-algorithm-for-regression'), - ('Computing the Gini index', 2, None, 'computing-the-gini-index'), - ('Simple Python Code to read in Data and perform Classification', - 2, - None, - 'simple-python-code-to-read-in-data-and-perform-classification'), - ('Computing the Gini Factor', - 2, - None, - 'computing-the-gini-factor'), - ('Entropy and the ID3 algorithm', - 2, - None, - 'entropy-and-the-id3-algorithm'), - ('Cancer Data again now with Decision Trees and other Methods', - 2, - None, - 'cancer-data-again-now-with-decision-trees-and-other-methods'), - ('Another example, the moons again', - 2, - None, - 'another-example-the-moons-again'), - ('Playing around with regions', - 2, - None, - 'playing-around-with-regions'), - ('Regression trees', 2, None, 'regression-trees'), - ('Final regressor code', 2, None, 'final-regressor-code'), - ('Pros and cons of trees, pros', - 2, - None, - 'pros-and-cons-of-trees-pros'), - ('Disadvantages', 2, None, 'disadvantages'), - ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' - 'Boosting, Meet the Jungle of Methods', - 2, - None, - 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), - ('An Overview of Ensemble Methods', - 2, - None, - 'an-overview-of-ensemble-methods'), - ('Bagging', 2, None, 'bagging'), - ('More bagging', 2, None, 'more-bagging'), - ('Simple Voting Example, head or tail', - 2, - None, - 'simple-voting-example-head-or-tail'), - ('Using the Voting Classifier', - 2, - None, - 'using-the-voting-classifier'), - ('Please, not the moons again! Voting and Bagging', - 2, - None, - 'please-not-the-moons-again-voting-and-bagging'), - ('Bagging Examples', 2, None, 'bagging-examples'), - ('Making your own Bootstrap: Changing the Level of the Decision ' - 'Tree', - 2, - None, - 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why binary splits?', 2, None, 'why-binary-splits'), ('Computing a Tree using the Gini Index', 2, @@ -250,6 +189,70 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 'playing-around-with-regions'), ('Regression trees', 2, None, 'regression-trees'), ('Final regressor code', 2, None, 'final-regressor-code'), + ('Example: Computing the Gini index', + 2, + None, + 'example-computing-the-gini-index'), + ('Simple Python Code to read in Data and perform Classification', + 2, + None, + 'simple-python-code-to-read-in-data-and-perform-classification'), + ('Computing the Gini Factor', + 2, + None, + 'computing-the-gini-factor'), + ('Entropy and the ID3 algorithm', + 2, + None, + 'entropy-and-the-id3-algorithm'), + ('Cancer Data again now with Decision Trees and other Methods', + 2, + None, + 'cancer-data-again-now-with-decision-trees-and-other-methods'), + ('Another example, the moons again', + 2, + None, + 'another-example-the-moons-again'), + ('Playing around with regions', + 2, + None, + 'playing-around-with-regions'), + ('Regression trees', 2, None, 'regression-trees'), + ('Final regressor code', 2, None, 'final-regressor-code'), + ('Pros and cons of trees, pros', + 2, + None, + 'pros-and-cons-of-trees-pros'), + ('Disadvantages', 2, None, 'disadvantages'), + ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' + 'Boosting, Meet the Jungle of Methods', + 2, + None, + 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), + ('An Overview of Ensemble Methods', + 2, + None, + 'an-overview-of-ensemble-methods'), + ('Bagging', 2, None, 'bagging'), + ('More bagging', 2, None, 'more-bagging'), + ('Simple Voting Example, head or tail', + 2, + None, + 'simple-voting-example-head-or-tail'), + ('Using the Voting Classifier', + 2, + None, + 'using-the-voting-classifier'), + ('Please, not the moons again! Voting and Bagging', + 2, + None, + 'please-not-the-moons-again-voting-and-bagging'), + ('Bagging Examples', 2, None, 'bagging-examples'), + ('Making your own Bootstrap: Changing the Level of the Decision ' + 'Tree', + 2, + None, + 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why Voting?', 2, None, 'why-voting'), ('Tossing coins', 2, None, 'tossing-coins'), ('Standard imports first', 2, None, 'standard-imports-first'), @@ -327,55 +330,55 @@ MathJax.Hub.Config({
  • Growing a classification tree
  • Classification tree, how to split nodes
  • Visualizing the Tree, Classification
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • -
  • Pros and cons of trees, pros
  • -
  • Disadvantages
  • -
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • -
  • An Overview of Ensemble Methods
  • -
  • Bagging
  • -
  • More bagging
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Why binary splits?
  • +
  • Computing a Tree using the Gini Index
  • +
  • The Table
  • +
  • Computing the various Gini Indices
  • +
  • Computing the various Gini Indices, Hours slept
  • +
  • Computing the various Gini Indices, Hours studied
  • +
  • A possible code using Scikit-Learn
  • +
  • Visualizing Trees, More examples
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Example: Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Pros and cons of trees, pros
  • +
  • Disadvantages
  • +
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • +
  • An Overview of Ensemble Methods
  • +
  • Bagging
  • +
  • More bagging
  • Simple Voting Example, head or tail
  • Using the Voting Classifier
  • -
  • Please, not the moons again! Voting and Bagging
  • -
  • Bagging Examples
  • -
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • -
  • Why binary splits?
  • -
  • Computing a Tree using the Gini Index
  • -
  • The Table
  • -
  • Computing the various Gini Indices
  • -
  • Computing the various Gini Indices, Hours slept
  • -
  • Computing the various Gini Indices, Hours studied
  • -
  • A possible code using Scikit-Learn
  • -
  • Visualizing Trees, More examples
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • +
  • Please, not the moons again! Voting and Bagging
  • +
  • Bagging Examples
  • +
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • Why Voting?
  • Tossing coins
  • Standard imports first
  • diff --git a/doc/pub/week44/html/._week44-bs007.html b/doc/pub/week44/html/._week44-bs007.html index e015d7050..2e6980e18 100644 --- a/doc/pub/week44/html/._week44-bs007.html +++ b/doc/pub/week44/html/._week44-bs007.html @@ -115,67 +115,6 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 2, None, 'the-cart-algorithm-for-regression'), - ('Computing the Gini index', 2, None, 'computing-the-gini-index'), - ('Simple Python Code to read in Data and perform Classification', - 2, - None, - 'simple-python-code-to-read-in-data-and-perform-classification'), - ('Computing the Gini Factor', - 2, - None, - 'computing-the-gini-factor'), - ('Entropy and the ID3 algorithm', - 2, - None, - 'entropy-and-the-id3-algorithm'), - ('Cancer Data again now with Decision Trees and other Methods', - 2, - None, - 'cancer-data-again-now-with-decision-trees-and-other-methods'), - ('Another example, the moons again', - 2, - None, - 'another-example-the-moons-again'), - ('Playing around with regions', - 2, - None, - 'playing-around-with-regions'), - ('Regression trees', 2, None, 'regression-trees'), - ('Final regressor code', 2, None, 'final-regressor-code'), - ('Pros and cons of trees, pros', - 2, - None, - 'pros-and-cons-of-trees-pros'), - ('Disadvantages', 2, None, 'disadvantages'), - ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' - 'Boosting, Meet the Jungle of Methods', - 2, - None, - 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), - ('An Overview of Ensemble Methods', - 2, - None, - 'an-overview-of-ensemble-methods'), - ('Bagging', 2, None, 'bagging'), - ('More bagging', 2, None, 'more-bagging'), - ('Simple Voting Example, head or tail', - 2, - None, - 'simple-voting-example-head-or-tail'), - ('Using the Voting Classifier', - 2, - None, - 'using-the-voting-classifier'), - ('Please, not the moons again! Voting and Bagging', - 2, - None, - 'please-not-the-moons-again-voting-and-bagging'), - ('Bagging Examples', 2, None, 'bagging-examples'), - ('Making your own Bootstrap: Changing the Level of the Decision ' - 'Tree', - 2, - None, - 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why binary splits?', 2, None, 'why-binary-splits'), ('Computing a Tree using the Gini Index', 2, @@ -250,6 +189,70 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 'playing-around-with-regions'), ('Regression trees', 2, None, 'regression-trees'), ('Final regressor code', 2, None, 'final-regressor-code'), + ('Example: Computing the Gini index', + 2, + None, + 'example-computing-the-gini-index'), + ('Simple Python Code to read in Data and perform Classification', + 2, + None, + 'simple-python-code-to-read-in-data-and-perform-classification'), + ('Computing the Gini Factor', + 2, + None, + 'computing-the-gini-factor'), + ('Entropy and the ID3 algorithm', + 2, + None, + 'entropy-and-the-id3-algorithm'), + ('Cancer Data again now with Decision Trees and other Methods', + 2, + None, + 'cancer-data-again-now-with-decision-trees-and-other-methods'), + ('Another example, the moons again', + 2, + None, + 'another-example-the-moons-again'), + ('Playing around with regions', + 2, + None, + 'playing-around-with-regions'), + ('Regression trees', 2, None, 'regression-trees'), + ('Final regressor code', 2, None, 'final-regressor-code'), + ('Pros and cons of trees, pros', + 2, + None, + 'pros-and-cons-of-trees-pros'), + ('Disadvantages', 2, None, 'disadvantages'), + ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' + 'Boosting, Meet the Jungle of Methods', + 2, + None, + 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), + ('An Overview of Ensemble Methods', + 2, + None, + 'an-overview-of-ensemble-methods'), + ('Bagging', 2, None, 'bagging'), + ('More bagging', 2, None, 'more-bagging'), + ('Simple Voting Example, head or tail', + 2, + None, + 'simple-voting-example-head-or-tail'), + ('Using the Voting Classifier', + 2, + None, + 'using-the-voting-classifier'), + ('Please, not the moons again! Voting and Bagging', + 2, + None, + 'please-not-the-moons-again-voting-and-bagging'), + ('Bagging Examples', 2, None, 'bagging-examples'), + ('Making your own Bootstrap: Changing the Level of the Decision ' + 'Tree', + 2, + None, + 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why Voting?', 2, None, 'why-voting'), ('Tossing coins', 2, None, 'tossing-coins'), ('Standard imports first', 2, None, 'standard-imports-first'), @@ -327,55 +330,55 @@ MathJax.Hub.Config({
  • Growing a classification tree
  • Classification tree, how to split nodes
  • Visualizing the Tree, Classification
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • -
  • Pros and cons of trees, pros
  • -
  • Disadvantages
  • -
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • -
  • An Overview of Ensemble Methods
  • -
  • Bagging
  • -
  • More bagging
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Why binary splits?
  • +
  • Computing a Tree using the Gini Index
  • +
  • The Table
  • +
  • Computing the various Gini Indices
  • +
  • Computing the various Gini Indices, Hours slept
  • +
  • Computing the various Gini Indices, Hours studied
  • +
  • A possible code using Scikit-Learn
  • +
  • Visualizing Trees, More examples
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Example: Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Pros and cons of trees, pros
  • +
  • Disadvantages
  • +
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • +
  • An Overview of Ensemble Methods
  • +
  • Bagging
  • +
  • More bagging
  • Simple Voting Example, head or tail
  • Using the Voting Classifier
  • -
  • Please, not the moons again! Voting and Bagging
  • -
  • Bagging Examples
  • -
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • -
  • Why binary splits?
  • -
  • Computing a Tree using the Gini Index
  • -
  • The Table
  • -
  • Computing the various Gini Indices
  • -
  • Computing the various Gini Indices, Hours slept
  • -
  • Computing the various Gini Indices, Hours studied
  • -
  • A possible code using Scikit-Learn
  • -
  • Visualizing Trees, More examples
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • +
  • Please, not the moons again! Voting and Bagging
  • +
  • Bagging Examples
  • +
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • Why Voting?
  • Tossing coins
  • Standard imports first
  • diff --git a/doc/pub/week44/html/._week44-bs008.html b/doc/pub/week44/html/._week44-bs008.html index 86198e48b..230eaaf23 100644 --- a/doc/pub/week44/html/._week44-bs008.html +++ b/doc/pub/week44/html/._week44-bs008.html @@ -115,67 +115,6 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 2, None, 'the-cart-algorithm-for-regression'), - ('Computing the Gini index', 2, None, 'computing-the-gini-index'), - ('Simple Python Code to read in Data and perform Classification', - 2, - None, - 'simple-python-code-to-read-in-data-and-perform-classification'), - ('Computing the Gini Factor', - 2, - None, - 'computing-the-gini-factor'), - ('Entropy and the ID3 algorithm', - 2, - None, - 'entropy-and-the-id3-algorithm'), - ('Cancer Data again now with Decision Trees and other Methods', - 2, - None, - 'cancer-data-again-now-with-decision-trees-and-other-methods'), - ('Another example, the moons again', - 2, - None, - 'another-example-the-moons-again'), - ('Playing around with regions', - 2, - None, - 'playing-around-with-regions'), - ('Regression trees', 2, None, 'regression-trees'), - ('Final regressor code', 2, None, 'final-regressor-code'), - ('Pros and cons of trees, pros', - 2, - None, - 'pros-and-cons-of-trees-pros'), - ('Disadvantages', 2, None, 'disadvantages'), - ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' - 'Boosting, Meet the Jungle of Methods', - 2, - None, - 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), - ('An Overview of Ensemble Methods', - 2, - None, - 'an-overview-of-ensemble-methods'), - ('Bagging', 2, None, 'bagging'), - ('More bagging', 2, None, 'more-bagging'), - ('Simple Voting Example, head or tail', - 2, - None, - 'simple-voting-example-head-or-tail'), - ('Using the Voting Classifier', - 2, - None, - 'using-the-voting-classifier'), - ('Please, not the moons again! Voting and Bagging', - 2, - None, - 'please-not-the-moons-again-voting-and-bagging'), - ('Bagging Examples', 2, None, 'bagging-examples'), - ('Making your own Bootstrap: Changing the Level of the Decision ' - 'Tree', - 2, - None, - 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why binary splits?', 2, None, 'why-binary-splits'), ('Computing a Tree using the Gini Index', 2, @@ -250,6 +189,70 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 'playing-around-with-regions'), ('Regression trees', 2, None, 'regression-trees'), ('Final regressor code', 2, None, 'final-regressor-code'), + ('Example: Computing the Gini index', + 2, + None, + 'example-computing-the-gini-index'), + ('Simple Python Code to read in Data and perform Classification', + 2, + None, + 'simple-python-code-to-read-in-data-and-perform-classification'), + ('Computing the Gini Factor', + 2, + None, + 'computing-the-gini-factor'), + ('Entropy and the ID3 algorithm', + 2, + None, + 'entropy-and-the-id3-algorithm'), + ('Cancer Data again now with Decision Trees and other Methods', + 2, + None, + 'cancer-data-again-now-with-decision-trees-and-other-methods'), + ('Another example, the moons again', + 2, + None, + 'another-example-the-moons-again'), + ('Playing around with regions', + 2, + None, + 'playing-around-with-regions'), + ('Regression trees', 2, None, 'regression-trees'), + ('Final regressor code', 2, None, 'final-regressor-code'), + ('Pros and cons of trees, pros', + 2, + None, + 'pros-and-cons-of-trees-pros'), + ('Disadvantages', 2, None, 'disadvantages'), + ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' + 'Boosting, Meet the Jungle of Methods', + 2, + None, + 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), + ('An Overview of Ensemble Methods', + 2, + None, + 'an-overview-of-ensemble-methods'), + ('Bagging', 2, None, 'bagging'), + ('More bagging', 2, None, 'more-bagging'), + ('Simple Voting Example, head or tail', + 2, + None, + 'simple-voting-example-head-or-tail'), + ('Using the Voting Classifier', + 2, + None, + 'using-the-voting-classifier'), + ('Please, not the moons again! Voting and Bagging', + 2, + None, + 'please-not-the-moons-again-voting-and-bagging'), + ('Bagging Examples', 2, None, 'bagging-examples'), + ('Making your own Bootstrap: Changing the Level of the Decision ' + 'Tree', + 2, + None, + 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why Voting?', 2, None, 'why-voting'), ('Tossing coins', 2, None, 'tossing-coins'), ('Standard imports first', 2, None, 'standard-imports-first'), @@ -327,55 +330,55 @@ MathJax.Hub.Config({
  • Growing a classification tree
  • Classification tree, how to split nodes
  • Visualizing the Tree, Classification
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • -
  • Pros and cons of trees, pros
  • -
  • Disadvantages
  • -
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • -
  • An Overview of Ensemble Methods
  • -
  • Bagging
  • -
  • More bagging
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Why binary splits?
  • +
  • Computing a Tree using the Gini Index
  • +
  • The Table
  • +
  • Computing the various Gini Indices
  • +
  • Computing the various Gini Indices, Hours slept
  • +
  • Computing the various Gini Indices, Hours studied
  • +
  • A possible code using Scikit-Learn
  • +
  • Visualizing Trees, More examples
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Example: Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Pros and cons of trees, pros
  • +
  • Disadvantages
  • +
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • +
  • An Overview of Ensemble Methods
  • +
  • Bagging
  • +
  • More bagging
  • Simple Voting Example, head or tail
  • Using the Voting Classifier
  • -
  • Please, not the moons again! Voting and Bagging
  • -
  • Bagging Examples
  • -
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • -
  • Why binary splits?
  • -
  • Computing a Tree using the Gini Index
  • -
  • The Table
  • -
  • Computing the various Gini Indices
  • -
  • Computing the various Gini Indices, Hours slept
  • -
  • Computing the various Gini Indices, Hours studied
  • -
  • A possible code using Scikit-Learn
  • -
  • Visualizing Trees, More examples
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • +
  • Please, not the moons again! Voting and Bagging
  • +
  • Bagging Examples
  • +
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • Why Voting?
  • Tossing coins
  • Standard imports first
  • diff --git a/doc/pub/week44/html/._week44-bs009.html b/doc/pub/week44/html/._week44-bs009.html index fec5c6573..e6350f5d6 100644 --- a/doc/pub/week44/html/._week44-bs009.html +++ b/doc/pub/week44/html/._week44-bs009.html @@ -115,67 +115,6 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 2, None, 'the-cart-algorithm-for-regression'), - ('Computing the Gini index', 2, None, 'computing-the-gini-index'), - ('Simple Python Code to read in Data and perform Classification', - 2, - None, - 'simple-python-code-to-read-in-data-and-perform-classification'), - ('Computing the Gini Factor', - 2, - None, - 'computing-the-gini-factor'), - ('Entropy and the ID3 algorithm', - 2, - None, - 'entropy-and-the-id3-algorithm'), - ('Cancer Data again now with Decision Trees and other Methods', - 2, - None, - 'cancer-data-again-now-with-decision-trees-and-other-methods'), - ('Another example, the moons again', - 2, - None, - 'another-example-the-moons-again'), - ('Playing around with regions', - 2, - None, - 'playing-around-with-regions'), - ('Regression trees', 2, None, 'regression-trees'), - ('Final regressor code', 2, None, 'final-regressor-code'), - ('Pros and cons of trees, pros', - 2, - None, - 'pros-and-cons-of-trees-pros'), - ('Disadvantages', 2, None, 'disadvantages'), - ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' - 'Boosting, Meet the Jungle of Methods', - 2, - None, - 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), - ('An Overview of Ensemble Methods', - 2, - None, - 'an-overview-of-ensemble-methods'), - ('Bagging', 2, None, 'bagging'), - ('More bagging', 2, None, 'more-bagging'), - ('Simple Voting Example, head or tail', - 2, - None, - 'simple-voting-example-head-or-tail'), - ('Using the Voting Classifier', - 2, - None, - 'using-the-voting-classifier'), - ('Please, not the moons again! Voting and Bagging', - 2, - None, - 'please-not-the-moons-again-voting-and-bagging'), - ('Bagging Examples', 2, None, 'bagging-examples'), - ('Making your own Bootstrap: Changing the Level of the Decision ' - 'Tree', - 2, - None, - 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why binary splits?', 2, None, 'why-binary-splits'), ('Computing a Tree using the Gini Index', 2, @@ -250,6 +189,70 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 'playing-around-with-regions'), ('Regression trees', 2, None, 'regression-trees'), ('Final regressor code', 2, None, 'final-regressor-code'), + ('Example: Computing the Gini index', + 2, + None, + 'example-computing-the-gini-index'), + ('Simple Python Code to read in Data and perform Classification', + 2, + None, + 'simple-python-code-to-read-in-data-and-perform-classification'), + ('Computing the Gini Factor', + 2, + None, + 'computing-the-gini-factor'), + ('Entropy and the ID3 algorithm', + 2, + None, + 'entropy-and-the-id3-algorithm'), + ('Cancer Data again now with Decision Trees and other Methods', + 2, + None, + 'cancer-data-again-now-with-decision-trees-and-other-methods'), + ('Another example, the moons again', + 2, + None, + 'another-example-the-moons-again'), + ('Playing around with regions', + 2, + None, + 'playing-around-with-regions'), + ('Regression trees', 2, None, 'regression-trees'), + ('Final regressor code', 2, None, 'final-regressor-code'), + ('Pros and cons of trees, pros', + 2, + None, + 'pros-and-cons-of-trees-pros'), + ('Disadvantages', 2, None, 'disadvantages'), + ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' + 'Boosting, Meet the Jungle of Methods', + 2, + None, + 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), + ('An Overview of Ensemble Methods', + 2, + None, + 'an-overview-of-ensemble-methods'), + ('Bagging', 2, None, 'bagging'), + ('More bagging', 2, None, 'more-bagging'), + ('Simple Voting Example, head or tail', + 2, + None, + 'simple-voting-example-head-or-tail'), + ('Using the Voting Classifier', + 2, + None, + 'using-the-voting-classifier'), + ('Please, not the moons again! Voting and Bagging', + 2, + None, + 'please-not-the-moons-again-voting-and-bagging'), + ('Bagging Examples', 2, None, 'bagging-examples'), + ('Making your own Bootstrap: Changing the Level of the Decision ' + 'Tree', + 2, + None, + 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why Voting?', 2, None, 'why-voting'), ('Tossing coins', 2, None, 'tossing-coins'), ('Standard imports first', 2, None, 'standard-imports-first'), @@ -327,55 +330,55 @@ MathJax.Hub.Config({
  • Growing a classification tree
  • Classification tree, how to split nodes
  • Visualizing the Tree, Classification
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • -
  • Pros and cons of trees, pros
  • -
  • Disadvantages
  • -
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • -
  • An Overview of Ensemble Methods
  • -
  • Bagging
  • -
  • More bagging
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Why binary splits?
  • +
  • Computing a Tree using the Gini Index
  • +
  • The Table
  • +
  • Computing the various Gini Indices
  • +
  • Computing the various Gini Indices, Hours slept
  • +
  • Computing the various Gini Indices, Hours studied
  • +
  • A possible code using Scikit-Learn
  • +
  • Visualizing Trees, More examples
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Example: Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Pros and cons of trees, pros
  • +
  • Disadvantages
  • +
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • +
  • An Overview of Ensemble Methods
  • +
  • Bagging
  • +
  • More bagging
  • Simple Voting Example, head or tail
  • Using the Voting Classifier
  • -
  • Please, not the moons again! Voting and Bagging
  • -
  • Bagging Examples
  • -
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • -
  • Why binary splits?
  • -
  • Computing a Tree using the Gini Index
  • -
  • The Table
  • -
  • Computing the various Gini Indices
  • -
  • Computing the various Gini Indices, Hours slept
  • -
  • Computing the various Gini Indices, Hours studied
  • -
  • A possible code using Scikit-Learn
  • -
  • Visualizing Trees, More examples
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • +
  • Please, not the moons again! Voting and Bagging
  • +
  • Bagging Examples
  • +
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • Why Voting?
  • Tossing coins
  • Standard imports first
  • diff --git a/doc/pub/week44/html/._week44-bs010.html b/doc/pub/week44/html/._week44-bs010.html index 2bde2f61d..b912a5d7e 100644 --- a/doc/pub/week44/html/._week44-bs010.html +++ b/doc/pub/week44/html/._week44-bs010.html @@ -115,67 +115,6 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 2, None, 'the-cart-algorithm-for-regression'), - ('Computing the Gini index', 2, None, 'computing-the-gini-index'), - ('Simple Python Code to read in Data and perform Classification', - 2, - None, - 'simple-python-code-to-read-in-data-and-perform-classification'), - ('Computing the Gini Factor', - 2, - None, - 'computing-the-gini-factor'), - ('Entropy and the ID3 algorithm', - 2, - None, - 'entropy-and-the-id3-algorithm'), - ('Cancer Data again now with Decision Trees and other Methods', - 2, - None, - 'cancer-data-again-now-with-decision-trees-and-other-methods'), - ('Another example, the moons again', - 2, - None, - 'another-example-the-moons-again'), - ('Playing around with regions', - 2, - None, - 'playing-around-with-regions'), - ('Regression trees', 2, None, 'regression-trees'), - ('Final regressor code', 2, None, 'final-regressor-code'), - ('Pros and cons of trees, pros', - 2, - None, - 'pros-and-cons-of-trees-pros'), - ('Disadvantages', 2, None, 'disadvantages'), - ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' - 'Boosting, Meet the Jungle of Methods', - 2, - None, - 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), - ('An Overview of Ensemble Methods', - 2, - None, - 'an-overview-of-ensemble-methods'), - ('Bagging', 2, None, 'bagging'), - ('More bagging', 2, None, 'more-bagging'), - ('Simple Voting Example, head or tail', - 2, - None, - 'simple-voting-example-head-or-tail'), - ('Using the Voting Classifier', - 2, - None, - 'using-the-voting-classifier'), - ('Please, not the moons again! Voting and Bagging', - 2, - None, - 'please-not-the-moons-again-voting-and-bagging'), - ('Bagging Examples', 2, None, 'bagging-examples'), - ('Making your own Bootstrap: Changing the Level of the Decision ' - 'Tree', - 2, - None, - 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why binary splits?', 2, None, 'why-binary-splits'), ('Computing a Tree using the Gini Index', 2, @@ -250,6 +189,70 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 'playing-around-with-regions'), ('Regression trees', 2, None, 'regression-trees'), ('Final regressor code', 2, None, 'final-regressor-code'), + ('Example: Computing the Gini index', + 2, + None, + 'example-computing-the-gini-index'), + ('Simple Python Code to read in Data and perform Classification', + 2, + None, + 'simple-python-code-to-read-in-data-and-perform-classification'), + ('Computing the Gini Factor', + 2, + None, + 'computing-the-gini-factor'), + ('Entropy and the ID3 algorithm', + 2, + None, + 'entropy-and-the-id3-algorithm'), + ('Cancer Data again now with Decision Trees and other Methods', + 2, + None, + 'cancer-data-again-now-with-decision-trees-and-other-methods'), + ('Another example, the moons again', + 2, + None, + 'another-example-the-moons-again'), + ('Playing around with regions', + 2, + None, + 'playing-around-with-regions'), + ('Regression trees', 2, None, 'regression-trees'), + ('Final regressor code', 2, None, 'final-regressor-code'), + ('Pros and cons of trees, pros', + 2, + None, + 'pros-and-cons-of-trees-pros'), + ('Disadvantages', 2, None, 'disadvantages'), + ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' + 'Boosting, Meet the Jungle of Methods', + 2, + None, + 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), + ('An Overview of Ensemble Methods', + 2, + None, + 'an-overview-of-ensemble-methods'), + ('Bagging', 2, None, 'bagging'), + ('More bagging', 2, None, 'more-bagging'), + ('Simple Voting Example, head or tail', + 2, + None, + 'simple-voting-example-head-or-tail'), + ('Using the Voting Classifier', + 2, + None, + 'using-the-voting-classifier'), + ('Please, not the moons again! Voting and Bagging', + 2, + None, + 'please-not-the-moons-again-voting-and-bagging'), + ('Bagging Examples', 2, None, 'bagging-examples'), + ('Making your own Bootstrap: Changing the Level of the Decision ' + 'Tree', + 2, + None, + 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why Voting?', 2, None, 'why-voting'), ('Tossing coins', 2, None, 'tossing-coins'), ('Standard imports first', 2, None, 'standard-imports-first'), @@ -327,55 +330,55 @@ MathJax.Hub.Config({
  • Growing a classification tree
  • Classification tree, how to split nodes
  • Visualizing the Tree, Classification
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • -
  • Pros and cons of trees, pros
  • -
  • Disadvantages
  • -
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • -
  • An Overview of Ensemble Methods
  • -
  • Bagging
  • -
  • More bagging
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Why binary splits?
  • +
  • Computing a Tree using the Gini Index
  • +
  • The Table
  • +
  • Computing the various Gini Indices
  • +
  • Computing the various Gini Indices, Hours slept
  • +
  • Computing the various Gini Indices, Hours studied
  • +
  • A possible code using Scikit-Learn
  • +
  • Visualizing Trees, More examples
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Example: Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Pros and cons of trees, pros
  • +
  • Disadvantages
  • +
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • +
  • An Overview of Ensemble Methods
  • +
  • Bagging
  • +
  • More bagging
  • Simple Voting Example, head or tail
  • Using the Voting Classifier
  • -
  • Please, not the moons again! Voting and Bagging
  • -
  • Bagging Examples
  • -
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • -
  • Why binary splits?
  • -
  • Computing a Tree using the Gini Index
  • -
  • The Table
  • -
  • Computing the various Gini Indices
  • -
  • Computing the various Gini Indices, Hours slept
  • -
  • Computing the various Gini Indices, Hours studied
  • -
  • A possible code using Scikit-Learn
  • -
  • Visualizing Trees, More examples
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • +
  • Please, not the moons again! Voting and Bagging
  • +
  • Bagging Examples
  • +
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • Why Voting?
  • Tossing coins
  • Standard imports first
  • diff --git a/doc/pub/week44/html/._week44-bs011.html b/doc/pub/week44/html/._week44-bs011.html index c983300d3..cf37c882b 100644 --- a/doc/pub/week44/html/._week44-bs011.html +++ b/doc/pub/week44/html/._week44-bs011.html @@ -115,67 +115,6 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 2, None, 'the-cart-algorithm-for-regression'), - ('Computing the Gini index', 2, None, 'computing-the-gini-index'), - ('Simple Python Code to read in Data and perform Classification', - 2, - None, - 'simple-python-code-to-read-in-data-and-perform-classification'), - ('Computing the Gini Factor', - 2, - None, - 'computing-the-gini-factor'), - ('Entropy and the ID3 algorithm', - 2, - None, - 'entropy-and-the-id3-algorithm'), - ('Cancer Data again now with Decision Trees and other Methods', - 2, - None, - 'cancer-data-again-now-with-decision-trees-and-other-methods'), - ('Another example, the moons again', - 2, - None, - 'another-example-the-moons-again'), - ('Playing around with regions', - 2, - None, - 'playing-around-with-regions'), - ('Regression trees', 2, None, 'regression-trees'), - ('Final regressor code', 2, None, 'final-regressor-code'), - ('Pros and cons of trees, pros', - 2, - None, - 'pros-and-cons-of-trees-pros'), - ('Disadvantages', 2, None, 'disadvantages'), - ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' - 'Boosting, Meet the Jungle of Methods', - 2, - None, - 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), - ('An Overview of Ensemble Methods', - 2, - None, - 'an-overview-of-ensemble-methods'), - ('Bagging', 2, None, 'bagging'), - ('More bagging', 2, None, 'more-bagging'), - ('Simple Voting Example, head or tail', - 2, - None, - 'simple-voting-example-head-or-tail'), - ('Using the Voting Classifier', - 2, - None, - 'using-the-voting-classifier'), - ('Please, not the moons again! Voting and Bagging', - 2, - None, - 'please-not-the-moons-again-voting-and-bagging'), - ('Bagging Examples', 2, None, 'bagging-examples'), - ('Making your own Bootstrap: Changing the Level of the Decision ' - 'Tree', - 2, - None, - 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why binary splits?', 2, None, 'why-binary-splits'), ('Computing a Tree using the Gini Index', 2, @@ -250,6 +189,70 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 'playing-around-with-regions'), ('Regression trees', 2, None, 'regression-trees'), ('Final regressor code', 2, None, 'final-regressor-code'), + ('Example: Computing the Gini index', + 2, + None, + 'example-computing-the-gini-index'), + ('Simple Python Code to read in Data and perform Classification', + 2, + None, + 'simple-python-code-to-read-in-data-and-perform-classification'), + ('Computing the Gini Factor', + 2, + None, + 'computing-the-gini-factor'), + ('Entropy and the ID3 algorithm', + 2, + None, + 'entropy-and-the-id3-algorithm'), + ('Cancer Data again now with Decision Trees and other Methods', + 2, + None, + 'cancer-data-again-now-with-decision-trees-and-other-methods'), + ('Another example, the moons again', + 2, + None, + 'another-example-the-moons-again'), + ('Playing around with regions', + 2, + None, + 'playing-around-with-regions'), + ('Regression trees', 2, None, 'regression-trees'), + ('Final regressor code', 2, None, 'final-regressor-code'), + ('Pros and cons of trees, pros', + 2, + None, + 'pros-and-cons-of-trees-pros'), + ('Disadvantages', 2, None, 'disadvantages'), + ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' + 'Boosting, Meet the Jungle of Methods', + 2, + None, + 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), + ('An Overview of Ensemble Methods', + 2, + None, + 'an-overview-of-ensemble-methods'), + ('Bagging', 2, None, 'bagging'), + ('More bagging', 2, None, 'more-bagging'), + ('Simple Voting Example, head or tail', + 2, + None, + 'simple-voting-example-head-or-tail'), + ('Using the Voting Classifier', + 2, + None, + 'using-the-voting-classifier'), + ('Please, not the moons again! Voting and Bagging', + 2, + None, + 'please-not-the-moons-again-voting-and-bagging'), + ('Bagging Examples', 2, None, 'bagging-examples'), + ('Making your own Bootstrap: Changing the Level of the Decision ' + 'Tree', + 2, + None, + 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why Voting?', 2, None, 'why-voting'), ('Tossing coins', 2, None, 'tossing-coins'), ('Standard imports first', 2, None, 'standard-imports-first'), @@ -327,55 +330,55 @@ MathJax.Hub.Config({
  • Growing a classification tree
  • Classification tree, how to split nodes
  • Visualizing the Tree, Classification
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • -
  • Pros and cons of trees, pros
  • -
  • Disadvantages
  • -
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • -
  • An Overview of Ensemble Methods
  • -
  • Bagging
  • -
  • More bagging
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Why binary splits?
  • +
  • Computing a Tree using the Gini Index
  • +
  • The Table
  • +
  • Computing the various Gini Indices
  • +
  • Computing the various Gini Indices, Hours slept
  • +
  • Computing the various Gini Indices, Hours studied
  • +
  • A possible code using Scikit-Learn
  • +
  • Visualizing Trees, More examples
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Example: Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Pros and cons of trees, pros
  • +
  • Disadvantages
  • +
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • +
  • An Overview of Ensemble Methods
  • +
  • Bagging
  • +
  • More bagging
  • Simple Voting Example, head or tail
  • Using the Voting Classifier
  • -
  • Please, not the moons again! Voting and Bagging
  • -
  • Bagging Examples
  • -
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • -
  • Why binary splits?
  • -
  • Computing a Tree using the Gini Index
  • -
  • The Table
  • -
  • Computing the various Gini Indices
  • -
  • Computing the various Gini Indices, Hours slept
  • -
  • Computing the various Gini Indices, Hours studied
  • -
  • A possible code using Scikit-Learn
  • -
  • Visualizing Trees, More examples
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • +
  • Please, not the moons again! Voting and Bagging
  • +
  • Bagging Examples
  • +
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • Why Voting?
  • Tossing coins
  • Standard imports first
  • diff --git a/doc/pub/week44/html/._week44-bs012.html b/doc/pub/week44/html/._week44-bs012.html index 8ad73d913..483fe1fcb 100644 --- a/doc/pub/week44/html/._week44-bs012.html +++ b/doc/pub/week44/html/._week44-bs012.html @@ -115,67 +115,6 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 2, None, 'the-cart-algorithm-for-regression'), - ('Computing the Gini index', 2, None, 'computing-the-gini-index'), - ('Simple Python Code to read in Data and perform Classification', - 2, - None, - 'simple-python-code-to-read-in-data-and-perform-classification'), - ('Computing the Gini Factor', - 2, - None, - 'computing-the-gini-factor'), - ('Entropy and the ID3 algorithm', - 2, - None, - 'entropy-and-the-id3-algorithm'), - ('Cancer Data again now with Decision Trees and other Methods', - 2, - None, - 'cancer-data-again-now-with-decision-trees-and-other-methods'), - ('Another example, the moons again', - 2, - None, - 'another-example-the-moons-again'), - ('Playing around with regions', - 2, - None, - 'playing-around-with-regions'), - ('Regression trees', 2, None, 'regression-trees'), - ('Final regressor code', 2, None, 'final-regressor-code'), - ('Pros and cons of trees, pros', - 2, - None, - 'pros-and-cons-of-trees-pros'), - ('Disadvantages', 2, None, 'disadvantages'), - ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' - 'Boosting, Meet the Jungle of Methods', - 2, - None, - 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), - ('An Overview of Ensemble Methods', - 2, - None, - 'an-overview-of-ensemble-methods'), - ('Bagging', 2, None, 'bagging'), - ('More bagging', 2, None, 'more-bagging'), - ('Simple Voting Example, head or tail', - 2, - None, - 'simple-voting-example-head-or-tail'), - ('Using the Voting Classifier', - 2, - None, - 'using-the-voting-classifier'), - ('Please, not the moons again! Voting and Bagging', - 2, - None, - 'please-not-the-moons-again-voting-and-bagging'), - ('Bagging Examples', 2, None, 'bagging-examples'), - ('Making your own Bootstrap: Changing the Level of the Decision ' - 'Tree', - 2, - None, - 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why binary splits?', 2, None, 'why-binary-splits'), ('Computing a Tree using the Gini Index', 2, @@ -250,6 +189,70 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 'playing-around-with-regions'), ('Regression trees', 2, None, 'regression-trees'), ('Final regressor code', 2, None, 'final-regressor-code'), + ('Example: Computing the Gini index', + 2, + None, + 'example-computing-the-gini-index'), + ('Simple Python Code to read in Data and perform Classification', + 2, + None, + 'simple-python-code-to-read-in-data-and-perform-classification'), + ('Computing the Gini Factor', + 2, + None, + 'computing-the-gini-factor'), + ('Entropy and the ID3 algorithm', + 2, + None, + 'entropy-and-the-id3-algorithm'), + ('Cancer Data again now with Decision Trees and other Methods', + 2, + None, + 'cancer-data-again-now-with-decision-trees-and-other-methods'), + ('Another example, the moons again', + 2, + None, + 'another-example-the-moons-again'), + ('Playing around with regions', + 2, + None, + 'playing-around-with-regions'), + ('Regression trees', 2, None, 'regression-trees'), + ('Final regressor code', 2, None, 'final-regressor-code'), + ('Pros and cons of trees, pros', + 2, + None, + 'pros-and-cons-of-trees-pros'), + ('Disadvantages', 2, None, 'disadvantages'), + ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' + 'Boosting, Meet the Jungle of Methods', + 2, + None, + 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), + ('An Overview of Ensemble Methods', + 2, + None, + 'an-overview-of-ensemble-methods'), + ('Bagging', 2, None, 'bagging'), + ('More bagging', 2, None, 'more-bagging'), + ('Simple Voting Example, head or tail', + 2, + None, + 'simple-voting-example-head-or-tail'), + ('Using the Voting Classifier', + 2, + None, + 'using-the-voting-classifier'), + ('Please, not the moons again! Voting and Bagging', + 2, + None, + 'please-not-the-moons-again-voting-and-bagging'), + ('Bagging Examples', 2, None, 'bagging-examples'), + ('Making your own Bootstrap: Changing the Level of the Decision ' + 'Tree', + 2, + None, + 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why Voting?', 2, None, 'why-voting'), ('Tossing coins', 2, None, 'tossing-coins'), ('Standard imports first', 2, None, 'standard-imports-first'), @@ -327,55 +330,55 @@ MathJax.Hub.Config({
  • Growing a classification tree
  • Classification tree, how to split nodes
  • Visualizing the Tree, Classification
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • -
  • Pros and cons of trees, pros
  • -
  • Disadvantages
  • -
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • -
  • An Overview of Ensemble Methods
  • -
  • Bagging
  • -
  • More bagging
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Why binary splits?
  • +
  • Computing a Tree using the Gini Index
  • +
  • The Table
  • +
  • Computing the various Gini Indices
  • +
  • Computing the various Gini Indices, Hours slept
  • +
  • Computing the various Gini Indices, Hours studied
  • +
  • A possible code using Scikit-Learn
  • +
  • Visualizing Trees, More examples
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Example: Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Pros and cons of trees, pros
  • +
  • Disadvantages
  • +
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • +
  • An Overview of Ensemble Methods
  • +
  • Bagging
  • +
  • More bagging
  • Simple Voting Example, head or tail
  • Using the Voting Classifier
  • -
  • Please, not the moons again! Voting and Bagging
  • -
  • Bagging Examples
  • -
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • -
  • Why binary splits?
  • -
  • Computing a Tree using the Gini Index
  • -
  • The Table
  • -
  • Computing the various Gini Indices
  • -
  • Computing the various Gini Indices, Hours slept
  • -
  • Computing the various Gini Indices, Hours studied
  • -
  • A possible code using Scikit-Learn
  • -
  • Visualizing Trees, More examples
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • +
  • Please, not the moons again! Voting and Bagging
  • +
  • Bagging Examples
  • +
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • Why Voting?
  • Tossing coins
  • Standard imports first
  • diff --git a/doc/pub/week44/html/._week44-bs013.html b/doc/pub/week44/html/._week44-bs013.html index 4363ca9cc..9ad74c8c2 100644 --- a/doc/pub/week44/html/._week44-bs013.html +++ b/doc/pub/week44/html/._week44-bs013.html @@ -115,67 +115,6 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 2, None, 'the-cart-algorithm-for-regression'), - ('Computing the Gini index', 2, None, 'computing-the-gini-index'), - ('Simple Python Code to read in Data and perform Classification', - 2, - None, - 'simple-python-code-to-read-in-data-and-perform-classification'), - ('Computing the Gini Factor', - 2, - None, - 'computing-the-gini-factor'), - ('Entropy and the ID3 algorithm', - 2, - None, - 'entropy-and-the-id3-algorithm'), - ('Cancer Data again now with Decision Trees and other Methods', - 2, - None, - 'cancer-data-again-now-with-decision-trees-and-other-methods'), - ('Another example, the moons again', - 2, - None, - 'another-example-the-moons-again'), - ('Playing around with regions', - 2, - None, - 'playing-around-with-regions'), - ('Regression trees', 2, None, 'regression-trees'), - ('Final regressor code', 2, None, 'final-regressor-code'), - ('Pros and cons of trees, pros', - 2, - None, - 'pros-and-cons-of-trees-pros'), - ('Disadvantages', 2, None, 'disadvantages'), - ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' - 'Boosting, Meet the Jungle of Methods', - 2, - None, - 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), - ('An Overview of Ensemble Methods', - 2, - None, - 'an-overview-of-ensemble-methods'), - ('Bagging', 2, None, 'bagging'), - ('More bagging', 2, None, 'more-bagging'), - ('Simple Voting Example, head or tail', - 2, - None, - 'simple-voting-example-head-or-tail'), - ('Using the Voting Classifier', - 2, - None, - 'using-the-voting-classifier'), - ('Please, not the moons again! Voting and Bagging', - 2, - None, - 'please-not-the-moons-again-voting-and-bagging'), - ('Bagging Examples', 2, None, 'bagging-examples'), - ('Making your own Bootstrap: Changing the Level of the Decision ' - 'Tree', - 2, - None, - 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why binary splits?', 2, None, 'why-binary-splits'), ('Computing a Tree using the Gini Index', 2, @@ -250,6 +189,70 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 'playing-around-with-regions'), ('Regression trees', 2, None, 'regression-trees'), ('Final regressor code', 2, None, 'final-regressor-code'), + ('Example: Computing the Gini index', + 2, + None, + 'example-computing-the-gini-index'), + ('Simple Python Code to read in Data and perform Classification', + 2, + None, + 'simple-python-code-to-read-in-data-and-perform-classification'), + ('Computing the Gini Factor', + 2, + None, + 'computing-the-gini-factor'), + ('Entropy and the ID3 algorithm', + 2, + None, + 'entropy-and-the-id3-algorithm'), + ('Cancer Data again now with Decision Trees and other Methods', + 2, + None, + 'cancer-data-again-now-with-decision-trees-and-other-methods'), + ('Another example, the moons again', + 2, + None, + 'another-example-the-moons-again'), + ('Playing around with regions', + 2, + None, + 'playing-around-with-regions'), + ('Regression trees', 2, None, 'regression-trees'), + ('Final regressor code', 2, None, 'final-regressor-code'), + ('Pros and cons of trees, pros', + 2, + None, + 'pros-and-cons-of-trees-pros'), + ('Disadvantages', 2, None, 'disadvantages'), + ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' + 'Boosting, Meet the Jungle of Methods', + 2, + None, + 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), + ('An Overview of Ensemble Methods', + 2, + None, + 'an-overview-of-ensemble-methods'), + ('Bagging', 2, None, 'bagging'), + ('More bagging', 2, None, 'more-bagging'), + ('Simple Voting Example, head or tail', + 2, + None, + 'simple-voting-example-head-or-tail'), + ('Using the Voting Classifier', + 2, + None, + 'using-the-voting-classifier'), + ('Please, not the moons again! Voting and Bagging', + 2, + None, + 'please-not-the-moons-again-voting-and-bagging'), + ('Bagging Examples', 2, None, 'bagging-examples'), + ('Making your own Bootstrap: Changing the Level of the Decision ' + 'Tree', + 2, + None, + 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why Voting?', 2, None, 'why-voting'), ('Tossing coins', 2, None, 'tossing-coins'), ('Standard imports first', 2, None, 'standard-imports-first'), @@ -327,55 +330,55 @@ MathJax.Hub.Config({
  • Growing a classification tree
  • Classification tree, how to split nodes
  • Visualizing the Tree, Classification
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • -
  • Pros and cons of trees, pros
  • -
  • Disadvantages
  • -
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • -
  • An Overview of Ensemble Methods
  • -
  • Bagging
  • -
  • More bagging
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Why binary splits?
  • +
  • Computing a Tree using the Gini Index
  • +
  • The Table
  • +
  • Computing the various Gini Indices
  • +
  • Computing the various Gini Indices, Hours slept
  • +
  • Computing the various Gini Indices, Hours studied
  • +
  • A possible code using Scikit-Learn
  • +
  • Visualizing Trees, More examples
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Example: Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Pros and cons of trees, pros
  • +
  • Disadvantages
  • +
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • +
  • An Overview of Ensemble Methods
  • +
  • Bagging
  • +
  • More bagging
  • Simple Voting Example, head or tail
  • Using the Voting Classifier
  • -
  • Please, not the moons again! Voting and Bagging
  • -
  • Bagging Examples
  • -
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • -
  • Why binary splits?
  • -
  • Computing a Tree using the Gini Index
  • -
  • The Table
  • -
  • Computing the various Gini Indices
  • -
  • Computing the various Gini Indices, Hours slept
  • -
  • Computing the various Gini Indices, Hours studied
  • -
  • A possible code using Scikit-Learn
  • -
  • Visualizing Trees, More examples
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • +
  • Please, not the moons again! Voting and Bagging
  • +
  • Bagging Examples
  • +
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • Why Voting?
  • Tossing coins
  • Standard imports first
  • diff --git a/doc/pub/week44/html/._week44-bs014.html b/doc/pub/week44/html/._week44-bs014.html index 55c1b7cb0..cb10f64e4 100644 --- a/doc/pub/week44/html/._week44-bs014.html +++ b/doc/pub/week44/html/._week44-bs014.html @@ -115,67 +115,6 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 2, None, 'the-cart-algorithm-for-regression'), - ('Computing the Gini index', 2, None, 'computing-the-gini-index'), - ('Simple Python Code to read in Data and perform Classification', - 2, - None, - 'simple-python-code-to-read-in-data-and-perform-classification'), - ('Computing the Gini Factor', - 2, - None, - 'computing-the-gini-factor'), - ('Entropy and the ID3 algorithm', - 2, - None, - 'entropy-and-the-id3-algorithm'), - ('Cancer Data again now with Decision Trees and other Methods', - 2, - None, - 'cancer-data-again-now-with-decision-trees-and-other-methods'), - ('Another example, the moons again', - 2, - None, - 'another-example-the-moons-again'), - ('Playing around with regions', - 2, - None, - 'playing-around-with-regions'), - ('Regression trees', 2, None, 'regression-trees'), - ('Final regressor code', 2, None, 'final-regressor-code'), - ('Pros and cons of trees, pros', - 2, - None, - 'pros-and-cons-of-trees-pros'), - ('Disadvantages', 2, None, 'disadvantages'), - ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' - 'Boosting, Meet the Jungle of Methods', - 2, - None, - 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), - ('An Overview of Ensemble Methods', - 2, - None, - 'an-overview-of-ensemble-methods'), - ('Bagging', 2, None, 'bagging'), - ('More bagging', 2, None, 'more-bagging'), - ('Simple Voting Example, head or tail', - 2, - None, - 'simple-voting-example-head-or-tail'), - ('Using the Voting Classifier', - 2, - None, - 'using-the-voting-classifier'), - ('Please, not the moons again! Voting and Bagging', - 2, - None, - 'please-not-the-moons-again-voting-and-bagging'), - ('Bagging Examples', 2, None, 'bagging-examples'), - ('Making your own Bootstrap: Changing the Level of the Decision ' - 'Tree', - 2, - None, - 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why binary splits?', 2, None, 'why-binary-splits'), ('Computing a Tree using the Gini Index', 2, @@ -250,6 +189,70 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 'playing-around-with-regions'), ('Regression trees', 2, None, 'regression-trees'), ('Final regressor code', 2, None, 'final-regressor-code'), + ('Example: Computing the Gini index', + 2, + None, + 'example-computing-the-gini-index'), + ('Simple Python Code to read in Data and perform Classification', + 2, + None, + 'simple-python-code-to-read-in-data-and-perform-classification'), + ('Computing the Gini Factor', + 2, + None, + 'computing-the-gini-factor'), + ('Entropy and the ID3 algorithm', + 2, + None, + 'entropy-and-the-id3-algorithm'), + ('Cancer Data again now with Decision Trees and other Methods', + 2, + None, + 'cancer-data-again-now-with-decision-trees-and-other-methods'), + ('Another example, the moons again', + 2, + None, + 'another-example-the-moons-again'), + ('Playing around with regions', + 2, + None, + 'playing-around-with-regions'), + ('Regression trees', 2, None, 'regression-trees'), + ('Final regressor code', 2, None, 'final-regressor-code'), + ('Pros and cons of trees, pros', + 2, + None, + 'pros-and-cons-of-trees-pros'), + ('Disadvantages', 2, None, 'disadvantages'), + ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' + 'Boosting, Meet the Jungle of Methods', + 2, + None, + 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), + ('An Overview of Ensemble Methods', + 2, + None, + 'an-overview-of-ensemble-methods'), + ('Bagging', 2, None, 'bagging'), + ('More bagging', 2, None, 'more-bagging'), + ('Simple Voting Example, head or tail', + 2, + None, + 'simple-voting-example-head-or-tail'), + ('Using the Voting Classifier', + 2, + None, + 'using-the-voting-classifier'), + ('Please, not the moons again! Voting and Bagging', + 2, + None, + 'please-not-the-moons-again-voting-and-bagging'), + ('Bagging Examples', 2, None, 'bagging-examples'), + ('Making your own Bootstrap: Changing the Level of the Decision ' + 'Tree', + 2, + None, + 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why Voting?', 2, None, 'why-voting'), ('Tossing coins', 2, None, 'tossing-coins'), ('Standard imports first', 2, None, 'standard-imports-first'), @@ -327,55 +330,55 @@ MathJax.Hub.Config({
  • Growing a classification tree
  • Classification tree, how to split nodes
  • Visualizing the Tree, Classification
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • -
  • Pros and cons of trees, pros
  • -
  • Disadvantages
  • -
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • -
  • An Overview of Ensemble Methods
  • -
  • Bagging
  • -
  • More bagging
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Why binary splits?
  • +
  • Computing a Tree using the Gini Index
  • +
  • The Table
  • +
  • Computing the various Gini Indices
  • +
  • Computing the various Gini Indices, Hours slept
  • +
  • Computing the various Gini Indices, Hours studied
  • +
  • A possible code using Scikit-Learn
  • +
  • Visualizing Trees, More examples
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Example: Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Pros and cons of trees, pros
  • +
  • Disadvantages
  • +
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • +
  • An Overview of Ensemble Methods
  • +
  • Bagging
  • +
  • More bagging
  • Simple Voting Example, head or tail
  • Using the Voting Classifier
  • -
  • Please, not the moons again! Voting and Bagging
  • -
  • Bagging Examples
  • -
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • -
  • Why binary splits?
  • -
  • Computing a Tree using the Gini Index
  • -
  • The Table
  • -
  • Computing the various Gini Indices
  • -
  • Computing the various Gini Indices, Hours slept
  • -
  • Computing the various Gini Indices, Hours studied
  • -
  • A possible code using Scikit-Learn
  • -
  • Visualizing Trees, More examples
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • +
  • Please, not the moons again! Voting and Bagging
  • +
  • Bagging Examples
  • +
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • Why Voting?
  • Tossing coins
  • Standard imports first
  • diff --git a/doc/pub/week44/html/._week44-bs015.html b/doc/pub/week44/html/._week44-bs015.html index 21bf54e15..6a8e8662c 100644 --- a/doc/pub/week44/html/._week44-bs015.html +++ b/doc/pub/week44/html/._week44-bs015.html @@ -115,67 +115,6 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 2, None, 'the-cart-algorithm-for-regression'), - ('Computing the Gini index', 2, None, 'computing-the-gini-index'), - ('Simple Python Code to read in Data and perform Classification', - 2, - None, - 'simple-python-code-to-read-in-data-and-perform-classification'), - ('Computing the Gini Factor', - 2, - None, - 'computing-the-gini-factor'), - ('Entropy and the ID3 algorithm', - 2, - None, - 'entropy-and-the-id3-algorithm'), - ('Cancer Data again now with Decision Trees and other Methods', - 2, - None, - 'cancer-data-again-now-with-decision-trees-and-other-methods'), - ('Another example, the moons again', - 2, - None, - 'another-example-the-moons-again'), - ('Playing around with regions', - 2, - None, - 'playing-around-with-regions'), - ('Regression trees', 2, None, 'regression-trees'), - ('Final regressor code', 2, None, 'final-regressor-code'), - ('Pros and cons of trees, pros', - 2, - None, - 'pros-and-cons-of-trees-pros'), - ('Disadvantages', 2, None, 'disadvantages'), - ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' - 'Boosting, Meet the Jungle of Methods', - 2, - None, - 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), - ('An Overview of Ensemble Methods', - 2, - None, - 'an-overview-of-ensemble-methods'), - ('Bagging', 2, None, 'bagging'), - ('More bagging', 2, None, 'more-bagging'), - ('Simple Voting Example, head or tail', - 2, - None, - 'simple-voting-example-head-or-tail'), - ('Using the Voting Classifier', - 2, - None, - 'using-the-voting-classifier'), - ('Please, not the moons again! Voting and Bagging', - 2, - None, - 'please-not-the-moons-again-voting-and-bagging'), - ('Bagging Examples', 2, None, 'bagging-examples'), - ('Making your own Bootstrap: Changing the Level of the Decision ' - 'Tree', - 2, - None, - 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why binary splits?', 2, None, 'why-binary-splits'), ('Computing a Tree using the Gini Index', 2, @@ -250,6 +189,70 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 'playing-around-with-regions'), ('Regression trees', 2, None, 'regression-trees'), ('Final regressor code', 2, None, 'final-regressor-code'), + ('Example: Computing the Gini index', + 2, + None, + 'example-computing-the-gini-index'), + ('Simple Python Code to read in Data and perform Classification', + 2, + None, + 'simple-python-code-to-read-in-data-and-perform-classification'), + ('Computing the Gini Factor', + 2, + None, + 'computing-the-gini-factor'), + ('Entropy and the ID3 algorithm', + 2, + None, + 'entropy-and-the-id3-algorithm'), + ('Cancer Data again now with Decision Trees and other Methods', + 2, + None, + 'cancer-data-again-now-with-decision-trees-and-other-methods'), + ('Another example, the moons again', + 2, + None, + 'another-example-the-moons-again'), + ('Playing around with regions', + 2, + None, + 'playing-around-with-regions'), + ('Regression trees', 2, None, 'regression-trees'), + ('Final regressor code', 2, None, 'final-regressor-code'), + ('Pros and cons of trees, pros', + 2, + None, + 'pros-and-cons-of-trees-pros'), + ('Disadvantages', 2, None, 'disadvantages'), + ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' + 'Boosting, Meet the Jungle of Methods', + 2, + None, + 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), + ('An Overview of Ensemble Methods', + 2, + None, + 'an-overview-of-ensemble-methods'), + ('Bagging', 2, None, 'bagging'), + ('More bagging', 2, None, 'more-bagging'), + ('Simple Voting Example, head or tail', + 2, + None, + 'simple-voting-example-head-or-tail'), + ('Using the Voting Classifier', + 2, + None, + 'using-the-voting-classifier'), + ('Please, not the moons again! Voting and Bagging', + 2, + None, + 'please-not-the-moons-again-voting-and-bagging'), + ('Bagging Examples', 2, None, 'bagging-examples'), + ('Making your own Bootstrap: Changing the Level of the Decision ' + 'Tree', + 2, + None, + 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why Voting?', 2, None, 'why-voting'), ('Tossing coins', 2, None, 'tossing-coins'), ('Standard imports first', 2, None, 'standard-imports-first'), @@ -327,55 +330,55 @@ MathJax.Hub.Config({
  • Growing a classification tree
  • Classification tree, how to split nodes
  • Visualizing the Tree, Classification
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • -
  • Pros and cons of trees, pros
  • -
  • Disadvantages
  • -
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • -
  • An Overview of Ensemble Methods
  • -
  • Bagging
  • -
  • More bagging
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Why binary splits?
  • +
  • Computing a Tree using the Gini Index
  • +
  • The Table
  • +
  • Computing the various Gini Indices
  • +
  • Computing the various Gini Indices, Hours slept
  • +
  • Computing the various Gini Indices, Hours studied
  • +
  • A possible code using Scikit-Learn
  • +
  • Visualizing Trees, More examples
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Example: Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Pros and cons of trees, pros
  • +
  • Disadvantages
  • +
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • +
  • An Overview of Ensemble Methods
  • +
  • Bagging
  • +
  • More bagging
  • Simple Voting Example, head or tail
  • Using the Voting Classifier
  • -
  • Please, not the moons again! Voting and Bagging
  • -
  • Bagging Examples
  • -
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • -
  • Why binary splits?
  • -
  • Computing a Tree using the Gini Index
  • -
  • The Table
  • -
  • Computing the various Gini Indices
  • -
  • Computing the various Gini Indices, Hours slept
  • -
  • Computing the various Gini Indices, Hours studied
  • -
  • A possible code using Scikit-Learn
  • -
  • Visualizing Trees, More examples
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • +
  • Please, not the moons again! Voting and Bagging
  • +
  • Bagging Examples
  • +
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • Why Voting?
  • Tossing coins
  • Standard imports first
  • diff --git a/doc/pub/week44/html/._week44-bs016.html b/doc/pub/week44/html/._week44-bs016.html index 7445e0486..829de27fb 100644 --- a/doc/pub/week44/html/._week44-bs016.html +++ b/doc/pub/week44/html/._week44-bs016.html @@ -115,67 +115,6 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 2, None, 'the-cart-algorithm-for-regression'), - ('Computing the Gini index', 2, None, 'computing-the-gini-index'), - ('Simple Python Code to read in Data and perform Classification', - 2, - None, - 'simple-python-code-to-read-in-data-and-perform-classification'), - ('Computing the Gini Factor', - 2, - None, - 'computing-the-gini-factor'), - ('Entropy and the ID3 algorithm', - 2, - None, - 'entropy-and-the-id3-algorithm'), - ('Cancer Data again now with Decision Trees and other Methods', - 2, - None, - 'cancer-data-again-now-with-decision-trees-and-other-methods'), - ('Another example, the moons again', - 2, - None, - 'another-example-the-moons-again'), - ('Playing around with regions', - 2, - None, - 'playing-around-with-regions'), - ('Regression trees', 2, None, 'regression-trees'), - ('Final regressor code', 2, None, 'final-regressor-code'), - ('Pros and cons of trees, pros', - 2, - None, - 'pros-and-cons-of-trees-pros'), - ('Disadvantages', 2, None, 'disadvantages'), - ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' - 'Boosting, Meet the Jungle of Methods', - 2, - None, - 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), - ('An Overview of Ensemble Methods', - 2, - None, - 'an-overview-of-ensemble-methods'), - ('Bagging', 2, None, 'bagging'), - ('More bagging', 2, None, 'more-bagging'), - ('Simple Voting Example, head or tail', - 2, - None, - 'simple-voting-example-head-or-tail'), - ('Using the Voting Classifier', - 2, - None, - 'using-the-voting-classifier'), - ('Please, not the moons again! Voting and Bagging', - 2, - None, - 'please-not-the-moons-again-voting-and-bagging'), - ('Bagging Examples', 2, None, 'bagging-examples'), - ('Making your own Bootstrap: Changing the Level of the Decision ' - 'Tree', - 2, - None, - 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why binary splits?', 2, None, 'why-binary-splits'), ('Computing a Tree using the Gini Index', 2, @@ -250,6 +189,70 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 'playing-around-with-regions'), ('Regression trees', 2, None, 'regression-trees'), ('Final regressor code', 2, None, 'final-regressor-code'), + ('Example: Computing the Gini index', + 2, + None, + 'example-computing-the-gini-index'), + ('Simple Python Code to read in Data and perform Classification', + 2, + None, + 'simple-python-code-to-read-in-data-and-perform-classification'), + ('Computing the Gini Factor', + 2, + None, + 'computing-the-gini-factor'), + ('Entropy and the ID3 algorithm', + 2, + None, + 'entropy-and-the-id3-algorithm'), + ('Cancer Data again now with Decision Trees and other Methods', + 2, + None, + 'cancer-data-again-now-with-decision-trees-and-other-methods'), + ('Another example, the moons again', + 2, + None, + 'another-example-the-moons-again'), + ('Playing around with regions', + 2, + None, + 'playing-around-with-regions'), + ('Regression trees', 2, None, 'regression-trees'), + ('Final regressor code', 2, None, 'final-regressor-code'), + ('Pros and cons of trees, pros', + 2, + None, + 'pros-and-cons-of-trees-pros'), + ('Disadvantages', 2, None, 'disadvantages'), + ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' + 'Boosting, Meet the Jungle of Methods', + 2, + None, + 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), + ('An Overview of Ensemble Methods', + 2, + None, + 'an-overview-of-ensemble-methods'), + ('Bagging', 2, None, 'bagging'), + ('More bagging', 2, None, 'more-bagging'), + ('Simple Voting Example, head or tail', + 2, + None, + 'simple-voting-example-head-or-tail'), + ('Using the Voting Classifier', + 2, + None, + 'using-the-voting-classifier'), + ('Please, not the moons again! Voting and Bagging', + 2, + None, + 'please-not-the-moons-again-voting-and-bagging'), + ('Bagging Examples', 2, None, 'bagging-examples'), + ('Making your own Bootstrap: Changing the Level of the Decision ' + 'Tree', + 2, + None, + 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why Voting?', 2, None, 'why-voting'), ('Tossing coins', 2, None, 'tossing-coins'), ('Standard imports first', 2, None, 'standard-imports-first'), @@ -327,55 +330,55 @@ MathJax.Hub.Config({
  • Growing a classification tree
  • Classification tree, how to split nodes
  • Visualizing the Tree, Classification
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • -
  • Pros and cons of trees, pros
  • -
  • Disadvantages
  • -
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • -
  • An Overview of Ensemble Methods
  • -
  • Bagging
  • -
  • More bagging
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Why binary splits?
  • +
  • Computing a Tree using the Gini Index
  • +
  • The Table
  • +
  • Computing the various Gini Indices
  • +
  • Computing the various Gini Indices, Hours slept
  • +
  • Computing the various Gini Indices, Hours studied
  • +
  • A possible code using Scikit-Learn
  • +
  • Visualizing Trees, More examples
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Example: Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Pros and cons of trees, pros
  • +
  • Disadvantages
  • +
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • +
  • An Overview of Ensemble Methods
  • +
  • Bagging
  • +
  • More bagging
  • Simple Voting Example, head or tail
  • Using the Voting Classifier
  • -
  • Please, not the moons again! Voting and Bagging
  • -
  • Bagging Examples
  • -
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • -
  • Why binary splits?
  • -
  • Computing a Tree using the Gini Index
  • -
  • The Table
  • -
  • Computing the various Gini Indices
  • -
  • Computing the various Gini Indices, Hours slept
  • -
  • Computing the various Gini Indices, Hours studied
  • -
  • A possible code using Scikit-Learn
  • -
  • Visualizing Trees, More examples
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • +
  • Please, not the moons again! Voting and Bagging
  • +
  • Bagging Examples
  • +
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • Why Voting?
  • Tossing coins
  • Standard imports first
  • diff --git a/doc/pub/week44/html/._week44-bs017.html b/doc/pub/week44/html/._week44-bs017.html index 2cedd4d78..59888e99b 100644 --- a/doc/pub/week44/html/._week44-bs017.html +++ b/doc/pub/week44/html/._week44-bs017.html @@ -115,67 +115,6 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 2, None, 'the-cart-algorithm-for-regression'), - ('Computing the Gini index', 2, None, 'computing-the-gini-index'), - ('Simple Python Code to read in Data and perform Classification', - 2, - None, - 'simple-python-code-to-read-in-data-and-perform-classification'), - ('Computing the Gini Factor', - 2, - None, - 'computing-the-gini-factor'), - ('Entropy and the ID3 algorithm', - 2, - None, - 'entropy-and-the-id3-algorithm'), - ('Cancer Data again now with Decision Trees and other Methods', - 2, - None, - 'cancer-data-again-now-with-decision-trees-and-other-methods'), - ('Another example, the moons again', - 2, - None, - 'another-example-the-moons-again'), - ('Playing around with regions', - 2, - None, - 'playing-around-with-regions'), - ('Regression trees', 2, None, 'regression-trees'), - ('Final regressor code', 2, None, 'final-regressor-code'), - ('Pros and cons of trees, pros', - 2, - None, - 'pros-and-cons-of-trees-pros'), - ('Disadvantages', 2, None, 'disadvantages'), - ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' - 'Boosting, Meet the Jungle of Methods', - 2, - None, - 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), - ('An Overview of Ensemble Methods', - 2, - None, - 'an-overview-of-ensemble-methods'), - ('Bagging', 2, None, 'bagging'), - ('More bagging', 2, None, 'more-bagging'), - ('Simple Voting Example, head or tail', - 2, - None, - 'simple-voting-example-head-or-tail'), - ('Using the Voting Classifier', - 2, - None, - 'using-the-voting-classifier'), - ('Please, not the moons again! Voting and Bagging', - 2, - None, - 'please-not-the-moons-again-voting-and-bagging'), - ('Bagging Examples', 2, None, 'bagging-examples'), - ('Making your own Bootstrap: Changing the Level of the Decision ' - 'Tree', - 2, - None, - 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why binary splits?', 2, None, 'why-binary-splits'), ('Computing a Tree using the Gini Index', 2, @@ -250,6 +189,70 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 'playing-around-with-regions'), ('Regression trees', 2, None, 'regression-trees'), ('Final regressor code', 2, None, 'final-regressor-code'), + ('Example: Computing the Gini index', + 2, + None, + 'example-computing-the-gini-index'), + ('Simple Python Code to read in Data and perform Classification', + 2, + None, + 'simple-python-code-to-read-in-data-and-perform-classification'), + ('Computing the Gini Factor', + 2, + None, + 'computing-the-gini-factor'), + ('Entropy and the ID3 algorithm', + 2, + None, + 'entropy-and-the-id3-algorithm'), + ('Cancer Data again now with Decision Trees and other Methods', + 2, + None, + 'cancer-data-again-now-with-decision-trees-and-other-methods'), + ('Another example, the moons again', + 2, + None, + 'another-example-the-moons-again'), + ('Playing around with regions', + 2, + None, + 'playing-around-with-regions'), + ('Regression trees', 2, None, 'regression-trees'), + ('Final regressor code', 2, None, 'final-regressor-code'), + ('Pros and cons of trees, pros', + 2, + None, + 'pros-and-cons-of-trees-pros'), + ('Disadvantages', 2, None, 'disadvantages'), + ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' + 'Boosting, Meet the Jungle of Methods', + 2, + None, + 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), + ('An Overview of Ensemble Methods', + 2, + None, + 'an-overview-of-ensemble-methods'), + ('Bagging', 2, None, 'bagging'), + ('More bagging', 2, None, 'more-bagging'), + ('Simple Voting Example, head or tail', + 2, + None, + 'simple-voting-example-head-or-tail'), + ('Using the Voting Classifier', + 2, + None, + 'using-the-voting-classifier'), + ('Please, not the moons again! Voting and Bagging', + 2, + None, + 'please-not-the-moons-again-voting-and-bagging'), + ('Bagging Examples', 2, None, 'bagging-examples'), + ('Making your own Bootstrap: Changing the Level of the Decision ' + 'Tree', + 2, + None, + 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why Voting?', 2, None, 'why-voting'), ('Tossing coins', 2, None, 'tossing-coins'), ('Standard imports first', 2, None, 'standard-imports-first'), @@ -327,55 +330,55 @@ MathJax.Hub.Config({
  • Growing a classification tree
  • Classification tree, how to split nodes
  • Visualizing the Tree, Classification
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • -
  • Pros and cons of trees, pros
  • -
  • Disadvantages
  • -
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • -
  • An Overview of Ensemble Methods
  • -
  • Bagging
  • -
  • More bagging
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Why binary splits?
  • +
  • Computing a Tree using the Gini Index
  • +
  • The Table
  • +
  • Computing the various Gini Indices
  • +
  • Computing the various Gini Indices, Hours slept
  • +
  • Computing the various Gini Indices, Hours studied
  • +
  • A possible code using Scikit-Learn
  • +
  • Visualizing Trees, More examples
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Example: Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Pros and cons of trees, pros
  • +
  • Disadvantages
  • +
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • +
  • An Overview of Ensemble Methods
  • +
  • Bagging
  • +
  • More bagging
  • Simple Voting Example, head or tail
  • Using the Voting Classifier
  • -
  • Please, not the moons again! Voting and Bagging
  • -
  • Bagging Examples
  • -
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • -
  • Why binary splits?
  • -
  • Computing a Tree using the Gini Index
  • -
  • The Table
  • -
  • Computing the various Gini Indices
  • -
  • Computing the various Gini Indices, Hours slept
  • -
  • Computing the various Gini Indices, Hours studied
  • -
  • A possible code using Scikit-Learn
  • -
  • Visualizing Trees, More examples
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • +
  • Please, not the moons again! Voting and Bagging
  • +
  • Bagging Examples
  • +
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • Why Voting?
  • Tossing coins
  • Standard imports first
  • diff --git a/doc/pub/week44/html/._week44-bs018.html b/doc/pub/week44/html/._week44-bs018.html index 3f7c65e2a..faa5f2f0f 100644 --- a/doc/pub/week44/html/._week44-bs018.html +++ b/doc/pub/week44/html/._week44-bs018.html @@ -115,67 +115,6 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 2, None, 'the-cart-algorithm-for-regression'), - ('Computing the Gini index', 2, None, 'computing-the-gini-index'), - ('Simple Python Code to read in Data and perform Classification', - 2, - None, - 'simple-python-code-to-read-in-data-and-perform-classification'), - ('Computing the Gini Factor', - 2, - None, - 'computing-the-gini-factor'), - ('Entropy and the ID3 algorithm', - 2, - None, - 'entropy-and-the-id3-algorithm'), - ('Cancer Data again now with Decision Trees and other Methods', - 2, - None, - 'cancer-data-again-now-with-decision-trees-and-other-methods'), - ('Another example, the moons again', - 2, - None, - 'another-example-the-moons-again'), - ('Playing around with regions', - 2, - None, - 'playing-around-with-regions'), - ('Regression trees', 2, None, 'regression-trees'), - ('Final regressor code', 2, None, 'final-regressor-code'), - ('Pros and cons of trees, pros', - 2, - None, - 'pros-and-cons-of-trees-pros'), - ('Disadvantages', 2, None, 'disadvantages'), - ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' - 'Boosting, Meet the Jungle of Methods', - 2, - None, - 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), - ('An Overview of Ensemble Methods', - 2, - None, - 'an-overview-of-ensemble-methods'), - ('Bagging', 2, None, 'bagging'), - ('More bagging', 2, None, 'more-bagging'), - ('Simple Voting Example, head or tail', - 2, - None, - 'simple-voting-example-head-or-tail'), - ('Using the Voting Classifier', - 2, - None, - 'using-the-voting-classifier'), - ('Please, not the moons again! Voting and Bagging', - 2, - None, - 'please-not-the-moons-again-voting-and-bagging'), - ('Bagging Examples', 2, None, 'bagging-examples'), - ('Making your own Bootstrap: Changing the Level of the Decision ' - 'Tree', - 2, - None, - 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why binary splits?', 2, None, 'why-binary-splits'), ('Computing a Tree using the Gini Index', 2, @@ -250,6 +189,70 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 'playing-around-with-regions'), ('Regression trees', 2, None, 'regression-trees'), ('Final regressor code', 2, None, 'final-regressor-code'), + ('Example: Computing the Gini index', + 2, + None, + 'example-computing-the-gini-index'), + ('Simple Python Code to read in Data and perform Classification', + 2, + None, + 'simple-python-code-to-read-in-data-and-perform-classification'), + ('Computing the Gini Factor', + 2, + None, + 'computing-the-gini-factor'), + ('Entropy and the ID3 algorithm', + 2, + None, + 'entropy-and-the-id3-algorithm'), + ('Cancer Data again now with Decision Trees and other Methods', + 2, + None, + 'cancer-data-again-now-with-decision-trees-and-other-methods'), + ('Another example, the moons again', + 2, + None, + 'another-example-the-moons-again'), + ('Playing around with regions', + 2, + None, + 'playing-around-with-regions'), + ('Regression trees', 2, None, 'regression-trees'), + ('Final regressor code', 2, None, 'final-regressor-code'), + ('Pros and cons of trees, pros', + 2, + None, + 'pros-and-cons-of-trees-pros'), + ('Disadvantages', 2, None, 'disadvantages'), + ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' + 'Boosting, Meet the Jungle of Methods', + 2, + None, + 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), + ('An Overview of Ensemble Methods', + 2, + None, + 'an-overview-of-ensemble-methods'), + ('Bagging', 2, None, 'bagging'), + ('More bagging', 2, None, 'more-bagging'), + ('Simple Voting Example, head or tail', + 2, + None, + 'simple-voting-example-head-or-tail'), + ('Using the Voting Classifier', + 2, + None, + 'using-the-voting-classifier'), + ('Please, not the moons again! Voting and Bagging', + 2, + None, + 'please-not-the-moons-again-voting-and-bagging'), + ('Bagging Examples', 2, None, 'bagging-examples'), + ('Making your own Bootstrap: Changing the Level of the Decision ' + 'Tree', + 2, + None, + 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why Voting?', 2, None, 'why-voting'), ('Tossing coins', 2, None, 'tossing-coins'), ('Standard imports first', 2, None, 'standard-imports-first'), @@ -327,55 +330,55 @@ MathJax.Hub.Config({
  • Growing a classification tree
  • Classification tree, how to split nodes
  • Visualizing the Tree, Classification
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • -
  • Pros and cons of trees, pros
  • -
  • Disadvantages
  • -
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • -
  • An Overview of Ensemble Methods
  • -
  • Bagging
  • -
  • More bagging
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Why binary splits?
  • +
  • Computing a Tree using the Gini Index
  • +
  • The Table
  • +
  • Computing the various Gini Indices
  • +
  • Computing the various Gini Indices, Hours slept
  • +
  • Computing the various Gini Indices, Hours studied
  • +
  • A possible code using Scikit-Learn
  • +
  • Visualizing Trees, More examples
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Example: Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Pros and cons of trees, pros
  • +
  • Disadvantages
  • +
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • +
  • An Overview of Ensemble Methods
  • +
  • Bagging
  • +
  • More bagging
  • Simple Voting Example, head or tail
  • Using the Voting Classifier
  • -
  • Please, not the moons again! Voting and Bagging
  • -
  • Bagging Examples
  • -
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • -
  • Why binary splits?
  • -
  • Computing a Tree using the Gini Index
  • -
  • The Table
  • -
  • Computing the various Gini Indices
  • -
  • Computing the various Gini Indices, Hours slept
  • -
  • Computing the various Gini Indices, Hours studied
  • -
  • A possible code using Scikit-Learn
  • -
  • Visualizing Trees, More examples
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • +
  • Please, not the moons again! Voting and Bagging
  • +
  • Bagging Examples
  • +
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • Why Voting?
  • Tossing coins
  • Standard imports first
  • diff --git a/doc/pub/week44/html/._week44-bs019.html b/doc/pub/week44/html/._week44-bs019.html index 23e70c476..0456134d4 100644 --- a/doc/pub/week44/html/._week44-bs019.html +++ b/doc/pub/week44/html/._week44-bs019.html @@ -115,67 +115,6 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 2, None, 'the-cart-algorithm-for-regression'), - ('Computing the Gini index', 2, None, 'computing-the-gini-index'), - ('Simple Python Code to read in Data and perform Classification', - 2, - None, - 'simple-python-code-to-read-in-data-and-perform-classification'), - ('Computing the Gini Factor', - 2, - None, - 'computing-the-gini-factor'), - ('Entropy and the ID3 algorithm', - 2, - None, - 'entropy-and-the-id3-algorithm'), - ('Cancer Data again now with Decision Trees and other Methods', - 2, - None, - 'cancer-data-again-now-with-decision-trees-and-other-methods'), - ('Another example, the moons again', - 2, - None, - 'another-example-the-moons-again'), - ('Playing around with regions', - 2, - None, - 'playing-around-with-regions'), - ('Regression trees', 2, None, 'regression-trees'), - ('Final regressor code', 2, None, 'final-regressor-code'), - ('Pros and cons of trees, pros', - 2, - None, - 'pros-and-cons-of-trees-pros'), - ('Disadvantages', 2, None, 'disadvantages'), - ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' - 'Boosting, Meet the Jungle of Methods', - 2, - None, - 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), - ('An Overview of Ensemble Methods', - 2, - None, - 'an-overview-of-ensemble-methods'), - ('Bagging', 2, None, 'bagging'), - ('More bagging', 2, None, 'more-bagging'), - ('Simple Voting Example, head or tail', - 2, - None, - 'simple-voting-example-head-or-tail'), - ('Using the Voting Classifier', - 2, - None, - 'using-the-voting-classifier'), - ('Please, not the moons again! Voting and Bagging', - 2, - None, - 'please-not-the-moons-again-voting-and-bagging'), - ('Bagging Examples', 2, None, 'bagging-examples'), - ('Making your own Bootstrap: Changing the Level of the Decision ' - 'Tree', - 2, - None, - 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why binary splits?', 2, None, 'why-binary-splits'), ('Computing a Tree using the Gini Index', 2, @@ -250,6 +189,70 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 'playing-around-with-regions'), ('Regression trees', 2, None, 'regression-trees'), ('Final regressor code', 2, None, 'final-regressor-code'), + ('Example: Computing the Gini index', + 2, + None, + 'example-computing-the-gini-index'), + ('Simple Python Code to read in Data and perform Classification', + 2, + None, + 'simple-python-code-to-read-in-data-and-perform-classification'), + ('Computing the Gini Factor', + 2, + None, + 'computing-the-gini-factor'), + ('Entropy and the ID3 algorithm', + 2, + None, + 'entropy-and-the-id3-algorithm'), + ('Cancer Data again now with Decision Trees and other Methods', + 2, + None, + 'cancer-data-again-now-with-decision-trees-and-other-methods'), + ('Another example, the moons again', + 2, + None, + 'another-example-the-moons-again'), + ('Playing around with regions', + 2, + None, + 'playing-around-with-regions'), + ('Regression trees', 2, None, 'regression-trees'), + ('Final regressor code', 2, None, 'final-regressor-code'), + ('Pros and cons of trees, pros', + 2, + None, + 'pros-and-cons-of-trees-pros'), + ('Disadvantages', 2, None, 'disadvantages'), + ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' + 'Boosting, Meet the Jungle of Methods', + 2, + None, + 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), + ('An Overview of Ensemble Methods', + 2, + None, + 'an-overview-of-ensemble-methods'), + ('Bagging', 2, None, 'bagging'), + ('More bagging', 2, None, 'more-bagging'), + ('Simple Voting Example, head or tail', + 2, + None, + 'simple-voting-example-head-or-tail'), + ('Using the Voting Classifier', + 2, + None, + 'using-the-voting-classifier'), + ('Please, not the moons again! Voting and Bagging', + 2, + None, + 'please-not-the-moons-again-voting-and-bagging'), + ('Bagging Examples', 2, None, 'bagging-examples'), + ('Making your own Bootstrap: Changing the Level of the Decision ' + 'Tree', + 2, + None, + 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why Voting?', 2, None, 'why-voting'), ('Tossing coins', 2, None, 'tossing-coins'), ('Standard imports first', 2, None, 'standard-imports-first'), @@ -327,55 +330,55 @@ MathJax.Hub.Config({
  • Growing a classification tree
  • Classification tree, how to split nodes
  • Visualizing the Tree, Classification
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • -
  • Pros and cons of trees, pros
  • -
  • Disadvantages
  • -
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • -
  • An Overview of Ensemble Methods
  • -
  • Bagging
  • -
  • More bagging
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Why binary splits?
  • +
  • Computing a Tree using the Gini Index
  • +
  • The Table
  • +
  • Computing the various Gini Indices
  • +
  • Computing the various Gini Indices, Hours slept
  • +
  • Computing the various Gini Indices, Hours studied
  • +
  • A possible code using Scikit-Learn
  • +
  • Visualizing Trees, More examples
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Example: Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Pros and cons of trees, pros
  • +
  • Disadvantages
  • +
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • +
  • An Overview of Ensemble Methods
  • +
  • Bagging
  • +
  • More bagging
  • Simple Voting Example, head or tail
  • Using the Voting Classifier
  • -
  • Please, not the moons again! Voting and Bagging
  • -
  • Bagging Examples
  • -
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • -
  • Why binary splits?
  • -
  • Computing a Tree using the Gini Index
  • -
  • The Table
  • -
  • Computing the various Gini Indices
  • -
  • Computing the various Gini Indices, Hours slept
  • -
  • Computing the various Gini Indices, Hours studied
  • -
  • A possible code using Scikit-Learn
  • -
  • Visualizing Trees, More examples
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • +
  • Please, not the moons again! Voting and Bagging
  • +
  • Bagging Examples
  • +
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • Why Voting?
  • Tossing coins
  • Standard imports first
  • diff --git a/doc/pub/week44/html/._week44-bs020.html b/doc/pub/week44/html/._week44-bs020.html index ebbe576fa..8bcbae6b6 100644 --- a/doc/pub/week44/html/._week44-bs020.html +++ b/doc/pub/week44/html/._week44-bs020.html @@ -115,67 +115,6 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 2, None, 'the-cart-algorithm-for-regression'), - ('Computing the Gini index', 2, None, 'computing-the-gini-index'), - ('Simple Python Code to read in Data and perform Classification', - 2, - None, - 'simple-python-code-to-read-in-data-and-perform-classification'), - ('Computing the Gini Factor', - 2, - None, - 'computing-the-gini-factor'), - ('Entropy and the ID3 algorithm', - 2, - None, - 'entropy-and-the-id3-algorithm'), - ('Cancer Data again now with Decision Trees and other Methods', - 2, - None, - 'cancer-data-again-now-with-decision-trees-and-other-methods'), - ('Another example, the moons again', - 2, - None, - 'another-example-the-moons-again'), - ('Playing around with regions', - 2, - None, - 'playing-around-with-regions'), - ('Regression trees', 2, None, 'regression-trees'), - ('Final regressor code', 2, None, 'final-regressor-code'), - ('Pros and cons of trees, pros', - 2, - None, - 'pros-and-cons-of-trees-pros'), - ('Disadvantages', 2, None, 'disadvantages'), - ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' - 'Boosting, Meet the Jungle of Methods', - 2, - None, - 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), - ('An Overview of Ensemble Methods', - 2, - None, - 'an-overview-of-ensemble-methods'), - ('Bagging', 2, None, 'bagging'), - ('More bagging', 2, None, 'more-bagging'), - ('Simple Voting Example, head or tail', - 2, - None, - 'simple-voting-example-head-or-tail'), - ('Using the Voting Classifier', - 2, - None, - 'using-the-voting-classifier'), - ('Please, not the moons again! Voting and Bagging', - 2, - None, - 'please-not-the-moons-again-voting-and-bagging'), - ('Bagging Examples', 2, None, 'bagging-examples'), - ('Making your own Bootstrap: Changing the Level of the Decision ' - 'Tree', - 2, - None, - 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why binary splits?', 2, None, 'why-binary-splits'), ('Computing a Tree using the Gini Index', 2, @@ -250,6 +189,70 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 'playing-around-with-regions'), ('Regression trees', 2, None, 'regression-trees'), ('Final regressor code', 2, None, 'final-regressor-code'), + ('Example: Computing the Gini index', + 2, + None, + 'example-computing-the-gini-index'), + ('Simple Python Code to read in Data and perform Classification', + 2, + None, + 'simple-python-code-to-read-in-data-and-perform-classification'), + ('Computing the Gini Factor', + 2, + None, + 'computing-the-gini-factor'), + ('Entropy and the ID3 algorithm', + 2, + None, + 'entropy-and-the-id3-algorithm'), + ('Cancer Data again now with Decision Trees and other Methods', + 2, + None, + 'cancer-data-again-now-with-decision-trees-and-other-methods'), + ('Another example, the moons again', + 2, + None, + 'another-example-the-moons-again'), + ('Playing around with regions', + 2, + None, + 'playing-around-with-regions'), + ('Regression trees', 2, None, 'regression-trees'), + ('Final regressor code', 2, None, 'final-regressor-code'), + ('Pros and cons of trees, pros', + 2, + None, + 'pros-and-cons-of-trees-pros'), + ('Disadvantages', 2, None, 'disadvantages'), + ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' + 'Boosting, Meet the Jungle of Methods', + 2, + None, + 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), + ('An Overview of Ensemble Methods', + 2, + None, + 'an-overview-of-ensemble-methods'), + ('Bagging', 2, None, 'bagging'), + ('More bagging', 2, None, 'more-bagging'), + ('Simple Voting Example, head or tail', + 2, + None, + 'simple-voting-example-head-or-tail'), + ('Using the Voting Classifier', + 2, + None, + 'using-the-voting-classifier'), + ('Please, not the moons again! Voting and Bagging', + 2, + None, + 'please-not-the-moons-again-voting-and-bagging'), + ('Bagging Examples', 2, None, 'bagging-examples'), + ('Making your own Bootstrap: Changing the Level of the Decision ' + 'Tree', + 2, + None, + 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why Voting?', 2, None, 'why-voting'), ('Tossing coins', 2, None, 'tossing-coins'), ('Standard imports first', 2, None, 'standard-imports-first'), @@ -327,55 +330,55 @@ MathJax.Hub.Config({
  • Growing a classification tree
  • Classification tree, how to split nodes
  • Visualizing the Tree, Classification
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • -
  • Pros and cons of trees, pros
  • -
  • Disadvantages
  • -
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • -
  • An Overview of Ensemble Methods
  • -
  • Bagging
  • -
  • More bagging
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Why binary splits?
  • +
  • Computing a Tree using the Gini Index
  • +
  • The Table
  • +
  • Computing the various Gini Indices
  • +
  • Computing the various Gini Indices, Hours slept
  • +
  • Computing the various Gini Indices, Hours studied
  • +
  • A possible code using Scikit-Learn
  • +
  • Visualizing Trees, More examples
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Example: Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Pros and cons of trees, pros
  • +
  • Disadvantages
  • +
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • +
  • An Overview of Ensemble Methods
  • +
  • Bagging
  • +
  • More bagging
  • Simple Voting Example, head or tail
  • Using the Voting Classifier
  • -
  • Please, not the moons again! Voting and Bagging
  • -
  • Bagging Examples
  • -
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • -
  • Why binary splits?
  • -
  • Computing a Tree using the Gini Index
  • -
  • The Table
  • -
  • Computing the various Gini Indices
  • -
  • Computing the various Gini Indices, Hours slept
  • -
  • Computing the various Gini Indices, Hours studied
  • -
  • A possible code using Scikit-Learn
  • -
  • Visualizing Trees, More examples
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • +
  • Please, not the moons again! Voting and Bagging
  • +
  • Bagging Examples
  • +
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • Why Voting?
  • Tossing coins
  • Standard imports first
  • diff --git a/doc/pub/week44/html/._week44-bs021.html b/doc/pub/week44/html/._week44-bs021.html index 1aeec19f4..2607feee1 100644 --- a/doc/pub/week44/html/._week44-bs021.html +++ b/doc/pub/week44/html/._week44-bs021.html @@ -115,67 +115,6 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 2, None, 'the-cart-algorithm-for-regression'), - ('Computing the Gini index', 2, None, 'computing-the-gini-index'), - ('Simple Python Code to read in Data and perform Classification', - 2, - None, - 'simple-python-code-to-read-in-data-and-perform-classification'), - ('Computing the Gini Factor', - 2, - None, - 'computing-the-gini-factor'), - ('Entropy and the ID3 algorithm', - 2, - None, - 'entropy-and-the-id3-algorithm'), - ('Cancer Data again now with Decision Trees and other Methods', - 2, - None, - 'cancer-data-again-now-with-decision-trees-and-other-methods'), - ('Another example, the moons again', - 2, - None, - 'another-example-the-moons-again'), - ('Playing around with regions', - 2, - None, - 'playing-around-with-regions'), - ('Regression trees', 2, None, 'regression-trees'), - ('Final regressor code', 2, None, 'final-regressor-code'), - ('Pros and cons of trees, pros', - 2, - None, - 'pros-and-cons-of-trees-pros'), - ('Disadvantages', 2, None, 'disadvantages'), - ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' - 'Boosting, Meet the Jungle of Methods', - 2, - None, - 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), - ('An Overview of Ensemble Methods', - 2, - None, - 'an-overview-of-ensemble-methods'), - ('Bagging', 2, None, 'bagging'), - ('More bagging', 2, None, 'more-bagging'), - ('Simple Voting Example, head or tail', - 2, - None, - 'simple-voting-example-head-or-tail'), - ('Using the Voting Classifier', - 2, - None, - 'using-the-voting-classifier'), - ('Please, not the moons again! Voting and Bagging', - 2, - None, - 'please-not-the-moons-again-voting-and-bagging'), - ('Bagging Examples', 2, None, 'bagging-examples'), - ('Making your own Bootstrap: Changing the Level of the Decision ' - 'Tree', - 2, - None, - 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why binary splits?', 2, None, 'why-binary-splits'), ('Computing a Tree using the Gini Index', 2, @@ -250,6 +189,70 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 'playing-around-with-regions'), ('Regression trees', 2, None, 'regression-trees'), ('Final regressor code', 2, None, 'final-regressor-code'), + ('Example: Computing the Gini index', + 2, + None, + 'example-computing-the-gini-index'), + ('Simple Python Code to read in Data and perform Classification', + 2, + None, + 'simple-python-code-to-read-in-data-and-perform-classification'), + ('Computing the Gini Factor', + 2, + None, + 'computing-the-gini-factor'), + ('Entropy and the ID3 algorithm', + 2, + None, + 'entropy-and-the-id3-algorithm'), + ('Cancer Data again now with Decision Trees and other Methods', + 2, + None, + 'cancer-data-again-now-with-decision-trees-and-other-methods'), + ('Another example, the moons again', + 2, + None, + 'another-example-the-moons-again'), + ('Playing around with regions', + 2, + None, + 'playing-around-with-regions'), + ('Regression trees', 2, None, 'regression-trees'), + ('Final regressor code', 2, None, 'final-regressor-code'), + ('Pros and cons of trees, pros', + 2, + None, + 'pros-and-cons-of-trees-pros'), + ('Disadvantages', 2, None, 'disadvantages'), + ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' + 'Boosting, Meet the Jungle of Methods', + 2, + None, + 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), + ('An Overview of Ensemble Methods', + 2, + None, + 'an-overview-of-ensemble-methods'), + ('Bagging', 2, None, 'bagging'), + ('More bagging', 2, None, 'more-bagging'), + ('Simple Voting Example, head or tail', + 2, + None, + 'simple-voting-example-head-or-tail'), + ('Using the Voting Classifier', + 2, + None, + 'using-the-voting-classifier'), + ('Please, not the moons again! Voting and Bagging', + 2, + None, + 'please-not-the-moons-again-voting-and-bagging'), + ('Bagging Examples', 2, None, 'bagging-examples'), + ('Making your own Bootstrap: Changing the Level of the Decision ' + 'Tree', + 2, + None, + 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why Voting?', 2, None, 'why-voting'), ('Tossing coins', 2, None, 'tossing-coins'), ('Standard imports first', 2, None, 'standard-imports-first'), @@ -327,55 +330,55 @@ MathJax.Hub.Config({
  • Growing a classification tree
  • Classification tree, how to split nodes
  • Visualizing the Tree, Classification
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • -
  • Pros and cons of trees, pros
  • -
  • Disadvantages
  • -
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • -
  • An Overview of Ensemble Methods
  • -
  • Bagging
  • -
  • More bagging
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Why binary splits?
  • +
  • Computing a Tree using the Gini Index
  • +
  • The Table
  • +
  • Computing the various Gini Indices
  • +
  • Computing the various Gini Indices, Hours slept
  • +
  • Computing the various Gini Indices, Hours studied
  • +
  • A possible code using Scikit-Learn
  • +
  • Visualizing Trees, More examples
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Example: Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Pros and cons of trees, pros
  • +
  • Disadvantages
  • +
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • +
  • An Overview of Ensemble Methods
  • +
  • Bagging
  • +
  • More bagging
  • Simple Voting Example, head or tail
  • Using the Voting Classifier
  • -
  • Please, not the moons again! Voting and Bagging
  • -
  • Bagging Examples
  • -
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • -
  • Why binary splits?
  • -
  • Computing a Tree using the Gini Index
  • -
  • The Table
  • -
  • Computing the various Gini Indices
  • -
  • Computing the various Gini Indices, Hours slept
  • -
  • Computing the various Gini Indices, Hours studied
  • -
  • A possible code using Scikit-Learn
  • -
  • Visualizing Trees, More examples
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • +
  • Please, not the moons again! Voting and Bagging
  • +
  • Bagging Examples
  • +
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • Why Voting?
  • Tossing coins
  • Standard imports first
  • diff --git a/doc/pub/week44/html/._week44-bs022.html b/doc/pub/week44/html/._week44-bs022.html index 9c9e1e350..b330e5395 100644 --- a/doc/pub/week44/html/._week44-bs022.html +++ b/doc/pub/week44/html/._week44-bs022.html @@ -115,67 +115,6 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 2, None, 'the-cart-algorithm-for-regression'), - ('Computing the Gini index', 2, None, 'computing-the-gini-index'), - ('Simple Python Code to read in Data and perform Classification', - 2, - None, - 'simple-python-code-to-read-in-data-and-perform-classification'), - ('Computing the Gini Factor', - 2, - None, - 'computing-the-gini-factor'), - ('Entropy and the ID3 algorithm', - 2, - None, - 'entropy-and-the-id3-algorithm'), - ('Cancer Data again now with Decision Trees and other Methods', - 2, - None, - 'cancer-data-again-now-with-decision-trees-and-other-methods'), - ('Another example, the moons again', - 2, - None, - 'another-example-the-moons-again'), - ('Playing around with regions', - 2, - None, - 'playing-around-with-regions'), - ('Regression trees', 2, None, 'regression-trees'), - ('Final regressor code', 2, None, 'final-regressor-code'), - ('Pros and cons of trees, pros', - 2, - None, - 'pros-and-cons-of-trees-pros'), - ('Disadvantages', 2, None, 'disadvantages'), - ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' - 'Boosting, Meet the Jungle of Methods', - 2, - None, - 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), - ('An Overview of Ensemble Methods', - 2, - None, - 'an-overview-of-ensemble-methods'), - ('Bagging', 2, None, 'bagging'), - ('More bagging', 2, None, 'more-bagging'), - ('Simple Voting Example, head or tail', - 2, - None, - 'simple-voting-example-head-or-tail'), - ('Using the Voting Classifier', - 2, - None, - 'using-the-voting-classifier'), - ('Please, not the moons again! Voting and Bagging', - 2, - None, - 'please-not-the-moons-again-voting-and-bagging'), - ('Bagging Examples', 2, None, 'bagging-examples'), - ('Making your own Bootstrap: Changing the Level of the Decision ' - 'Tree', - 2, - None, - 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why binary splits?', 2, None, 'why-binary-splits'), ('Computing a Tree using the Gini Index', 2, @@ -250,6 +189,70 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 'playing-around-with-regions'), ('Regression trees', 2, None, 'regression-trees'), ('Final regressor code', 2, None, 'final-regressor-code'), + ('Example: Computing the Gini index', + 2, + None, + 'example-computing-the-gini-index'), + ('Simple Python Code to read in Data and perform Classification', + 2, + None, + 'simple-python-code-to-read-in-data-and-perform-classification'), + ('Computing the Gini Factor', + 2, + None, + 'computing-the-gini-factor'), + ('Entropy and the ID3 algorithm', + 2, + None, + 'entropy-and-the-id3-algorithm'), + ('Cancer Data again now with Decision Trees and other Methods', + 2, + None, + 'cancer-data-again-now-with-decision-trees-and-other-methods'), + ('Another example, the moons again', + 2, + None, + 'another-example-the-moons-again'), + ('Playing around with regions', + 2, + None, + 'playing-around-with-regions'), + ('Regression trees', 2, None, 'regression-trees'), + ('Final regressor code', 2, None, 'final-regressor-code'), + ('Pros and cons of trees, pros', + 2, + None, + 'pros-and-cons-of-trees-pros'), + ('Disadvantages', 2, None, 'disadvantages'), + ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' + 'Boosting, Meet the Jungle of Methods', + 2, + None, + 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), + ('An Overview of Ensemble Methods', + 2, + None, + 'an-overview-of-ensemble-methods'), + ('Bagging', 2, None, 'bagging'), + ('More bagging', 2, None, 'more-bagging'), + ('Simple Voting Example, head or tail', + 2, + None, + 'simple-voting-example-head-or-tail'), + ('Using the Voting Classifier', + 2, + None, + 'using-the-voting-classifier'), + ('Please, not the moons again! Voting and Bagging', + 2, + None, + 'please-not-the-moons-again-voting-and-bagging'), + ('Bagging Examples', 2, None, 'bagging-examples'), + ('Making your own Bootstrap: Changing the Level of the Decision ' + 'Tree', + 2, + None, + 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why Voting?', 2, None, 'why-voting'), ('Tossing coins', 2, None, 'tossing-coins'), ('Standard imports first', 2, None, 'standard-imports-first'), @@ -327,55 +330,55 @@ MathJax.Hub.Config({
  • Growing a classification tree
  • Classification tree, how to split nodes
  • Visualizing the Tree, Classification
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • -
  • Pros and cons of trees, pros
  • -
  • Disadvantages
  • -
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • -
  • An Overview of Ensemble Methods
  • -
  • Bagging
  • -
  • More bagging
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Why binary splits?
  • +
  • Computing a Tree using the Gini Index
  • +
  • The Table
  • +
  • Computing the various Gini Indices
  • +
  • Computing the various Gini Indices, Hours slept
  • +
  • Computing the various Gini Indices, Hours studied
  • +
  • A possible code using Scikit-Learn
  • +
  • Visualizing Trees, More examples
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Example: Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Pros and cons of trees, pros
  • +
  • Disadvantages
  • +
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • +
  • An Overview of Ensemble Methods
  • +
  • Bagging
  • +
  • More bagging
  • Simple Voting Example, head or tail
  • Using the Voting Classifier
  • -
  • Please, not the moons again! Voting and Bagging
  • -
  • Bagging Examples
  • -
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • -
  • Why binary splits?
  • -
  • Computing a Tree using the Gini Index
  • -
  • The Table
  • -
  • Computing the various Gini Indices
  • -
  • Computing the various Gini Indices, Hours slept
  • -
  • Computing the various Gini Indices, Hours studied
  • -
  • A possible code using Scikit-Learn
  • -
  • Visualizing Trees, More examples
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • +
  • Please, not the moons again! Voting and Bagging
  • +
  • Bagging Examples
  • +
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • Why Voting?
  • Tossing coins
  • Standard imports first
  • diff --git a/doc/pub/week44/html/._week44-bs023.html b/doc/pub/week44/html/._week44-bs023.html index 9201acde1..ebf1cfc3d 100644 --- a/doc/pub/week44/html/._week44-bs023.html +++ b/doc/pub/week44/html/._week44-bs023.html @@ -115,67 +115,6 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 2, None, 'the-cart-algorithm-for-regression'), - ('Computing the Gini index', 2, None, 'computing-the-gini-index'), - ('Simple Python Code to read in Data and perform Classification', - 2, - None, - 'simple-python-code-to-read-in-data-and-perform-classification'), - ('Computing the Gini Factor', - 2, - None, - 'computing-the-gini-factor'), - ('Entropy and the ID3 algorithm', - 2, - None, - 'entropy-and-the-id3-algorithm'), - ('Cancer Data again now with Decision Trees and other Methods', - 2, - None, - 'cancer-data-again-now-with-decision-trees-and-other-methods'), - ('Another example, the moons again', - 2, - None, - 'another-example-the-moons-again'), - ('Playing around with regions', - 2, - None, - 'playing-around-with-regions'), - ('Regression trees', 2, None, 'regression-trees'), - ('Final regressor code', 2, None, 'final-regressor-code'), - ('Pros and cons of trees, pros', - 2, - None, - 'pros-and-cons-of-trees-pros'), - ('Disadvantages', 2, None, 'disadvantages'), - ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' - 'Boosting, Meet the Jungle of Methods', - 2, - None, - 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), - ('An Overview of Ensemble Methods', - 2, - None, - 'an-overview-of-ensemble-methods'), - ('Bagging', 2, None, 'bagging'), - ('More bagging', 2, None, 'more-bagging'), - ('Simple Voting Example, head or tail', - 2, - None, - 'simple-voting-example-head-or-tail'), - ('Using the Voting Classifier', - 2, - None, - 'using-the-voting-classifier'), - ('Please, not the moons again! Voting and Bagging', - 2, - None, - 'please-not-the-moons-again-voting-and-bagging'), - ('Bagging Examples', 2, None, 'bagging-examples'), - ('Making your own Bootstrap: Changing the Level of the Decision ' - 'Tree', - 2, - None, - 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why binary splits?', 2, None, 'why-binary-splits'), ('Computing a Tree using the Gini Index', 2, @@ -250,6 +189,70 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 'playing-around-with-regions'), ('Regression trees', 2, None, 'regression-trees'), ('Final regressor code', 2, None, 'final-regressor-code'), + ('Example: Computing the Gini index', + 2, + None, + 'example-computing-the-gini-index'), + ('Simple Python Code to read in Data and perform Classification', + 2, + None, + 'simple-python-code-to-read-in-data-and-perform-classification'), + ('Computing the Gini Factor', + 2, + None, + 'computing-the-gini-factor'), + ('Entropy and the ID3 algorithm', + 2, + None, + 'entropy-and-the-id3-algorithm'), + ('Cancer Data again now with Decision Trees and other Methods', + 2, + None, + 'cancer-data-again-now-with-decision-trees-and-other-methods'), + ('Another example, the moons again', + 2, + None, + 'another-example-the-moons-again'), + ('Playing around with regions', + 2, + None, + 'playing-around-with-regions'), + ('Regression trees', 2, None, 'regression-trees'), + ('Final regressor code', 2, None, 'final-regressor-code'), + ('Pros and cons of trees, pros', + 2, + None, + 'pros-and-cons-of-trees-pros'), + ('Disadvantages', 2, None, 'disadvantages'), + ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' + 'Boosting, Meet the Jungle of Methods', + 2, + None, + 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), + ('An Overview of Ensemble Methods', + 2, + None, + 'an-overview-of-ensemble-methods'), + ('Bagging', 2, None, 'bagging'), + ('More bagging', 2, None, 'more-bagging'), + ('Simple Voting Example, head or tail', + 2, + None, + 'simple-voting-example-head-or-tail'), + ('Using the Voting Classifier', + 2, + None, + 'using-the-voting-classifier'), + ('Please, not the moons again! Voting and Bagging', + 2, + None, + 'please-not-the-moons-again-voting-and-bagging'), + ('Bagging Examples', 2, None, 'bagging-examples'), + ('Making your own Bootstrap: Changing the Level of the Decision ' + 'Tree', + 2, + None, + 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why Voting?', 2, None, 'why-voting'), ('Tossing coins', 2, None, 'tossing-coins'), ('Standard imports first', 2, None, 'standard-imports-first'), @@ -327,55 +330,55 @@ MathJax.Hub.Config({
  • Growing a classification tree
  • Classification tree, how to split nodes
  • Visualizing the Tree, Classification
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • -
  • Pros and cons of trees, pros
  • -
  • Disadvantages
  • -
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • -
  • An Overview of Ensemble Methods
  • -
  • Bagging
  • -
  • More bagging
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Why binary splits?
  • +
  • Computing a Tree using the Gini Index
  • +
  • The Table
  • +
  • Computing the various Gini Indices
  • +
  • Computing the various Gini Indices, Hours slept
  • +
  • Computing the various Gini Indices, Hours studied
  • +
  • A possible code using Scikit-Learn
  • +
  • Visualizing Trees, More examples
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Example: Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Pros and cons of trees, pros
  • +
  • Disadvantages
  • +
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • +
  • An Overview of Ensemble Methods
  • +
  • Bagging
  • +
  • More bagging
  • Simple Voting Example, head or tail
  • Using the Voting Classifier
  • -
  • Please, not the moons again! Voting and Bagging
  • -
  • Bagging Examples
  • -
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • -
  • Why binary splits?
  • -
  • Computing a Tree using the Gini Index
  • -
  • The Table
  • -
  • Computing the various Gini Indices
  • -
  • Computing the various Gini Indices, Hours slept
  • -
  • Computing the various Gini Indices, Hours studied
  • -
  • A possible code using Scikit-Learn
  • -
  • Visualizing Trees, More examples
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • +
  • Please, not the moons again! Voting and Bagging
  • +
  • Bagging Examples
  • +
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • Why Voting?
  • Tossing coins
  • Standard imports first
  • diff --git a/doc/pub/week44/html/._week44-bs024.html b/doc/pub/week44/html/._week44-bs024.html index 5162f403f..449a5fe5f 100644 --- a/doc/pub/week44/html/._week44-bs024.html +++ b/doc/pub/week44/html/._week44-bs024.html @@ -115,67 +115,6 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 2, None, 'the-cart-algorithm-for-regression'), - ('Computing the Gini index', 2, None, 'computing-the-gini-index'), - ('Simple Python Code to read in Data and perform Classification', - 2, - None, - 'simple-python-code-to-read-in-data-and-perform-classification'), - ('Computing the Gini Factor', - 2, - None, - 'computing-the-gini-factor'), - ('Entropy and the ID3 algorithm', - 2, - None, - 'entropy-and-the-id3-algorithm'), - ('Cancer Data again now with Decision Trees and other Methods', - 2, - None, - 'cancer-data-again-now-with-decision-trees-and-other-methods'), - ('Another example, the moons again', - 2, - None, - 'another-example-the-moons-again'), - ('Playing around with regions', - 2, - None, - 'playing-around-with-regions'), - ('Regression trees', 2, None, 'regression-trees'), - ('Final regressor code', 2, None, 'final-regressor-code'), - ('Pros and cons of trees, pros', - 2, - None, - 'pros-and-cons-of-trees-pros'), - ('Disadvantages', 2, None, 'disadvantages'), - ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' - 'Boosting, Meet the Jungle of Methods', - 2, - None, - 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), - ('An Overview of Ensemble Methods', - 2, - None, - 'an-overview-of-ensemble-methods'), - ('Bagging', 2, None, 'bagging'), - ('More bagging', 2, None, 'more-bagging'), - ('Simple Voting Example, head or tail', - 2, - None, - 'simple-voting-example-head-or-tail'), - ('Using the Voting Classifier', - 2, - None, - 'using-the-voting-classifier'), - ('Please, not the moons again! Voting and Bagging', - 2, - None, - 'please-not-the-moons-again-voting-and-bagging'), - ('Bagging Examples', 2, None, 'bagging-examples'), - ('Making your own Bootstrap: Changing the Level of the Decision ' - 'Tree', - 2, - None, - 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why binary splits?', 2, None, 'why-binary-splits'), ('Computing a Tree using the Gini Index', 2, @@ -250,6 +189,70 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 'playing-around-with-regions'), ('Regression trees', 2, None, 'regression-trees'), ('Final regressor code', 2, None, 'final-regressor-code'), + ('Example: Computing the Gini index', + 2, + None, + 'example-computing-the-gini-index'), + ('Simple Python Code to read in Data and perform Classification', + 2, + None, + 'simple-python-code-to-read-in-data-and-perform-classification'), + ('Computing the Gini Factor', + 2, + None, + 'computing-the-gini-factor'), + ('Entropy and the ID3 algorithm', + 2, + None, + 'entropy-and-the-id3-algorithm'), + ('Cancer Data again now with Decision Trees and other Methods', + 2, + None, + 'cancer-data-again-now-with-decision-trees-and-other-methods'), + ('Another example, the moons again', + 2, + None, + 'another-example-the-moons-again'), + ('Playing around with regions', + 2, + None, + 'playing-around-with-regions'), + ('Regression trees', 2, None, 'regression-trees'), + ('Final regressor code', 2, None, 'final-regressor-code'), + ('Pros and cons of trees, pros', + 2, + None, + 'pros-and-cons-of-trees-pros'), + ('Disadvantages', 2, None, 'disadvantages'), + ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' + 'Boosting, Meet the Jungle of Methods', + 2, + None, + 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), + ('An Overview of Ensemble Methods', + 2, + None, + 'an-overview-of-ensemble-methods'), + ('Bagging', 2, None, 'bagging'), + ('More bagging', 2, None, 'more-bagging'), + ('Simple Voting Example, head or tail', + 2, + None, + 'simple-voting-example-head-or-tail'), + ('Using the Voting Classifier', + 2, + None, + 'using-the-voting-classifier'), + ('Please, not the moons again! Voting and Bagging', + 2, + None, + 'please-not-the-moons-again-voting-and-bagging'), + ('Bagging Examples', 2, None, 'bagging-examples'), + ('Making your own Bootstrap: Changing the Level of the Decision ' + 'Tree', + 2, + None, + 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why Voting?', 2, None, 'why-voting'), ('Tossing coins', 2, None, 'tossing-coins'), ('Standard imports first', 2, None, 'standard-imports-first'), @@ -327,55 +330,55 @@ MathJax.Hub.Config({
  • Growing a classification tree
  • Classification tree, how to split nodes
  • Visualizing the Tree, Classification
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • -
  • Pros and cons of trees, pros
  • -
  • Disadvantages
  • -
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • -
  • An Overview of Ensemble Methods
  • -
  • Bagging
  • -
  • More bagging
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Why binary splits?
  • +
  • Computing a Tree using the Gini Index
  • +
  • The Table
  • +
  • Computing the various Gini Indices
  • +
  • Computing the various Gini Indices, Hours slept
  • +
  • Computing the various Gini Indices, Hours studied
  • +
  • A possible code using Scikit-Learn
  • +
  • Visualizing Trees, More examples
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Example: Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Pros and cons of trees, pros
  • +
  • Disadvantages
  • +
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • +
  • An Overview of Ensemble Methods
  • +
  • Bagging
  • +
  • More bagging
  • Simple Voting Example, head or tail
  • Using the Voting Classifier
  • -
  • Please, not the moons again! Voting and Bagging
  • -
  • Bagging Examples
  • -
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • -
  • Why binary splits?
  • -
  • Computing a Tree using the Gini Index
  • -
  • The Table
  • -
  • Computing the various Gini Indices
  • -
  • Computing the various Gini Indices, Hours slept
  • -
  • Computing the various Gini Indices, Hours studied
  • -
  • A possible code using Scikit-Learn
  • -
  • Visualizing Trees, More examples
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • +
  • Please, not the moons again! Voting and Bagging
  • +
  • Bagging Examples
  • +
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • Why Voting?
  • Tossing coins
  • Standard imports first
  • diff --git a/doc/pub/week44/html/._week44-bs025.html b/doc/pub/week44/html/._week44-bs025.html index 337c15367..898ff58ab 100644 --- a/doc/pub/week44/html/._week44-bs025.html +++ b/doc/pub/week44/html/._week44-bs025.html @@ -115,67 +115,6 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 2, None, 'the-cart-algorithm-for-regression'), - ('Computing the Gini index', 2, None, 'computing-the-gini-index'), - ('Simple Python Code to read in Data and perform Classification', - 2, - None, - 'simple-python-code-to-read-in-data-and-perform-classification'), - ('Computing the Gini Factor', - 2, - None, - 'computing-the-gini-factor'), - ('Entropy and the ID3 algorithm', - 2, - None, - 'entropy-and-the-id3-algorithm'), - ('Cancer Data again now with Decision Trees and other Methods', - 2, - None, - 'cancer-data-again-now-with-decision-trees-and-other-methods'), - ('Another example, the moons again', - 2, - None, - 'another-example-the-moons-again'), - ('Playing around with regions', - 2, - None, - 'playing-around-with-regions'), - ('Regression trees', 2, None, 'regression-trees'), - ('Final regressor code', 2, None, 'final-regressor-code'), - ('Pros and cons of trees, pros', - 2, - None, - 'pros-and-cons-of-trees-pros'), - ('Disadvantages', 2, None, 'disadvantages'), - ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' - 'Boosting, Meet the Jungle of Methods', - 2, - None, - 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), - ('An Overview of Ensemble Methods', - 2, - None, - 'an-overview-of-ensemble-methods'), - ('Bagging', 2, None, 'bagging'), - ('More bagging', 2, None, 'more-bagging'), - ('Simple Voting Example, head or tail', - 2, - None, - 'simple-voting-example-head-or-tail'), - ('Using the Voting Classifier', - 2, - None, - 'using-the-voting-classifier'), - ('Please, not the moons again! Voting and Bagging', - 2, - None, - 'please-not-the-moons-again-voting-and-bagging'), - ('Bagging Examples', 2, None, 'bagging-examples'), - ('Making your own Bootstrap: Changing the Level of the Decision ' - 'Tree', - 2, - None, - 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why binary splits?', 2, None, 'why-binary-splits'), ('Computing a Tree using the Gini Index', 2, @@ -250,6 +189,70 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 'playing-around-with-regions'), ('Regression trees', 2, None, 'regression-trees'), ('Final regressor code', 2, None, 'final-regressor-code'), + ('Example: Computing the Gini index', + 2, + None, + 'example-computing-the-gini-index'), + ('Simple Python Code to read in Data and perform Classification', + 2, + None, + 'simple-python-code-to-read-in-data-and-perform-classification'), + ('Computing the Gini Factor', + 2, + None, + 'computing-the-gini-factor'), + ('Entropy and the ID3 algorithm', + 2, + None, + 'entropy-and-the-id3-algorithm'), + ('Cancer Data again now with Decision Trees and other Methods', + 2, + None, + 'cancer-data-again-now-with-decision-trees-and-other-methods'), + ('Another example, the moons again', + 2, + None, + 'another-example-the-moons-again'), + ('Playing around with regions', + 2, + None, + 'playing-around-with-regions'), + ('Regression trees', 2, None, 'regression-trees'), + ('Final regressor code', 2, None, 'final-regressor-code'), + ('Pros and cons of trees, pros', + 2, + None, + 'pros-and-cons-of-trees-pros'), + ('Disadvantages', 2, None, 'disadvantages'), + ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' + 'Boosting, Meet the Jungle of Methods', + 2, + None, + 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), + ('An Overview of Ensemble Methods', + 2, + None, + 'an-overview-of-ensemble-methods'), + ('Bagging', 2, None, 'bagging'), + ('More bagging', 2, None, 'more-bagging'), + ('Simple Voting Example, head or tail', + 2, + None, + 'simple-voting-example-head-or-tail'), + ('Using the Voting Classifier', + 2, + None, + 'using-the-voting-classifier'), + ('Please, not the moons again! Voting and Bagging', + 2, + None, + 'please-not-the-moons-again-voting-and-bagging'), + ('Bagging Examples', 2, None, 'bagging-examples'), + ('Making your own Bootstrap: Changing the Level of the Decision ' + 'Tree', + 2, + None, + 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why Voting?', 2, None, 'why-voting'), ('Tossing coins', 2, None, 'tossing-coins'), ('Standard imports first', 2, None, 'standard-imports-first'), @@ -327,55 +330,55 @@ MathJax.Hub.Config({
  • Growing a classification tree
  • Classification tree, how to split nodes
  • Visualizing the Tree, Classification
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • -
  • Pros and cons of trees, pros
  • -
  • Disadvantages
  • -
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • -
  • An Overview of Ensemble Methods
  • -
  • Bagging
  • -
  • More bagging
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Why binary splits?
  • +
  • Computing a Tree using the Gini Index
  • +
  • The Table
  • +
  • Computing the various Gini Indices
  • +
  • Computing the various Gini Indices, Hours slept
  • +
  • Computing the various Gini Indices, Hours studied
  • +
  • A possible code using Scikit-Learn
  • +
  • Visualizing Trees, More examples
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Example: Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Pros and cons of trees, pros
  • +
  • Disadvantages
  • +
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • +
  • An Overview of Ensemble Methods
  • +
  • Bagging
  • +
  • More bagging
  • Simple Voting Example, head or tail
  • Using the Voting Classifier
  • -
  • Please, not the moons again! Voting and Bagging
  • -
  • Bagging Examples
  • -
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • -
  • Why binary splits?
  • -
  • Computing a Tree using the Gini Index
  • -
  • The Table
  • -
  • Computing the various Gini Indices
  • -
  • Computing the various Gini Indices, Hours slept
  • -
  • Computing the various Gini Indices, Hours studied
  • -
  • A possible code using Scikit-Learn
  • -
  • Visualizing Trees, More examples
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • +
  • Please, not the moons again! Voting and Bagging
  • +
  • Bagging Examples
  • +
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • Why Voting?
  • Tossing coins
  • Standard imports first
  • diff --git a/doc/pub/week44/html/._week44-bs026.html b/doc/pub/week44/html/._week44-bs026.html index cb92dbb94..8cedd6712 100644 --- a/doc/pub/week44/html/._week44-bs026.html +++ b/doc/pub/week44/html/._week44-bs026.html @@ -115,67 +115,6 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 2, None, 'the-cart-algorithm-for-regression'), - ('Computing the Gini index', 2, None, 'computing-the-gini-index'), - ('Simple Python Code to read in Data and perform Classification', - 2, - None, - 'simple-python-code-to-read-in-data-and-perform-classification'), - ('Computing the Gini Factor', - 2, - None, - 'computing-the-gini-factor'), - ('Entropy and the ID3 algorithm', - 2, - None, - 'entropy-and-the-id3-algorithm'), - ('Cancer Data again now with Decision Trees and other Methods', - 2, - None, - 'cancer-data-again-now-with-decision-trees-and-other-methods'), - ('Another example, the moons again', - 2, - None, - 'another-example-the-moons-again'), - ('Playing around with regions', - 2, - None, - 'playing-around-with-regions'), - ('Regression trees', 2, None, 'regression-trees'), - ('Final regressor code', 2, None, 'final-regressor-code'), - ('Pros and cons of trees, pros', - 2, - None, - 'pros-and-cons-of-trees-pros'), - ('Disadvantages', 2, None, 'disadvantages'), - ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' - 'Boosting, Meet the Jungle of Methods', - 2, - None, - 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), - ('An Overview of Ensemble Methods', - 2, - None, - 'an-overview-of-ensemble-methods'), - ('Bagging', 2, None, 'bagging'), - ('More bagging', 2, None, 'more-bagging'), - ('Simple Voting Example, head or tail', - 2, - None, - 'simple-voting-example-head-or-tail'), - ('Using the Voting Classifier', - 2, - None, - 'using-the-voting-classifier'), - ('Please, not the moons again! Voting and Bagging', - 2, - None, - 'please-not-the-moons-again-voting-and-bagging'), - ('Bagging Examples', 2, None, 'bagging-examples'), - ('Making your own Bootstrap: Changing the Level of the Decision ' - 'Tree', - 2, - None, - 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why binary splits?', 2, None, 'why-binary-splits'), ('Computing a Tree using the Gini Index', 2, @@ -250,6 +189,70 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 'playing-around-with-regions'), ('Regression trees', 2, None, 'regression-trees'), ('Final regressor code', 2, None, 'final-regressor-code'), + ('Example: Computing the Gini index', + 2, + None, + 'example-computing-the-gini-index'), + ('Simple Python Code to read in Data and perform Classification', + 2, + None, + 'simple-python-code-to-read-in-data-and-perform-classification'), + ('Computing the Gini Factor', + 2, + None, + 'computing-the-gini-factor'), + ('Entropy and the ID3 algorithm', + 2, + None, + 'entropy-and-the-id3-algorithm'), + ('Cancer Data again now with Decision Trees and other Methods', + 2, + None, + 'cancer-data-again-now-with-decision-trees-and-other-methods'), + ('Another example, the moons again', + 2, + None, + 'another-example-the-moons-again'), + ('Playing around with regions', + 2, + None, + 'playing-around-with-regions'), + ('Regression trees', 2, None, 'regression-trees'), + ('Final regressor code', 2, None, 'final-regressor-code'), + ('Pros and cons of trees, pros', + 2, + None, + 'pros-and-cons-of-trees-pros'), + ('Disadvantages', 2, None, 'disadvantages'), + ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' + 'Boosting, Meet the Jungle of Methods', + 2, + None, + 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), + ('An Overview of Ensemble Methods', + 2, + None, + 'an-overview-of-ensemble-methods'), + ('Bagging', 2, None, 'bagging'), + ('More bagging', 2, None, 'more-bagging'), + ('Simple Voting Example, head or tail', + 2, + None, + 'simple-voting-example-head-or-tail'), + ('Using the Voting Classifier', + 2, + None, + 'using-the-voting-classifier'), + ('Please, not the moons again! Voting and Bagging', + 2, + None, + 'please-not-the-moons-again-voting-and-bagging'), + ('Bagging Examples', 2, None, 'bagging-examples'), + ('Making your own Bootstrap: Changing the Level of the Decision ' + 'Tree', + 2, + None, + 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why Voting?', 2, None, 'why-voting'), ('Tossing coins', 2, None, 'tossing-coins'), ('Standard imports first', 2, None, 'standard-imports-first'), @@ -327,55 +330,55 @@ MathJax.Hub.Config({
  • Growing a classification tree
  • Classification tree, how to split nodes
  • Visualizing the Tree, Classification
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • -
  • Pros and cons of trees, pros
  • -
  • Disadvantages
  • -
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • -
  • An Overview of Ensemble Methods
  • -
  • Bagging
  • -
  • More bagging
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Why binary splits?
  • +
  • Computing a Tree using the Gini Index
  • +
  • The Table
  • +
  • Computing the various Gini Indices
  • +
  • Computing the various Gini Indices, Hours slept
  • +
  • Computing the various Gini Indices, Hours studied
  • +
  • A possible code using Scikit-Learn
  • +
  • Visualizing Trees, More examples
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Example: Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Pros and cons of trees, pros
  • +
  • Disadvantages
  • +
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • +
  • An Overview of Ensemble Methods
  • +
  • Bagging
  • +
  • More bagging
  • Simple Voting Example, head or tail
  • Using the Voting Classifier
  • -
  • Please, not the moons again! Voting and Bagging
  • -
  • Bagging Examples
  • -
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • -
  • Why binary splits?
  • -
  • Computing a Tree using the Gini Index
  • -
  • The Table
  • -
  • Computing the various Gini Indices
  • -
  • Computing the various Gini Indices, Hours slept
  • -
  • Computing the various Gini Indices, Hours studied
  • -
  • A possible code using Scikit-Learn
  • -
  • Visualizing Trees, More examples
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • +
  • Please, not the moons again! Voting and Bagging
  • +
  • Bagging Examples
  • +
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • Why Voting?
  • Tossing coins
  • Standard imports first
  • diff --git a/doc/pub/week44/html/._week44-bs027.html b/doc/pub/week44/html/._week44-bs027.html index 09c18f5b6..dc67a46ae 100644 --- a/doc/pub/week44/html/._week44-bs027.html +++ b/doc/pub/week44/html/._week44-bs027.html @@ -115,67 +115,6 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 2, None, 'the-cart-algorithm-for-regression'), - ('Computing the Gini index', 2, None, 'computing-the-gini-index'), - ('Simple Python Code to read in Data and perform Classification', - 2, - None, - 'simple-python-code-to-read-in-data-and-perform-classification'), - ('Computing the Gini Factor', - 2, - None, - 'computing-the-gini-factor'), - ('Entropy and the ID3 algorithm', - 2, - None, - 'entropy-and-the-id3-algorithm'), - ('Cancer Data again now with Decision Trees and other Methods', - 2, - None, - 'cancer-data-again-now-with-decision-trees-and-other-methods'), - ('Another example, the moons again', - 2, - None, - 'another-example-the-moons-again'), - ('Playing around with regions', - 2, - None, - 'playing-around-with-regions'), - ('Regression trees', 2, None, 'regression-trees'), - ('Final regressor code', 2, None, 'final-regressor-code'), - ('Pros and cons of trees, pros', - 2, - None, - 'pros-and-cons-of-trees-pros'), - ('Disadvantages', 2, None, 'disadvantages'), - ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' - 'Boosting, Meet the Jungle of Methods', - 2, - None, - 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), - ('An Overview of Ensemble Methods', - 2, - None, - 'an-overview-of-ensemble-methods'), - ('Bagging', 2, None, 'bagging'), - ('More bagging', 2, None, 'more-bagging'), - ('Simple Voting Example, head or tail', - 2, - None, - 'simple-voting-example-head-or-tail'), - ('Using the Voting Classifier', - 2, - None, - 'using-the-voting-classifier'), - ('Please, not the moons again! Voting and Bagging', - 2, - None, - 'please-not-the-moons-again-voting-and-bagging'), - ('Bagging Examples', 2, None, 'bagging-examples'), - ('Making your own Bootstrap: Changing the Level of the Decision ' - 'Tree', - 2, - None, - 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why binary splits?', 2, None, 'why-binary-splits'), ('Computing a Tree using the Gini Index', 2, @@ -250,6 +189,70 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 'playing-around-with-regions'), ('Regression trees', 2, None, 'regression-trees'), ('Final regressor code', 2, None, 'final-regressor-code'), + ('Example: Computing the Gini index', + 2, + None, + 'example-computing-the-gini-index'), + ('Simple Python Code to read in Data and perform Classification', + 2, + None, + 'simple-python-code-to-read-in-data-and-perform-classification'), + ('Computing the Gini Factor', + 2, + None, + 'computing-the-gini-factor'), + ('Entropy and the ID3 algorithm', + 2, + None, + 'entropy-and-the-id3-algorithm'), + ('Cancer Data again now with Decision Trees and other Methods', + 2, + None, + 'cancer-data-again-now-with-decision-trees-and-other-methods'), + ('Another example, the moons again', + 2, + None, + 'another-example-the-moons-again'), + ('Playing around with regions', + 2, + None, + 'playing-around-with-regions'), + ('Regression trees', 2, None, 'regression-trees'), + ('Final regressor code', 2, None, 'final-regressor-code'), + ('Pros and cons of trees, pros', + 2, + None, + 'pros-and-cons-of-trees-pros'), + ('Disadvantages', 2, None, 'disadvantages'), + ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' + 'Boosting, Meet the Jungle of Methods', + 2, + None, + 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), + ('An Overview of Ensemble Methods', + 2, + None, + 'an-overview-of-ensemble-methods'), + ('Bagging', 2, None, 'bagging'), + ('More bagging', 2, None, 'more-bagging'), + ('Simple Voting Example, head or tail', + 2, + None, + 'simple-voting-example-head-or-tail'), + ('Using the Voting Classifier', + 2, + None, + 'using-the-voting-classifier'), + ('Please, not the moons again! Voting and Bagging', + 2, + None, + 'please-not-the-moons-again-voting-and-bagging'), + ('Bagging Examples', 2, None, 'bagging-examples'), + ('Making your own Bootstrap: Changing the Level of the Decision ' + 'Tree', + 2, + None, + 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why Voting?', 2, None, 'why-voting'), ('Tossing coins', 2, None, 'tossing-coins'), ('Standard imports first', 2, None, 'standard-imports-first'), @@ -327,55 +330,55 @@ MathJax.Hub.Config({
  • Growing a classification tree
  • Classification tree, how to split nodes
  • Visualizing the Tree, Classification
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • -
  • Pros and cons of trees, pros
  • -
  • Disadvantages
  • -
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • -
  • An Overview of Ensemble Methods
  • -
  • Bagging
  • -
  • More bagging
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Why binary splits?
  • +
  • Computing a Tree using the Gini Index
  • +
  • The Table
  • +
  • Computing the various Gini Indices
  • +
  • Computing the various Gini Indices, Hours slept
  • +
  • Computing the various Gini Indices, Hours studied
  • +
  • A possible code using Scikit-Learn
  • +
  • Visualizing Trees, More examples
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Example: Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Pros and cons of trees, pros
  • +
  • Disadvantages
  • +
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • +
  • An Overview of Ensemble Methods
  • +
  • Bagging
  • +
  • More bagging
  • Simple Voting Example, head or tail
  • Using the Voting Classifier
  • -
  • Please, not the moons again! Voting and Bagging
  • -
  • Bagging Examples
  • -
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • -
  • Why binary splits?
  • -
  • Computing a Tree using the Gini Index
  • -
  • The Table
  • -
  • Computing the various Gini Indices
  • -
  • Computing the various Gini Indices, Hours slept
  • -
  • Computing the various Gini Indices, Hours studied
  • -
  • A possible code using Scikit-Learn
  • -
  • Visualizing Trees, More examples
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • +
  • Please, not the moons again! Voting and Bagging
  • +
  • Bagging Examples
  • +
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • Why Voting?
  • Tossing coins
  • Standard imports first
  • diff --git a/doc/pub/week44/html/._week44-bs028.html b/doc/pub/week44/html/._week44-bs028.html index 91df74bdf..04efd70b4 100644 --- a/doc/pub/week44/html/._week44-bs028.html +++ b/doc/pub/week44/html/._week44-bs028.html @@ -115,67 +115,6 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 2, None, 'the-cart-algorithm-for-regression'), - ('Computing the Gini index', 2, None, 'computing-the-gini-index'), - ('Simple Python Code to read in Data and perform Classification', - 2, - None, - 'simple-python-code-to-read-in-data-and-perform-classification'), - ('Computing the Gini Factor', - 2, - None, - 'computing-the-gini-factor'), - ('Entropy and the ID3 algorithm', - 2, - None, - 'entropy-and-the-id3-algorithm'), - ('Cancer Data again now with Decision Trees and other Methods', - 2, - None, - 'cancer-data-again-now-with-decision-trees-and-other-methods'), - ('Another example, the moons again', - 2, - None, - 'another-example-the-moons-again'), - ('Playing around with regions', - 2, - None, - 'playing-around-with-regions'), - ('Regression trees', 2, None, 'regression-trees'), - ('Final regressor code', 2, None, 'final-regressor-code'), - ('Pros and cons of trees, pros', - 2, - None, - 'pros-and-cons-of-trees-pros'), - ('Disadvantages', 2, None, 'disadvantages'), - ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' - 'Boosting, Meet the Jungle of Methods', - 2, - None, - 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), - ('An Overview of Ensemble Methods', - 2, - None, - 'an-overview-of-ensemble-methods'), - ('Bagging', 2, None, 'bagging'), - ('More bagging', 2, None, 'more-bagging'), - ('Simple Voting Example, head or tail', - 2, - None, - 'simple-voting-example-head-or-tail'), - ('Using the Voting Classifier', - 2, - None, - 'using-the-voting-classifier'), - ('Please, not the moons again! Voting and Bagging', - 2, - None, - 'please-not-the-moons-again-voting-and-bagging'), - ('Bagging Examples', 2, None, 'bagging-examples'), - ('Making your own Bootstrap: Changing the Level of the Decision ' - 'Tree', - 2, - None, - 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why binary splits?', 2, None, 'why-binary-splits'), ('Computing a Tree using the Gini Index', 2, @@ -250,6 +189,70 @@ doconce format html week44.do.txt --html_style=bootstrap --pygments_html_style=d 'playing-around-with-regions'), ('Regression trees', 2, None, 'regression-trees'), ('Final regressor code', 2, None, 'final-regressor-code'), + ('Example: Computing the Gini index', + 2, + None, + 'example-computing-the-gini-index'), + ('Simple Python Code to read in Data and perform Classification', + 2, + None, + 'simple-python-code-to-read-in-data-and-perform-classification'), + ('Computing the Gini Factor', + 2, + None, + 'computing-the-gini-factor'), + ('Entropy and the ID3 algorithm', + 2, + None, + 'entropy-and-the-id3-algorithm'), + ('Cancer Data again now with Decision Trees and other Methods', + 2, + None, + 'cancer-data-again-now-with-decision-trees-and-other-methods'), + ('Another example, the moons again', + 2, + None, + 'another-example-the-moons-again'), + ('Playing around with regions', + 2, + None, + 'playing-around-with-regions'), + ('Regression trees', 2, None, 'regression-trees'), + ('Final regressor code', 2, None, 'final-regressor-code'), + ('Pros and cons of trees, pros', + 2, + None, + 'pros-and-cons-of-trees-pros'), + ('Disadvantages', 2, None, 'disadvantages'), + ('Ensemble Methods: From a Single Tree to Many Trees and Extreme ' + 'Boosting, Meet the Jungle of Methods', + 2, + None, + 'ensemble-methods-from-a-single-tree-to-many-trees-and-extreme-boosting-meet-the-jungle-of-methods'), + ('An Overview of Ensemble Methods', + 2, + None, + 'an-overview-of-ensemble-methods'), + ('Bagging', 2, None, 'bagging'), + ('More bagging', 2, None, 'more-bagging'), + ('Simple Voting Example, head or tail', + 2, + None, + 'simple-voting-example-head-or-tail'), + ('Using the Voting Classifier', + 2, + None, + 'using-the-voting-classifier'), + ('Please, not the moons again! Voting and Bagging', + 2, + None, + 'please-not-the-moons-again-voting-and-bagging'), + ('Bagging Examples', 2, None, 'bagging-examples'), + ('Making your own Bootstrap: Changing the Level of the Decision ' + 'Tree', + 2, + None, + 'making-your-own-bootstrap-changing-the-level-of-the-decision-tree'), ('Why Voting?', 2, None, 'why-voting'), ('Tossing coins', 2, None, 'tossing-coins'), ('Standard imports first', 2, None, 'standard-imports-first'), @@ -327,55 +330,55 @@ MathJax.Hub.Config({
  • Growing a classification tree
  • Classification tree, how to split nodes
  • Visualizing the Tree, Classification
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • -
  • Pros and cons of trees, pros
  • -
  • Disadvantages
  • -
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • -
  • An Overview of Ensemble Methods
  • -
  • Bagging
  • -
  • More bagging
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Why binary splits?
  • +
  • Computing a Tree using the Gini Index
  • +
  • The Table
  • +
  • Computing the various Gini Indices
  • +
  • Computing the various Gini Indices, Hours slept
  • +
  • Computing the various Gini Indices, Hours studied
  • +
  • A possible code using Scikit-Learn
  • +
  • Visualizing Trees, More examples
  • +
  • Visualizing the Tree, The Moons
  • +
  • Other ways of visualizing the trees
  • +
  • Printing out as text
  • +
  • Algorithms for Setting up Decision Trees
  • +
  • The CART algorithm for Classification
  • +
  • The CART algorithm for Regression
  • +
  • Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Example: Computing the Gini index
  • +
  • Simple Python Code to read in Data and perform Classification
  • +
  • Computing the Gini Factor
  • +
  • Entropy and the ID3 algorithm
  • +
  • Cancer Data again now with Decision Trees and other Methods
  • +
  • Another example, the moons again
  • +
  • Playing around with regions
  • +
  • Regression trees
  • +
  • Final regressor code
  • +
  • Pros and cons of trees, pros
  • +
  • Disadvantages
  • +
  • Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods
  • +
  • An Overview of Ensemble Methods
  • +
  • Bagging
  • +
  • More bagging
  • Simple Voting Example, head or tail
  • Using the Voting Classifier
  • -
  • Please, not the moons again! Voting and Bagging
  • -
  • Bagging Examples
  • -
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • -
  • Why binary splits?
  • -
  • Computing a Tree using the Gini Index
  • -
  • The Table
  • -
  • Computing the various Gini Indices
  • -
  • Computing the various Gini Indices, Hours slept
  • -
  • Computing the various Gini Indices, Hours studied
  • -
  • A possible code using Scikit-Learn
  • -
  • Visualizing Trees, More examples
  • -
  • Visualizing the Tree, The Moons
  • -
  • Other ways of visualizing the trees
  • -
  • Printing out as text
  • -
  • Algorithms for Setting up Decision Trees
  • -
  • The CART algorithm for Classification
  • -
  • The CART algorithm for Regression
  • -
  • Computing the Gini index
  • -
  • Simple Python Code to read in Data and perform Classification
  • -
  • Computing the Gini Factor
  • -
  • Entropy and the ID3 algorithm
  • -
  • Cancer Data again now with Decision Trees and other Methods
  • -
  • Another example, the moons again
  • -
  • Playing around with regions
  • -
  • Regression trees
  • -
  • Final regressor code
  • +
  • Please, not the moons again! Voting and Bagging
  • +
  • Bagging Examples
  • +
  • Making your own Bootstrap: Changing the Level of the Decision Tree
  • Why Voting?
  • Tossing coins
  • Standard imports first
  • @@ -397,47 +400,14 @@ MathJax.Hub.Config({

     

     

     

    -

    Computing the Gini index

    +

    Why binary splits?

    -

    The example we will look at is a classical one in many Machine -Learning applications. Based on various meteorological features, we -have several so-called attributes which decide whether we at the end -will do some outdoor activity like skiing, going for a bike ride etc -etc. The table here contains the feautures outlook, temperature, -humidity and wind. The target or output is whether we ride -(True=1) or whether we do something else that day (False=0). The -attributes for each feature are then sunny, overcast and rain for the -outlook, hot, cold and mild for temperature, high and normal for -humidity and weak and strong for wind. +

    It is custom to split to a tree uising binary splits. The reason is +that multiway splits fragment the data too quickly, leaving +insufficient data at the next level down. Multiway splits can be +achieved by a series of binary split and this is normally preferred.

    -

    The table here summarizes the various attributes and

    -
    -
    - - - - - - - - - - - - - - - - - - - - -
    Day Outlook Temperature Humidity Wind Ride
    1 Sunny Hot High Weak 0
    2 Sunny Hot High Strong 1
    3 Overcast Hot High Weak 1
    4 Rain Mild High Weak 1
    5 Rain Cool Normal Weak 1
    6 Rain Cool Normal Strong 0
    7 Overcast Cool Normal Strong 1
    8 Sunny Mild High Weak 0
    9 Sunny Cool Normal Weak 1
    10 Rain Mild Normal Weak 1
    11 Sunny Mild Normal Strong 1
    12 Overcast Mild High Strong 1
    13 Overcast Hot Normal Weak 1
    14 Rain Mild High Strong 0
    -
    -
    -