Skip to content

Commit 5715332

Browse files
REFACTOR: Minor change in genetic_algorithm.py
1 parent d8e0dac commit 5715332

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

genetic_algorithm.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,6 @@ def write_best_features_to_file(best_features, rfe_ranking, results_file, metric
779779
os.makedirs(results_dir, exist_ok=True) # Ensure directory exists
780780
base_name = os.path.splitext(os.path.basename(results_file))[0] # Base filename without extension
781781

782-
783782
if base_info.get("metrics"): # If metrics are available
784783
metrics_csv = os.path.join(results_dir, f"{base_name}_metrics.csv") # Metrics CSV path
785784
try: # Attempt to write metrics CSV

0 commit comments

Comments
 (0)