test
This commit is contained in:
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs005.html#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs006.html#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs007.html#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs009.html#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs010.html#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs011.html#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
@@ -214,7 +211,7 @@ MathJax.Hub.Config({
|
||||
<center>[2] <b>Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University</b></center>
|
||||
<br>
|
||||
<p>
|
||||
<center><h4>Nov 3, 2020</h4></center> <!-- date -->
|
||||
<center><h4>Nov 5, 2020</h4></center> <!-- date -->
|
||||
<br>
|
||||
<p>
|
||||
|
||||
|
||||
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs005.html#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs006.html#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs007.html#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs009.html#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs010.html#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs011.html#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
|
||||
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs005.html#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs006.html#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs007.html#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs009.html#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs010.html#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs011.html#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
|
||||
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs005.html#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs006.html#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs007.html#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs009.html#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs010.html#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs011.html#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
|
||||
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs005.html#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs006.html#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs007.html#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs009.html#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs010.html#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs011.html#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
|
||||
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs006.html#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs007.html#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs009.html#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs010.html#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs011.html#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
|
||||
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs005.html#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs007.html#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs009.html#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs010.html#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs011.html#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
|
||||
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs005.html#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs006.html#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs009.html#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs010.html#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs011.html#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
@@ -198,7 +195,7 @@ MathJax.Hub.Config({
|
||||
<h2 id="___sec6" class="anchor">Using the Voting Classifier </h2>
|
||||
|
||||
<p>
|
||||
We can use the voting classifier on other data sets, here the excting binary case of two distinct objects using the make moons functionality of -Scikit-Learn-.
|
||||
We can use the voting classifier on other data sets, here the exciting binary case of two distinct objects using the make moons functionality of <b>Scikit-Learn</b>.
|
||||
<p>
|
||||
|
||||
<!-- code=python (!bc pycod) typeset with pygments style "default" -->
|
||||
|
||||
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs005.html#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs006.html#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs007.html#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs009.html#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs010.html#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs011.html#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
@@ -195,7 +192,7 @@ MathJax.Hub.Config({
|
||||
<a name="part0008"></a>
|
||||
<!-- !split -->
|
||||
|
||||
<h2 id="___sec7" class="anchor">Please, not the moons again! Voting and Bagging </h2>
|
||||
<h2 id="___sec7" class="anchor">Voting and Bagging </h2>
|
||||
|
||||
<p>
|
||||
|
||||
|
||||
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs005.html#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs006.html#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs007.html#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs010.html#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs011.html#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
|
||||
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs005.html#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs006.html#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs007.html#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs009.html#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs011.html#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
@@ -205,12 +202,12 @@ We will grow of forest of say \( B \) trees.
|
||||
<li> For \( b=1:B \)</li>
|
||||
|
||||
<ul>
|
||||
<li> Draw a bootstrap sample of from the training data organized in our \( \boldsymbol{X} \) matrix.</li>
|
||||
<li> Draw a bootstrap sample from the training data organized in our \( \boldsymbol{X} \) matrix.</li>
|
||||
<li> We grow then a random forest tree \( T_b \) based on the bootstrapped data by repeating the steps outlined till we reach the maximum node size is reached</li>
|
||||
|
||||
<ol>
|
||||
<li> we select \( m \le p \) variables at random from the \( p \) predictors/features</li>
|
||||
<li> pick the best split point among the \( m \) features using either the CART algorithm or the ID3 for classification and create a new node</li>
|
||||
<li> pick the best split point among the \( m \) features using for example the CART algorithm and create a new node</li>
|
||||
<li> split the node into daughter nodes</li>
|
||||
</ol>
|
||||
|
||||
|
||||
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs005.html#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs006.html#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs007.html#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs009.html#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs010.html#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
|
||||
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs005.html#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs006.html#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs007.html#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs009.html#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs010.html#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs011.html#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
|
||||
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs005.html#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs006.html#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs007.html#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs009.html#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs010.html#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs011.html#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
|
||||
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs005.html#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs006.html#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs007.html#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs009.html#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs010.html#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs011.html#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
|
||||
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs005.html#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs006.html#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs007.html#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs009.html#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs010.html#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs011.html#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
|
||||
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs005.html#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs006.html#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs007.html#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs009.html#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs010.html#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs011.html#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
|
||||
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs005.html#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs006.html#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs007.html#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs009.html#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs010.html#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs011.html#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
|
||||
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs005.html#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs006.html#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs007.html#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs009.html#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs010.html#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs011.html#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
|
||||
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs005.html#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs006.html#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs007.html#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs009.html#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs010.html#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs011.html#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
|
||||
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs005.html#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs006.html#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs007.html#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs009.html#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs010.html#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs011.html#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
|
||||
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs005.html#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs006.html#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs007.html#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs009.html#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs010.html#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs011.html#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
|
||||
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs005.html#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs006.html#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs007.html#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs009.html#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs010.html#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs011.html#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
|
||||
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs005.html#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs006.html#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs007.html#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs009.html#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs010.html#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs011.html#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
|
||||
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs005.html#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs006.html#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs007.html#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs009.html#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs010.html#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs011.html#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
|
||||
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs005.html#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs006.html#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs007.html#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs009.html#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs010.html#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs011.html#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
|
||||
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs005.html#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs006.html#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs007.html#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs009.html#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs010.html#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs011.html#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
|
||||
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs005.html#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs006.html#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs007.html#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs009.html#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs010.html#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs011.html#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
|
||||
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs005.html#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs006.html#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs007.html#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs009.html#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs010.html#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs011.html#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
|
||||
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs005.html#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs006.html#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs007.html#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs009.html#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs010.html#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs011.html#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
|
||||
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs005.html#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs006.html#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs007.html#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs009.html#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs010.html#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs011.html#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
|
||||
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs005.html#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs006.html#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs007.html#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs009.html#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs010.html#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs011.html#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
|
||||
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs005.html#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs006.html#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs007.html#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs009.html#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs010.html#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs011.html#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
|
||||
@@ -48,10 +48,7 @@ Automatically generated HTML file from DocOnce source
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -154,7 +151,7 @@ MathJax.Hub.Config({
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs005.html#___sec4" style="font-size: 80%;">Standard imports first</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs006.html#___sec5" style="font-size: 80%;">Simple Voting Example, head or tail</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs007.html#___sec6" style="font-size: 80%;">Using the Voting Classifier</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Please, not the moons again! Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs008.html#___sec7" style="font-size: 80%;">Voting and Bagging</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs009.html#___sec8" style="font-size: 80%;">Random forests</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs010.html#___sec9" style="font-size: 80%;">Random Forest Algorithm</a></li>
|
||||
<!-- navigation toc: --> <li><a href="._week45-bs011.html#___sec10" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
|
||||
@@ -214,7 +211,7 @@ MathJax.Hub.Config({
|
||||
<center>[2] <b>Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University</b></center>
|
||||
<br>
|
||||
<p>
|
||||
<center><h4>Nov 3, 2020</h4></center> <!-- date -->
|
||||
<center><h4>Nov 5, 2020</h4></center> <!-- date -->
|
||||
<br>
|
||||
<p>
|
||||
|
||||
|
||||
@@ -148,7 +148,7 @@ MathJax.Hub.Config({
|
||||
<center>[2] <b>Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University</b></center>
|
||||
<br>
|
||||
<p> <br>
|
||||
<center><h4>Nov 3, 2020</h4></center> <!-- date -->
|
||||
<center><h4>Nov 5, 2020</h4></center> <!-- date -->
|
||||
<br>
|
||||
<p>
|
||||
|
||||
@@ -319,7 +319,7 @@ plt.show()
|
||||
<h2 id="___sec6">Using the Voting Classifier </h2>
|
||||
|
||||
<p>
|
||||
We can use the voting classifier on other data sets, here the excting binary case of two distinct objects using the make moons functionality of -Scikit-Learn-.
|
||||
We can use the voting classifier on other data sets, here the exciting binary case of two distinct objects using the make moons functionality of <b>Scikit-Learn</b>.
|
||||
<p>
|
||||
|
||||
<!-- code=python (!bc pycod) typeset with pygments style "perldoc" -->
|
||||
@@ -370,7 +370,7 @@ voting_clf.fit(X_train, y_train)
|
||||
|
||||
|
||||
<section>
|
||||
<h2 id="___sec7">Please, not the moons again! Voting and Bagging </h2>
|
||||
<h2 id="___sec7">Voting and Bagging </h2>
|
||||
|
||||
<p>
|
||||
|
||||
@@ -487,7 +487,7 @@ We will grow of forest of say \( B \) trees.
|
||||
|
||||
<ul>
|
||||
|
||||
<p><li> Draw a bootstrap sample of from the training data organized in our \( \boldsymbol{X} \) matrix.</li>
|
||||
<p><li> Draw a bootstrap sample from the training data organized in our \( \boldsymbol{X} \) matrix.</li>
|
||||
|
||||
<p><li> We grow then a random forest tree \( T_b \) based on the bootstrapped data by repeating the steps outlined till we reach the maximum node size is reached</li>
|
||||
|
||||
@@ -495,7 +495,7 @@ We will grow of forest of say \( B \) trees.
|
||||
|
||||
<p><li> we select \( m \le p \) variables at random from the \( p \) predictors/features</li>
|
||||
|
||||
<p><li> pick the best split point among the \( m \) features using either the CART algorithm or the ID3 for classification and create a new node</li>
|
||||
<p><li> pick the best split point among the \( m \) features using for example the CART algorithm and create a new node</li>
|
||||
|
||||
<p><li> split the node into daughter nodes</li>
|
||||
</ol>
|
||||
|
||||
@@ -42,10 +42,7 @@ div { text-align: justify; text-justify: inter-word; }
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -145,7 +142,7 @@ MathJax.Hub.Config({
|
||||
<center>[2] <b>Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University</b></center>
|
||||
<br>
|
||||
<p>
|
||||
<center><h4>Nov 3, 2020</h4></center> <!-- date -->
|
||||
<center><h4>Nov 5, 2020</h4></center> <!-- date -->
|
||||
<br>
|
||||
<p>
|
||||
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
|
||||
@@ -307,7 +304,7 @@ plt.show()
|
||||
<h2 id="___sec6">Using the Voting Classifier </h2>
|
||||
|
||||
<p>
|
||||
We can use the voting classifier on other data sets, here the excting binary case of two distinct objects using the make moons functionality of -Scikit-Learn-.
|
||||
We can use the voting classifier on other data sets, here the exciting binary case of two distinct objects using the make moons functionality of <b>Scikit-Learn</b>.
|
||||
<p>
|
||||
|
||||
<!-- code=python (!bc pycod) typeset with pygments style "perldoc" -->
|
||||
@@ -357,7 +354,7 @@ voting_clf.fit(X_train, y_train)
|
||||
<p>
|
||||
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
|
||||
|
||||
<h2 id="___sec7">Please, not the moons again! Voting and Bagging </h2>
|
||||
<h2 id="___sec7">Voting and Bagging </h2>
|
||||
|
||||
<p>
|
||||
|
||||
@@ -470,12 +467,12 @@ We will grow of forest of say \( B \) trees.
|
||||
<li> For \( b=1:B \)</li>
|
||||
|
||||
<ul>
|
||||
<li> Draw a bootstrap sample of from the training data organized in our \( \boldsymbol{X} \) matrix.</li>
|
||||
<li> Draw a bootstrap sample from the training data organized in our \( \boldsymbol{X} \) matrix.</li>
|
||||
<li> We grow then a random forest tree \( T_b \) based on the bootstrapped data by repeating the steps outlined till we reach the maximum node size is reached</li>
|
||||
|
||||
<ol>
|
||||
<li> we select \( m \le p \) variables at random from the \( p \) predictors/features</li>
|
||||
<li> pick the best split point among the \( m \) features using either the CART algorithm or the ID3 for classification and create a new node</li>
|
||||
<li> pick the best split point among the \( m \) features using for example the CART algorithm and create a new node</li>
|
||||
<li> split the node into daughter nodes</li>
|
||||
</ol>
|
||||
|
||||
|
||||
@@ -47,10 +47,7 @@ div { text-align: justify; text-justify: inter-word; }
|
||||
('Standard imports first', 2, None, '___sec4'),
|
||||
('Simple Voting Example, head or tail', 2, None, '___sec5'),
|
||||
('Using the Voting Classifier', 2, None, '___sec6'),
|
||||
('Please, not the moons again! Voting and Bagging',
|
||||
2,
|
||||
None,
|
||||
'___sec7'),
|
||||
('Voting and Bagging', 2, None, '___sec7'),
|
||||
('Random forests', 2, None, '___sec8'),
|
||||
('Random Forest Algorithm', 2, None, '___sec9'),
|
||||
('Random Forests Compared with other Methods on the Cancer Data',
|
||||
@@ -150,7 +147,7 @@ MathJax.Hub.Config({
|
||||
<center>[2] <b>Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University</b></center>
|
||||
<br>
|
||||
<p>
|
||||
<center><h4>Nov 3, 2020</h4></center> <!-- date -->
|
||||
<center><h4>Nov 5, 2020</h4></center> <!-- date -->
|
||||
<br>
|
||||
<p>
|
||||
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
|
||||
@@ -312,7 +309,7 @@ plt<span style="color: #666666">.</span>show()
|
||||
<h2 id="___sec6">Using the Voting Classifier </h2>
|
||||
|
||||
<p>
|
||||
We can use the voting classifier on other data sets, here the excting binary case of two distinct objects using the make moons functionality of -Scikit-Learn-.
|
||||
We can use the voting classifier on other data sets, here the exciting binary case of two distinct objects using the make moons functionality of <b>Scikit-Learn</b>.
|
||||
<p>
|
||||
|
||||
<!-- code=python (!bc pycod) typeset with pygments style "default" -->
|
||||
@@ -362,7 +359,7 @@ voting_clf<span style="color: #666666">.</span>fit(X_train, y_train)
|
||||
<p>
|
||||
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
|
||||
|
||||
<h2 id="___sec7">Please, not the moons again! Voting and Bagging </h2>
|
||||
<h2 id="___sec7">Voting and Bagging </h2>
|
||||
|
||||
<p>
|
||||
|
||||
@@ -475,12 +472,12 @@ We will grow of forest of say \( B \) trees.
|
||||
<li> For \( b=1:B \)</li>
|
||||
|
||||
<ul>
|
||||
<li> Draw a bootstrap sample of from the training data organized in our \( \boldsymbol{X} \) matrix.</li>
|
||||
<li> Draw a bootstrap sample from the training data organized in our \( \boldsymbol{X} \) matrix.</li>
|
||||
<li> We grow then a random forest tree \( T_b \) based on the bootstrapped data by repeating the steps outlined till we reach the maximum node size is reached</li>
|
||||
|
||||
<ol>
|
||||
<li> we select \( m \le p \) variables at random from the \( p \) predictors/features</li>
|
||||
<li> pick the best split point among the \( m \) features using either the CART algorithm or the ID3 for classification and create a new node</li>
|
||||
<li> pick the best split point among the \( m \) features using for example the CART algorithm and create a new node</li>
|
||||
<li> split the node into daughter nodes</li>
|
||||
</ol>
|
||||
|
||||
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
@@ -141,7 +141,7 @@ plt.show()
|
||||
!split
|
||||
===== Using the Voting Classifier =====
|
||||
|
||||
We can use the voting classifier on other data sets, here the excting binary case of two distinct objects using the make moons functionality of -Scikit-Learn-.
|
||||
We can use the voting classifier on other data sets, here the exciting binary case of two distinct objects using the make moons functionality of _Scikit-Learn_.
|
||||
!bc pycod
|
||||
from sklearn.model_selection import train_test_split
|
||||
from sklearn.datasets import make_moons
|
||||
@@ -192,7 +192,7 @@ for clf in (log_clf, rnd_clf, svm_clf, voting_clf):
|
||||
|
||||
|
||||
!split
|
||||
===== Please, not the moons again! Voting and Bagging =====
|
||||
===== Voting and Bagging =====
|
||||
|
||||
!bc pycod
|
||||
from sklearn.model_selection import train_test_split
|
||||
@@ -295,10 +295,10 @@ The algorithm described here can be applied to both classification and regressio
|
||||
|
||||
We will grow of forest of say $B$ trees.
|
||||
o For $b=1:B$
|
||||
* Draw a bootstrap sample of from the training data organized in our $\bm{X}$ matrix.
|
||||
* Draw a bootstrap sample from the training data organized in our $\bm{X}$ matrix.
|
||||
* We grow then a random forest tree $T_b$ based on the bootstrapped data by repeating the steps outlined till we reach the maximum node size is reached
|
||||
o we select $m \le p$ variables at random from the $p$ predictors/features
|
||||
o pick the best split point among the $m$ features using either the CART algorithm or the ID3 for classification and create a new node
|
||||
o pick the best split point among the $m$ features using for example the CART algorithm and create a new node
|
||||
o split the node into daughter nodes
|
||||
o Output then the ensemble of trees $\{T_b\}_1^{B}$ and make predictions for either a regression type of problem or a classification type of problem.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user