diff --git a/benchmark/Results.py b/benchmark/Results.py index c5940ab..53af23f 100644 --- a/benchmark/Results.py +++ b/benchmark/Results.py @@ -535,8 +535,8 @@ class ReportDatasets: data_sets = Datasets() color_line = TextColor.LINE1 print(color_line, end="") - print(f"{'Dataset':30s} Samp. Feat. Cls Balance") - print("=" * 30 + " ===== ===== === " + "=" * 40) + print(f"{'Dataset':30s} Sampl. Feat. Cls Balance") + print("=" * 30 + " ===== ====== === " + "=" * 40) for dataset in data_sets: X, y = data_sets.load(dataset) color_line = ( @@ -552,7 +552,7 @@ class ReportDatasets: sep = "/ " print(color_line, end="") print( - f"{dataset:30s} {X.shape[0]:5,d} {X.shape[1]:5,d} " + f"{dataset:30s} {X.shape[0]:6,d} {X.shape[1]:5,d} " f"{len(np.unique(y)):3d} {comp:40s}" ) diff --git a/benchmark/tests/test_files/report_datasets.test b/benchmark/tests/test_files/report_datasets.test index d9581c0..8f5b0f6 100644 --- a/benchmark/tests/test_files/report_datasets.test +++ b/benchmark/tests/test_files/report_datasets.test @@ -1,4 +1,4 @@ -Dataset Samp. Feat. Cls Balance -============================== ===== ===== === ======================================== -balance-scale 625 4 3 7.84%/ 46.08%/ 46.08% -balloons 16 4 2 56.25%/ 43.75% +Dataset Sampl. Feat. Cls Balance +============================== ===== ====== === ======================================== +balance-scale 625 4 3 7.84%/ 46.08%/ 46.08% +balloons 16 4 2 56.25%/ 43.75%