From 29bb261f62ee2b503dabdf2fb1748bd34fe3ac2a Mon Sep 17 00:00:00 2001 From: Alejandro Moreo Date: Sat, 27 Sep 2025 17:47:52 +0200 Subject: [PATCH] testing kde normal --- KDEyAitchison/commons.py | 4 ++-- KDEyAitchison/show_results.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/KDEyAitchison/commons.py b/KDEyAitchison/commons.py index 0beaea0..9e7b105 100644 --- a/KDEyAitchison/commons.py +++ b/KDEyAitchison/commons.py @@ -5,7 +5,7 @@ from quapy.method.aggregative import EMQ, KDEyML from sklearn.linear_model import LogisticRegression METHODS = ['EMQ', - # 'KDEy-ML', + 'KDEy-ML', 'KDEy-MLA' ] @@ -17,7 +17,7 @@ hyper_LR = { } hyper_kde = { - 'bandwidth': np.linspace(0.01, 0.2, 20) + 'bandwidth': np.linspace(0.001, 0.5, 100) } hyper_kde_aitchison = { diff --git a/KDEyAitchison/show_results.py b/KDEyAitchison/show_results.py index db63e64..3c18d6b 100644 --- a/KDEyAitchison/show_results.py +++ b/KDEyAitchison/show_results.py @@ -24,7 +24,7 @@ if __name__ == '__main__': global_result_path = f'{result_dir}/{method}' print(f'Method\tDataset\tMAE\tMRAE\tKLD') for dataset in qp.datasets.UCI_MULTICLASS_DATASETS: - print(dataset) + # print(dataset) local_result_path = global_result_path + '_' + dataset if os.path.exists(local_result_path + '.dataframe'): report = pd.read_csv(local_result_path+'.dataframe')