Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -88,8 +88,8 @@ with gr.Blocks() as demo:
|
|
| 88 |
value="Moons",
|
| 89 |
label="Dataset"
|
| 90 |
)
|
| 91 |
-
n_samples = gr.Slider(minimum=
|
| 92 |
-
outliers_fraction = gr.Slider(minimum=0.
|
| 93 |
|
| 94 |
# Models and their plots in a row
|
| 95 |
input_models = ["Robust covariance", "One-Class SVM", "One-Class SVM (SGD)", "Isolation Forest", "Local Outlier Factor"]
|
|
|
|
| 88 |
value="Moons",
|
| 89 |
label="Dataset"
|
| 90 |
)
|
| 91 |
+
n_samples = gr.Slider(minimum=10, maximum=1000, step=25, value=100, label="Number of Samples")
|
| 92 |
+
outliers_fraction = gr.Slider(minimum=0.01, maximum=0.99, step=0.1, value=0.2, label="Fraction of Outliers")
|
| 93 |
|
| 94 |
# Models and their plots in a row
|
| 95 |
input_models = ["Robust covariance", "One-Class SVM", "One-Class SVM (SGD)", "Isolation Forest", "Local Outlier Factor"]
|