tushifire commited on
Commit
d4ce165
·
1 Parent(s): e2c3c02

Fix n components for 3d plot

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -110,7 +110,7 @@ n_labels = labels.max()
110
  from sklearn import manifold
111
 
112
  node_position_model = manifold.LocallyLinearEmbedding(
113
- n_components=2, eigen_solver="dense", n_neighbors=6
114
  )
115
 
116
  embedding = node_position_model.fit_transform(X.T).T
@@ -198,5 +198,5 @@ with gr.Blocks(title=title) as demo:
198
  btn.click(
199
  visualize_stocks, outputs=gr.Plot(label="Visualizing stock into clusters")
200
  )
201
- gr.Markdown(f"## In progress")
202
  demo.launch()
 
110
  from sklearn import manifold
111
 
112
  node_position_model = manifold.LocallyLinearEmbedding(
113
+ n_components=3, eigen_solver="dense", n_neighbors=6
114
  )
115
 
116
  embedding = node_position_model.fit_transform(X.T).T
 
198
  btn.click(
199
  visualize_stocks, outputs=gr.Plot(label="Visualizing stock into clusters")
200
  )
201
+
202
  demo.launch()