Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH Bootstrap analysis #261

Merged
merged 23 commits into from
Jan 5, 2016
Merged

ENH Bootstrap analysis #261

merged 23 commits into from
Jan 5, 2016

Conversation

twiecki
Copy link
Contributor

@twiecki twiecki commented Dec 18, 2015

Addresses #208. Depends on #262.

@twiecki twiecki mentioned this pull request Dec 18, 2015
@twiecki twiecki force-pushed the bootstrap branch 3 times, most recently from 9d84e84 to b708e90 Compare December 21, 2015 14:38
@twiecki twiecki force-pushed the bootstrap branch 2 times, most recently from 933bd25 to 9c01662 Compare December 30, 2015 11:08
@twiecki
Copy link
Contributor Author

twiecki commented Dec 30, 2015

image

@twiecki twiecki changed the title WIP Bootstrap ENH Bootstrap analysis Dec 30, 2015
@twiecki
Copy link
Contributor Author

twiecki commented Dec 30, 2015

image

@twiecki
Copy link
Contributor Author

twiecki commented Dec 30, 2015

@a-campbell Can you help reviewing this?

n_samples = kwargs.pop('n_samples', 1000)
out = np.empty(n_samples)

if len(args) > 0:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would it be clearer to pass factor returns in as a kwarg?


for stat_func in SIMPLE_STAT_FUNCS:
stat_name = stat_func.__name__
bootstrap_values[stat_name] = calc_bootstrap(stat_func,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could go straight to the DataFrame here, but the dict -> df is fine

@a-campbell
Copy link
Contributor

Looks great! Made a few comments. This is going to be a really interesting feature.

twiecki added a commit that referenced this pull request Jan 5, 2016
@twiecki twiecki merged commit 95f30f9 into master Jan 5, 2016
@twiecki twiecki deleted the bootstrap branch January 5, 2016 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants