Update app.py
Browse files
app.py
CHANGED
|
@@ -99,13 +99,13 @@ def iter_grid(n_rows, n_cols):
|
|
| 99 |
yield
|
| 100 |
|
| 101 |
info = '''
|
| 102 |
-
|
| 103 |
|
| 104 |
-
This plot compares the decision surfaces learned by a decision tree classifier, a random forest classifier, an extra-trees classifier, and by an AdaBoost classifier.
|
| 105 |
|
| 106 |
-
There are in total four features in the Iris dataset. In this example you can select two features at a time for visualization purposes using the dropdown box below.
|
| 107 |
|
| 108 |
-
|
| 109 |
'''
|
| 110 |
|
| 111 |
with gr.Blocks() as demo:
|
|
|
|
| 99 |
yield
|
| 100 |
|
| 101 |
info = '''
|
| 102 |
+
# Plot the decision surfaces of ensembles of trees on the Iris dataset
|
| 103 |
|
| 104 |
+
This plot compares the **decision surfaces** learned by a decision tree classifier, a random forest classifier, an extra-trees classifier, and by an AdaBoost classifier.
|
| 105 |
|
| 106 |
+
There are in total **four features** in the Iris dataset. In this example you can select **two features at a time** for visualization purposes using the dropdown box below. All features are normalized to zero mean and unit standard deviation.
|
| 107 |
|
| 108 |
+
Play around with the **number of estimators** in the ensembles and the **max depth** of the trees using the sliders.
|
| 109 |
'''
|
| 110 |
|
| 111 |
with gr.Blocks() as demo:
|