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

Fix spaopt #39

Merged
merged 2 commits into from
Jun 13, 2017
Merged

Fix spaopt #39

merged 2 commits into from
Jun 13, 2017

Conversation

jgosmann
Copy link
Collaborator

@jgosmann jgosmann commented Jun 9, 2017

Motivation and context:
Benchmarking is hard and I screwed up. The circular convolution wasn't nearly as accurate as it was supposed to be because I only validated the choice of distributions on 50 neurons per dimensions. The choice proposed in this PR is validated on 50 and 200 neurons per dimensions and also for convolution of random + unitary vector, random + random vector, unitary + unitary vector.

I updated the corresponding section in the intercept distribution notebook.

@rworr, this might be relevant to you.

Interactions with other PRs:
none

How has this been tested?
Validation done elsewhere, the linked notebook gives the main conclusions.
Unit tests still pass, though one test needed adjustment because it violated the assumption of high-dimensional random vectors.

How long should this take to review?

  • Average (neither quick nor lengthy)

Types of changes:

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • I have read the CONTRIBUTING.rst document.
  • [n/a] I have updated the documentation accordingly.
  • I have included a changelog entry.
  • [n/a] I have added tests to cover my changes.
  • All new and existing tests passed.

Spa is not optimized for this basis any longer and needs some manual
adjustments.
@jgosmann jgosmann added the bug label Jun 9, 2017
@jgosmann jgosmann added this to the 0.2 release milestone Jun 9, 2017
@jgosmann jgosmann requested a review from Seanny123 June 9, 2017 21:52
Copy link
Collaborator

@Seanny123 Seanny123 left a comment

Choose a reason for hiding this comment

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

I've never totally understood the math behind spa-opt, but this code looks legit.

The previous choice of intercept and eval point distribution was not
sufficiently validated. The choice in this commit performs better
and over a wider set of parameters.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants