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

jit compile x3 bootstrap types #57

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

jit compile x3 bootstrap types #57

wants to merge 1 commit into from

Conversation

s3alfisc
Copy link
Member

@s3alfisc s3alfisc commented Nov 6, 2022

It should be possible to optimize this further - parts of the code can also be vectorized I believe.

Currently, I receive the following message:

NumbaPerformanceWarning: '@' is faster on contiguous arrays, called on (array(float64, 2d, A), array(float64, 1d, C))
  (inv_tXX_tXgXg[ixg,:,:] @ score_diff - delta_b_star)**2

@s3alfisc s3alfisc changed the title first attempt jit compile x3 bootstrap types Dec 30, 2022
@amichuda
Copy link
Collaborator

Actually, I've noticed significant speed improvements with np.einsum

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