Seed pseudodata#1059
Closed
siranipour wants to merge 28 commits into
Closed
Conversation
44f4b92 to
616a5c9
Compare
Contributor
Author
|
@wilsonmr no need to take a look now still very much prototype stage, but one thing that may be difficult is that: nnpdf/n3fit/src/n3fit/io/reader.py Line 14 in 91a159b still makes use of Moreover, this function still uses the notion of experiment names, which has been deprecated since the data-kw. |
616a5c9 to
7d4edc4
Compare
Contributor
|
A few things:
*note its an n3fit action so would have to be moved in order to be accessed in vp |
597510a to
02f8864
Compare
7d4edc4 to
9282cc1
Compare
No attempt at optimization has been done Uses the same seed structure as C++ so will give the same pseudodata if the same RNG seed is used. This commit is a proof of concept.
This removes the for loop implementation
Also correcting some typos in the docstring of covmat_from_systematics
Co-authored-by: Cameron Voisey <32741139+voisey@users.noreply.github.com>
Thus it remembers the RNG state
Co-authored-by: Zaharid <zk261@cam.ac.uk>
Adding Zahari's review comments
Assigning seed randomly if not provided explicilty in function call
Co-authored-by: wilsonmr <33907451+wilsonmr@users.noreply.github.com>
Co-authored-by: Rosalyn Pearson <33020850+RosalynLP@users.noreply.github.com>
Numpy has this as default behaviour Co-authored-by: wilsonmr <33907451+wilsonmr@users.noreply.github.com>
02f8864 to
b5df64e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Working on reconstructing the nth N3FIT replica pseudodata.