Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,16 +44,16 @@ def app_fn(k: int, n_features: int, n_informative: int, n_redundant: int):
|
|
| 44 |
)
|
| 45 |
return report_df, fig
|
| 46 |
|
| 47 |
-
title = "
|
| 48 |
with gr.Blocks() as demo:
|
| 49 |
gr.Markdown(f"# {title}")
|
| 50 |
gr.Markdown(
|
| 51 |
"""
|
| 52 |
-
|
| 53 |
using a synthetic dataset. The number of features to select and other parameters to generate the toy dataset \
|
| 54 |
are provided as components to play around.
|
| 55 |
|
| 56 |
-
[
|
| 57 |
"""
|
| 58 |
)
|
| 59 |
with gr.Row():
|
|
|
|
| 44 |
)
|
| 45 |
return report_df, fig
|
| 46 |
|
| 47 |
+
title = "Pipeline ANOVA SVM"
|
| 48 |
with gr.Blocks() as demo:
|
| 49 |
gr.Markdown(f"# {title}")
|
| 50 |
gr.Markdown(
|
| 51 |
"""
|
| 52 |
+
This example shows how a feature selection can be easily integrated within a machine learning pipeline \
|
| 53 |
using a synthetic dataset. The number of features to select and other parameters to generate the toy dataset \
|
| 54 |
are provided as components to play around.
|
| 55 |
|
| 56 |
+
See original example [here](https://scikit-learn.org/stable/auto_examples/feature_selection/plot_feature_selection_pipeline.html#sphx-glr-auto-examples-feature-selection-plot-feature-selection-pipeline-py)
|
| 57 |
"""
|
| 58 |
)
|
| 59 |
with gr.Row():
|