-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
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:
- 2to3-3.6 -w independence_testing/*.py
- 2to3-3.6 -w kerpy/*.py
- 2to3-3.6 -w tools/*.py
- 2to3-3.6 -w weak_conditional_independence_testing/*.py
- 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels