Update file "independence_testing/HSICBlockTestObject.py"by correcting this line: "num_blocks = ( self.num_samples ) / self.blocksize" by the new one "num_blocks = int(( self.num_samples ) // self.blocksize)". Indeed, without that, you have this error: "TypeError: 'float' object cannot be interpreted as an integer".
Thank you for this package. Again, it is a very good work.
Good morning,
First it was a pleasure to find these package to compute HSIC index. Congratulations, it is an impressive work.
I use python 3.6 on ubuntu16.04 and i had some troubles to install/use kerpy. I solved all the issues. So here my guide line:
Update all python files from python2.x to python3.x bu using 2to3-3.6 helper:
Update file "independence_testing/HSICBlockTestObject.py"by correcting this line: "num_blocks = ( self.num_samples ) / self.blocksize" by the new one "num_blocks = int(( self.num_samples ) // self.blocksize)". Indeed, without that, you have this error: "TypeError: 'float' object cannot be interpreted as an integer".
Thank you for this package. Again, it is a very good work.
Best regards.