JaganathC commited on
Commit
27fa752
·
1 Parent(s): 9221ad8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -15
app.py CHANGED
@@ -195,21 +195,6 @@ user_input = np.array([age, bp, sg, al, sugar, rbc, pc, pcc, bac, bgr, bu, sc,
195
  # import dataset
196
  def get_dataset():
197
  data = pd.read_csv('kidney.csv')
198
-
199
- # Calculate the correlation matrix
200
- # corr_matrix = data.corr()
201
-
202
- # Create a heatmap of the correlation matrix
203
- plt.figure(figsize=(10, 8))
204
- sns.heatmap(corr_matrix, annot=True, cmap='coolwarm')
205
- plt.title('Correlation Matrix')
206
- plt.xticks(rotation=45)
207
- plt.yticks(rotation=0)
208
- plt.tight_layout()
209
-
210
- # Display the heatmap in Streamlit
211
- st.pyplot()
212
-
213
  return data
214
 
215
  def generate_model_labels(model_names):
 
195
  # import dataset
196
  def get_dataset():
197
  data = pd.read_csv('kidney.csv')
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
198
  return data
199
 
200
  def generate_model_labels(model_names):