Spaces:
Running
Running
Sadjad Alikhani
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -127,7 +127,7 @@ def compute_average_confusion_matrix(folder):
|
|
| 127 |
LOS_PATH = "images_LoS"
|
| 128 |
|
| 129 |
# Define the percentage values
|
| 130 |
-
percentage_values_los = np.linspace(0.
|
| 131 |
|
| 132 |
# Function to compute confusion matrix and plot it
|
| 133 |
def plot_confusion_matrix_from_csv(csv_file_path, title, save_path):
|
|
|
|
| 127 |
LOS_PATH = "images_LoS"
|
| 128 |
|
| 129 |
# Define the percentage values
|
| 130 |
+
percentage_values_los = np.linspace(0.001, 1, 20) * 100 # 20 percentage values
|
| 131 |
|
| 132 |
# Function to compute confusion matrix and plot it
|
| 133 |
def plot_confusion_matrix_from_csv(csv_file_path, title, save_path):
|