Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -17,8 +17,8 @@ import seaborn as sns
|
|
17 |
#################### BEAM PREDICTION #########################}
|
18 |
def beam_prediction_task(data_percentage, task_complexity):
|
19 |
# Folder naming convention based on input_type, data_percentage, and task_complexity
|
20 |
-
raw_folder = f"
|
21 |
-
embeddings_folder = f"
|
22 |
|
23 |
# Process raw confusion matrix
|
24 |
raw_cm = compute_average_confusion_matrix(raw_folder)
|
@@ -139,7 +139,7 @@ def compute_average_confusion_matrix(folder):
|
|
139 |
|
140 |
|
141 |
# Paths to the predefined images folder
|
142 |
-
LOS_PATH = "
|
143 |
|
144 |
# Define the percentage values
|
145 |
percentage_values_los = np.linspace(0.001, 1, 20) * 100 # 20 percentage values
|
|
|
17 |
#################### BEAM PREDICTION #########################}
|
18 |
def beam_prediction_task(data_percentage, task_complexity):
|
19 |
# Folder naming convention based on input_type, data_percentage, and task_complexity
|
20 |
+
raw_folder = f"images/raw_{data_percentage/100:.1f}_{task_complexity}"
|
21 |
+
embeddings_folder = f"images/embedding_{data_percentage/100:.1f}_{task_complexity}"
|
22 |
|
23 |
# Process raw confusion matrix
|
24 |
raw_cm = compute_average_confusion_matrix(raw_folder)
|
|
|
139 |
|
140 |
|
141 |
# Paths to the predefined images folder
|
142 |
+
LOS_PATH = "images_LoS"
|
143 |
|
144 |
# Define the percentage values
|
145 |
percentage_values_los = np.linspace(0.001, 1, 20) * 100 # 20 percentage values
|