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

faster featurizer #5

Open
djsutherland opened this issue Jul 28, 2016 · 1 comment
Open

faster featurizer #5

djsutherland opened this issue Jul 28, 2016 · 1 comment

Comments

@djsutherland
Copy link
Owner

The old Cython featurizer only took two minutes on low1 once dummies had been created; this new one takes two hours. Dunno how long dummies took, but not two hours.

What's the significant difference? Speed that up....

@djsutherland
Copy link
Owner Author

One thing that might help is to call MKL straight instead of through numpy: gemm would save a dot-then-scale, sincos is much faster than np.sin plus np.cos (numpy/numpy#2626 (comment)), probably some other savings to be had in rff_embedding (or use fastfood).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant