Spaces:
Running
Running
Sadjad Alikhani
commited on
Update app.py
Browse files
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
|