testing kde normal

This commit is contained in:
Alejandro Moreo Fernandez 2025-09-27 17:47:52 +02:00
parent c3fd92efde
commit 29bb261f62
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ from quapy.method.aggregative import EMQ, KDEyML
from sklearn.linear_model import LogisticRegression from sklearn.linear_model import LogisticRegression
METHODS = ['EMQ', METHODS = ['EMQ',
# 'KDEy-ML', 'KDEy-ML',
'KDEy-MLA' 'KDEy-MLA'
] ]
@ -17,7 +17,7 @@ hyper_LR = {
} }
hyper_kde = { hyper_kde = {
'bandwidth': np.linspace(0.01, 0.2, 20) 'bandwidth': np.linspace(0.001, 0.5, 100)
} }
hyper_kde_aitchison = { hyper_kde_aitchison = {

View File

@ -24,7 +24,7 @@ if __name__ == '__main__':
global_result_path = f'{result_dir}/{method}' global_result_path = f'{result_dir}/{method}'
print(f'Method\tDataset\tMAE\tMRAE\tKLD') print(f'Method\tDataset\tMAE\tMRAE\tKLD')
for dataset in qp.datasets.UCI_MULTICLASS_DATASETS: for dataset in qp.datasets.UCI_MULTICLASS_DATASETS:
print(dataset) # print(dataset)
local_result_path = global_result_path + '_' + dataset local_result_path = global_result_path + '_' + dataset
if os.path.exists(local_result_path + '.dataframe'): if os.path.exists(local_result_path + '.dataframe'):
report = pd.read_csv(local_result_path+'.dataframe') report = pd.read_csv(local_result_path+'.dataframe')