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

audit Hogg hacks to avoid negative psi #13

Open
davidwhogg opened this issue Oct 17, 2012 · 0 comments
Open

audit Hogg hacks to avoid negative psi #13

davidwhogg opened this issue Oct 17, 2012 · 0 comments
Assignees

Comments

@davidwhogg
Copy link
Collaborator

There were three things happening to bring us negative psi values:

  1. If we update mean before we update lambda and lambda before we update psi, we lose provable matrix thingies. If you know what I'm sayin.
  2. When lambdas are HUGE and psis are tiny, numerical issues screw us.
  3. When sum(self.rs[k]) gets small, life really SUCKS. I put in a floor on that. Yes, that is a horrible hack.

Search code for "HACK" and "MAGIC".

@ghost ghost assigned rossfadely Oct 17, 2012
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

No branches or pull requests

2 participants