Open kayhan-batmanghelich opened 7 years ago
Hi Dougal,
I think, there might be a bug here in this line about the median trick:
https://github.com/dougalsutherland/skl-groups/blob/2584c10a413626c6d5f9078cdbf3dcc84e4e9a5b/skl_groups/kernels/transform.py#L197
I think scale = 1/median_ as you also mentioned in the help of the function. Your gamma is the inverse of the bandwidth (squared).
scale = 1/median_
gamma
Besr
Hi Dougal,
I think, there might be a bug here in this line about the median trick:
https://github.com/dougalsutherland/skl-groups/blob/2584c10a413626c6d5f9078cdbf3dcc84e4e9a5b/skl_groups/kernels/transform.py#L197
I think
scale = 1/median_
as you also mentioned in the help of the function. Yourgamma
is the inverse of the bandwidth (squared).Besr