1
0
Fork 0

testing kde-y

This commit is contained in:
Alejandro Moreo Fernandez 2023-05-22 17:34:00 +02:00
parent ca25f1d601
commit 4a7ffe5b50
1 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,11 @@ import scipy
from scipy import optimize from scipy import optimize
# TODO: optimize the bandwidth automatically
# TODO: replace the l2 metric in the kernel with the EMD, try to visualize the difference between both criteria in a 3-simplex
# TODO: think of a MMD-y variant, i.e., a MMD variant that uses the points in the simplex and possibly any non-linear kernel
class KDEy(AggregativeProbabilisticQuantifier): class KDEy(AggregativeProbabilisticQuantifier):
BANDWIDTH_METHOD = ['auto', 'scott', 'silverman'] BANDWIDTH_METHOD = ['auto', 'scott', 'silverman']