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
aaron's commit from refactoring PR #105
Conversation
Open questions:
My vision for bootstrap_perfect_model:
results.coords
Coordinates:
* i (i) object 'init' 'pers' 'uninit'
lon (y, x) float64 161.9 163.6 165.2 166.9 ... -128.7 -127.1 -125.6
lat (y, x) float64 14.14 13.96 13.76 13.56 ... -32.44 -32.58 -32.72
* lead (lead) int64 1 2 3 4 5
* results (results) object 'skill' 'p' 0.025 0.975
|
Just updated the Travis stuff so it should work properly in https://github.com/bradyrx/climpred/pull/106. It's now merged into master. So you should be able to run the following on your command line to get Travis to work: git checkout master
git pull --rebase
git checkout aaron_bootstrap_updates
git rebase master
git push origin aaron_bootstrap_updates I'll review this once you're done and request it. |
I should read up on testing. Acceptance testing seems like a necessity for all main functions as a first pass that they don't break (that's how we discovered that certain comparisons didn't work). Is there a way to smartly test that the results are accurate? I.e., can we have a few basic 1D skill assessments, save out the output as
I agree. I did that just to make it work for now. I think we could just generate dummy data. But we can use a specific random seed to ensure the results are always the same and thus address point (2) from above. |
I just self-reviewed because you started this PR. But I am waiting for you to have a look over it. Further changes needed:
Next PR:
|
Awesome. I'll get back to this in a couple hours -- need to finish grading some homeworks. |
CI breaks because of |
Updated |
object-oriented and relative-entropy notebooks are failing on me. Will check on those now.. doesn't look like anything too difficult. |
add treon to travis PM notebook bootstrap_compute_perfect_model fix object-oriented demo; check for clashing coordinates in bootstrap fix relative entropy to work for LENS case
5b78944
to
49d334c
Compare
Okay finally. Travis CI now works with |
Refactoring from @aaronspring to make bootstrapping/relative entropy work with new dimensions. `pytest` and `treon` now work with Travis CI. Additional testing added. Former-commit-id: a907559
Refactoring from @aaronspring to make bootstrapping/relative entropy work with new dimensions. `pytest` and `treon` now work with Travis CI. Additional testing added. Former-commit-id: a907559
@aaronspring, this is a record of the second commit you made to #98. I wanted to have all of the changes for you here to cherry pick, unless you have them on your local
update_dims
branch. You can just open a new PR and apply these changes to address relative entropy/bootstrapping issues, etc.