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

Added negative log-likelihood in training statistics #78

Merged
merged 3 commits into from
Mar 27, 2019

Conversation

GTorlai
Copy link
Contributor

@GTorlai GTorlai commented Mar 13, 2019

No description provided.

@GTorlai GTorlai added the enhancement New feature or request label Mar 13, 2019
@GTorlai GTorlai requested a review from emerali March 13, 2019 19:12
Copy link
Collaborator

@emerali emerali left a comment

Choose a reason for hiding this comment

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

changes look good to me mostly, just make sure to run black (the python code formatter) before you push the next commit

else:
for i in range(len(samples)):
# Check whether the sample was measured the reference basis
b_ID = 0
Copy link
Collaborator

@emerali emerali Mar 27, 2019

Choose a reason for hiding this comment

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

Not super important at the moment, but can you think of a more descriptive name for the variable b_ID? Also using a boolean would make this slightly more readable.

@GTorlai GTorlai merged commit 50f91e7 into PIQuIL:master Mar 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants