Add header explaining what the space does
Browse files
app.py
CHANGED
@@ -53,6 +53,15 @@ def get_clusters_plot(n_blobs, quantile, cluster_std):
|
|
53 |
|
54 |
|
55 |
with gr.Blocks() as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
with gr.Row():
|
57 |
with gr.Column(scale=1):
|
58 |
n_blobs = gr.Slider(
|
|
|
53 |
|
54 |
|
55 |
with gr.Blocks() as demo:
|
56 |
+
gr.Markdown(
|
57 |
+
"""
|
58 |
+
# Mean Shift Clustering
|
59 |
+
|
60 |
+
This space shows how to use the [Mean Shift Clustering](https://scikit-learn.org/stable/modules/generated/sklearn.cluster.MeanShift.html) algorithm to cluster 2D data points. You can change the parameters using the sliders and see how the model performs.
|
61 |
+
|
62 |
+
This space is based on [sklearn's original demo](https://scikit-learn.org/stable/auto_examples/cluster/plot_mean_shift.html#sphx-glr-auto-examples-cluster-plot-mean-shift-py)
|
63 |
+
"""
|
64 |
+
)
|
65 |
with gr.Row():
|
66 |
with gr.Column(scale=1):
|
67 |
n_blobs = gr.Slider(
|