Hnabil commited on
Commit
b82972a
·
1 Parent(s): 386bc71

Update explanation

Browse files
Files changed (1) hide show
  1. app.py +12 -4
app.py CHANGED
@@ -79,10 +79,18 @@ def plot_data(dataset: str, perplexity: int, n_samples: int, tsne: bool):
79
 
80
 
81
  title = "t-SNE: The effect of various perplexity values on the shape"
82
- description = (
83
- "An illustration of t-SNE on the two concentric circles and the"
84
- "S-curve datasets for different perplexity values."
85
- )
 
 
 
 
 
 
 
 
86
 
87
 
88
  with gr.Blocks(title=title) as demo:
 
79
 
80
 
81
  title = "t-SNE: The effect of various perplexity values on the shape"
82
+ description = """
83
+ t-Stochastic Neighborhood Embedding ([t-SNE](https://scikit-learn.org/stable/modules/generated/sklearn.manifold.TSNE.html)) is a powerful technique dimensionality reduction and visualization of high dimensional datasets.
84
+
85
+ One of the key parameters in t-SNE is perplexity, which controls the number of nearest neighbors used to represent each data point in the low-dimensional space.
86
+
87
+ In this illustration, we explore the impact of various perplexity values on t-SNE visualizations using three commonly used datasets: concentric circles, S-curve and Uniform Grid.
88
+
89
+ By comparing the resulting visualizations, we demonstrate how changing the perplexity value affects the shape of the visualization.
90
+
91
+ Created by [@Hnabil](https://huggingface.co/Hnabil) based on [scikit-learn docs](https://scikit-learn.org/stable/auto_examples/manifold/plot_t_sne_perplexity.html)
92
+ """
93
+
94
 
95
 
96
  with gr.Blocks(title=title) as demo: