Sadjad Alikhani commited on
Commit
642cab4
·
verified ·
1 Parent(s): bef8ac3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -112,7 +112,7 @@ def plot_confusion_matrix(y_true, y_pred, title):
112
  plt.savefig(f"{title}.png")
113
  return Image.open(f"{title}.png")
114
 
115
- identical_train_test_split(output_emb, output_raw, percentage):
116
  N = output_emb.shape[0] # Get the total number of samples
117
 
118
  # Generate the indices for shuffling and splitting
 
112
  plt.savefig(f"{title}.png")
113
  return Image.open(f"{title}.png")
114
 
115
+ def identical_train_test_split(output_emb, output_raw, percentage):
116
  N = output_emb.shape[0] # Get the total number of samples
117
 
118
  # Generate the indices for shuffling and splitting