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

Adding NormalFixedMean #333

Merged
merged 5 commits into from
Feb 20, 2024
Merged

Conversation

joseortiz3
Copy link
Contributor

I implemented the distribution for NormalFixedMean (mean=0) closely following the code for NormalFixedVar (var=1) and Normal. Would appreciate someone double-checking the math for the d_score and metric. I also didn't see NormalFixedVar mentioned in the tests, so I added them to test_distns.py.

Example plots:
image

image

@joseortiz3
Copy link
Contributor Author

I accidentally had the NormalFixedMean class parameterized by sigma/stdev (params[0] was the standard deviation). I changed it to match the Normal class's log(sigma).

@ryan-wolbeck ryan-wolbeck self-requested a review May 21, 2023 01:11
@ryan-wolbeck
Copy link
Collaborator

@joseortiz3 can you pull the latest version of master and resolve conflicts here?
Thanks and sorry for the delay in getting this merged

Linter is demanding a blank line for ending a file (sigh)
Copy link
Collaborator

@ryan-wolbeck ryan-wolbeck left a comment

Choose a reason for hiding this comment

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

LGTM

@ryan-wolbeck ryan-wolbeck merged commit 1cd58b6 into stanfordmlgroup:master Feb 20, 2024
4 checks passed
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.

3 participants