Giter VIP home page Giter VIP logo

kerpy's People

Contributors

hcllaw avatar mrhuff avatar qinyizhang avatar sejdino avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kerpy's Issues

On how to install kerpy?

Hi,

Thanks a lot for making this HSIC independence test package available!

I have python 3.6.1 on a windows machine. I tried "pip install kerpy" but ended with an error message:
Could not find a version that satisfies the requirement kerpy (from versions:)
no matching distribution found for kerpy

Then, I downloaded the package and noticed that there is not a setup.py file.

What is the best way to install kerpy?

Many thanks,

Ivan

kerpy for python 3.6

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:

  1. 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
  1. 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.

reproducing type I error

I tried to reproduce your reported type I error being asymptotically alpha with the simple linear dependencies and using the spectral approach for HSIC.

I changed line 19 to run python ExperimentsHSICSpectral.py 10 --dimX 10 --hypothesis null over 200 trials.
Shouldn't I expect a type I error of 0.05 for these results? I get a type I error of 0.

The same issue with test power / type II error. Test power becomes 0 when I expected 1 for sample size 100 and dimensions 10.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.