Added dataset description and explained depth parameter in UI
Browse files
app.py
CHANGED
@@ -63,8 +63,12 @@ with gr.Blocks(title=title) as demo:
|
|
63 |
" Larger max_depth makes model learn the finner details resulting in **overfitting** <br>"
|
64 |
" Play with the Depth parameter to see how it fits a noisy circle dataset.<br>")
|
65 |
|
66 |
-
gr.Markdown(" **[Demo is based on sklearn docs](https://scikit-learn.org/stable/auto_examples/tree/plot_tree_regression_multioutput.html)**")
|
67 |
|
|
|
|
|
|
|
|
|
68 |
|
69 |
with gr.Row():
|
70 |
d1 = gr.Slider(minimum=0, maximum=20, step=1, value = 2,
|
|
|
63 |
" Larger max_depth makes model learn the finner details resulting in **overfitting** <br>"
|
64 |
" Play with the Depth parameter to see how it fits a noisy circle dataset.<br>")
|
65 |
|
66 |
+
gr.Markdown(" **[Demo is based on sklearn docs](https://scikit-learn.org/stable/auto_examples/tree/plot_tree_regression_multioutput.html)** <br>")
|
67 |
|
68 |
+
gr.Markdown(" **Dataset** : It is a toy dataset generated in shape of a circle with some small random noise added to it. <br>")
|
69 |
+
gr.Markdown(" Different depths corresponds to different tree depth of DecisionTreeRegressor Models. <br>"
|
70 |
+
" Larger Depth trying to overfit and learn even the finner details of the data.<br>"
|
71 |
+
)
|
72 |
|
73 |
with gr.Row():
|
74 |
d1 = gr.Slider(minimum=0, maximum=20, step=1, value = 2,
|