shukdevdatta123 commited on
Commit
ba3da41
·
verified ·
1 Parent(s): ea3a6c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def display_eigenvalue_analysis():
32
 
33
  # Calculate the normalized Laplacian matrix
34
  L = nx.normalized_laplacian_matrix(G)
35
- eigenvalues = numpy.linalg.eigvals(L.toarray())
36
 
37
  # Print largest and smallest eigenvalues
38
  st.write(f"Largest eigenvalue: {max(eigenvalues)}")
 
32
 
33
  # Calculate the normalized Laplacian matrix
34
  L = nx.normalized_laplacian_matrix(G)
35
+ eigenvalues = np.linalg.eigvals(L.toarray())
36
 
37
  # Print largest and smallest eigenvalues
38
  st.write(f"Largest eigenvalue: {max(eigenvalues)}")