marta-marta commited on
Commit
9bbc2d5
·
1 Parent(s): 00c73d1

Need new libs to be considered in the app

Browse files
Files changed (1) hide show
  1. Data_Plotting/Plot_TSNE.py +1 -1
Data_Plotting/Plot_TSNE.py CHANGED
@@ -27,12 +27,12 @@ def TSNE_reduction(latent_points, perplexity=30, learning_rate=20):
27
  import pandas as pd
28
  import json
29
 
 
30
  df = pd.read_csv('2D_Lattice.csv')
31
  row = 0
32
  box = df.iloc[row,1]
33
  array = np.array(json.loads(box))
34
 
35
- """
36
  # For plotting CSV data
37
  # define a function to flatten a box
38
  def flatten_box(box_str):
 
27
  import pandas as pd
28
  import json
29
 
30
+ """
31
  df = pd.read_csv('2D_Lattice.csv')
32
  row = 0
33
  box = df.iloc[row,1]
34
  array = np.array(json.loads(box))
35
 
 
36
  # For plotting CSV data
37
  # define a function to flatten a box
38
  def flatten_box(box_str):