Update app.py
Browse files
app.py
CHANGED
@@ -79,7 +79,7 @@ with gr.Blocks(theme=theme) as demo:
|
|
79 |
''')
|
80 |
gr.Markdown("The DecisionTreeClassifier employs a pruning technique that can be configured using the cost complexity parameter, commonly referred to as ccp_alpha."
|
81 |
" By increasing the value of ccp_alpha, a greater number of nodes can be pruned. This demo demonstrates the impact of ccp_alpha on tree regularization")
|
82 |
-
gr.Markdown(
|
83 |
gr.Markdown("Author: <a href=\"https://huggingface.co/vumichien\">Vu Minh Chien</a>. Based on the example from <a href=\"https://scikit-learn.org/stable/auto_examples/tree/plot_cost_complexity_pruning.html#sphx-glr-auto-examples-tree-plot-cost-complexity-pruning-py\">scikit-learn</a>")
|
84 |
test_size = gr.Slider(minimum=0, maximum=1, step=0.1, value=0.2, label="Test size")
|
85 |
random_state = gr.Slider(minimum=0, maximum=2000, step=1, value=0, label="Random state")
|
|
|
79 |
''')
|
80 |
gr.Markdown("The DecisionTreeClassifier employs a pruning technique that can be configured using the cost complexity parameter, commonly referred to as ccp_alpha."
|
81 |
" By increasing the value of ccp_alpha, a greater number of nodes can be pruned. This demo demonstrates the impact of ccp_alpha on tree regularization")
|
82 |
+
gr.Markdown('''#### Dataset: Breast Cancer''')
|
83 |
gr.Markdown("Author: <a href=\"https://huggingface.co/vumichien\">Vu Minh Chien</a>. Based on the example from <a href=\"https://scikit-learn.org/stable/auto_examples/tree/plot_cost_complexity_pruning.html#sphx-glr-auto-examples-tree-plot-cost-complexity-pruning-py\">scikit-learn</a>")
|
84 |
test_size = gr.Slider(minimum=0, maximum=1, step=0.1, value=0.2, label="Test size")
|
85 |
random_state = gr.Slider(minimum=0, maximum=2000, step=1, value=0, label="Random state")
|