amber0309 / HSIC

Python code of Hilbert-Schmidt Independence Criterion
MIT License
77 stars 18 forks source link

Backpropagation #6

Closed shidilrzf closed 2 years ago

shidilrzf commented 2 years ago

Thanks for the code. Is this loss differentiable? I want to know if I can add it to my objective function.

amber0309 commented 2 years ago

Hi

This code is in numpy so not differentiable. You can reimplement a differentiable version in PyTorch or TensorFlow.