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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ def display_eigenvalue_analysis():
55
 
56
  # Calculate the normalized Laplacian matrix
57
  L = nx.normalized_laplacian_matrix(G_custom)
58
- eigenvalues = numpy.linalg.eigvals(L.toarray())
59
 
60
  # Print largest and smallest eigenvalues
61
  st.write(f"Largest eigenvalue: {max(eigenvalues)}")
 
55
 
56
  # Calculate the normalized Laplacian matrix
57
  L = nx.normalized_laplacian_matrix(G_custom)
58
+ eigenvalues = np.linalg.eigvals(L.toarray())
59
 
60
  # Print largest and smallest eigenvalues
61
  st.write(f"Largest eigenvalue: {max(eigenvalues)}")