added temperature, and coverage increases!

This commit is contained in:
Alejandro Moreo Fernandez 2025-12-06 13:50:15 +01:00
parent 2e0068b6ae
commit 7c7af2cfaf
1 changed files with 2 additions and 3 deletions

View File

@ -48,8 +48,7 @@ def methods():
# yield 'BootstrapKDEy', KDEyML(LR()), kdey_hyper, lambda hyper: AggregativeBootstrap(KDEyML(LR(), **hyper), n_test_samples=1000, random_state=0, verbose=True),
# yield 'BayesianKDEy', KDEyML(LR()), kdey_hyper, lambda hyper: BayesianKDEy(mcmc_seed=0, **hyper),
for T in [1., 10., 100., 1000.]:
yield (f'BaKDE-CLR-T{T}', KDEyCLR(LR()), kdey_hyper_clr,
lambda hyper: BayesianKDEy(kernel='aitchison', mcmc_seed=0, temperature=T, step_size=.15, **hyper)),
yield f'BaKDE-CLR-T{T}', KDEyCLR(LR()), kdey_hyper_clr, lambda hyper: BayesianKDEy(kernel='aitchison', mcmc_seed=0, temperature=T, step_size=.15, **hyper),
@ -66,7 +65,7 @@ if __name__ == '__main__':
}
setup = multiclass
data_name = 'digits'
data_name = 'isolet'
qp.environ['SAMPLE_SIZE'] = setup['sample_size']
print(f'dataset={data_name}')