Update app.py
Browse files
app.py
CHANGED
|
@@ -71,12 +71,12 @@ def app_fn(n: int) -> go.Figure:
|
|
| 71 |
|
| 72 |
return fig
|
| 73 |
|
| 74 |
-
title="Individual and Voting
|
| 75 |
with gr.Blocks() as demo:
|
| 76 |
gr.Markdown(f"# {title}")
|
| 77 |
gr.Markdown(
|
| 78 |
"""
|
| 79 |
-
|
| 80 |
Then it averages the individual predictions to form a final prediction. This example will use three different regressors to \
|
| 81 |
predict the data: GradientBoostingRegressor, RandomForestRegressor, and LinearRegression. Then the 3 regressors will be used for the VotingRegressor. \
|
| 82 |
The dataset used consists of 10 features collected from a cohort of diabetes patients. The target is a quantitative measure of disease progression one year after baseline.
|
|
|
|
| 71 |
|
| 72 |
return fig
|
| 73 |
|
| 74 |
+
title="Individual and Voting Regression Predictions 🗳️"
|
| 75 |
with gr.Blocks() as demo:
|
| 76 |
gr.Markdown(f"# {title}")
|
| 77 |
gr.Markdown(
|
| 78 |
"""
|
| 79 |
+
A voting regressor is an ensemble meta-estimator that fits several base regressors, each on the whole dataset. \
|
| 80 |
Then it averages the individual predictions to form a final prediction. This example will use three different regressors to \
|
| 81 |
predict the data: GradientBoostingRegressor, RandomForestRegressor, and LinearRegression. Then the 3 regressors will be used for the VotingRegressor. \
|
| 82 |
The dataset used consists of 10 features collected from a cohort of diabetes patients. The target is a quantitative measure of disease progression one year after baseline.
|