lingam
lingam copied to clipboard
Sampling data randomly when calculating kernel bandwidth in HSIC
Motivation
In the hsic.get_kernel_width function, when the sample size is more than 100, the first 100 of the data are fixedly selected. This is not good when the data is being sorted.
Description
Change to random sampling of 100 data.