Update description
Browse files
app.py
CHANGED
@@ -73,7 +73,12 @@ def compare(max_depth,n_estimators):
|
|
73 |
title = "Comparing random forests and the multi-output meta estimator"
|
74 |
with gr.Blocks(title=title) as demo:
|
75 |
gr.Markdown(f"## {title}")
|
76 |
-
gr.Markdown("
|
|
|
|
|
|
|
|
|
|
|
77 |
|
78 |
max_depth = gr.Slider(minimum=10, maximum=50, step=1, label = "Maximum Depth")
|
79 |
n_estimators = gr.Slider(minimum=50, maximum=300, step=1, label = "Number of Estimators")
|
|
|
73 |
title = "Comparing random forests and the multi-output meta estimator"
|
74 |
with gr.Blocks(title=title) as demo:
|
75 |
gr.Markdown(f"## {title}")
|
76 |
+
gr.Markdown("""
|
77 |
+
This app demonstrates comparison of random forest with multi-output meta estimator for multi-output regression.
|
78 |
+
A random forest regressor is trained on randomly generated data which is used as baseline and compared with multi-output meta estimator trained on the same dataset
|
79 |
+
The predicted outputs from each model are visualized in the plot together with the actual data. The maximum depth and number of estimator of the random forest can be adjusted and the effect can be seen in the resulting plot.
|
80 |
+
This app is developed based on [scikit-learn example](https://scikit-learn.org/stable/auto_examples/ensemble/plot_random_forest_regression_multioutput.html#sphx-glr-auto-examples-ensemble-plot-random-forest-regression-multioutput-py)
|
81 |
+
""")
|
82 |
|
83 |
max_depth = gr.Slider(minimum=10, maximum=50, step=1, label = "Maximum Depth")
|
84 |
n_estimators = gr.Slider(minimum=50, maximum=300, step=1, label = "Number of Estimators")
|