Better HN
topnewbestaskshowjobs
Log inSign up

spencebeecher

8 karma · joined Apr 7, 2016 (10y ago) · 11 submissions

Submissions

comment 9y ago · link · parent

Thanks for the feedback - happy hacking =)

comment 9y ago · link · parent

Yep! You are right. I don't think it is a huge disparity but I would like to implement the pivotal/empirical bootstrap instead. The change is just a few lines of code.

comment 9y ago · link · parent

Completely agree it is easy. Doing it quickly (for Python) is what this is optimized for. We would love a contribution if you have a method for resampling + percentiles that beats numpy.

comment 9y ago · link · parent

John, you are a true wizard. I admire you & will work to incorporate your feedback (gathered offline) into the library =)

Thanks for the feedback!

comment 9y ago · link · parent

I agree with you! Pandas is only used in the power analysis code (which also has matplotlib for plotting). The best thing would be to pair this down. We would gladly take contributions - i think the path forward on this feedback is clear but will take a little code =)

Most of the important stuff is just numpy which i feel is pretty fair for most peeps.

comment 9y ago · link · parent

<3

comment 9y ago · link · parent

Excellent q - we intend to add in other options as we go. Pivotal being one. Id also like to add in permutation tests. If you have ideas we welcome diffs =)

comment 9y ago · link · parent

Thanks for the feedback!

numpy is used to give a speed improvement when generating the bootstrap samples - this would be very slow in a Python for loop.

Pandas is only used in the power analysis code. Ill make that more clear.

Would love more feedback if you have it!

comment 9y ago · link · parent

That uses the BCa method which in some situations is better.

This library gives you a/b test functionality and should be faster on large input datasets.

comment 9y ago · link · parent

Thanks for the feedback Petters! I agree in principle. I am familiar with that method. The use case for this is for situations where you have large initial sample counts (so the correction should be less important, we do throw warnings when the initial sample counts are low). We also provide tools to check power (I'll commit an example of this later today).

Also - I gladly accept diffs if you are motivated. It is not clear to me that BCa and other variants provide substantial improvement for most practical situations. I would invite criticism here.

Tldr - thanks for the feedback

11.

PySparNN: Approximate Nearest Neighbor Search for Sparse Data in Python(github.com ↗)

11 points · by spencebeecher · 10y ago · discuss