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

xarray wrapper to draw auto-regression samples #322

Merged
merged 8 commits into from Oct 27, 2023

Conversation

mathause
Copy link
Member

@mathause mathause commented Oct 4, 2023

A lot is still missing (tests, docs). But as a first draft.

return size, coord_dict


def _draw_auto_regression_uncorrelated(
Copy link
Member Author

Choose a reason for hiding this comment

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

@yquilcaille can you read the docstrings and let me know if this makes sense?

I added a leading underscore to the name as I am not yet sure I'll expose the functions as is, but that can be changed.

@codecov
Copy link

codecov bot commented Oct 4, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (69cb102) 87.16% compared to head (ab49389) 87.57%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #322      +/-   ##
==========================================
+ Coverage   87.16%   87.57%   +0.41%     
==========================================
  Files          38       38              
  Lines        1620     1674      +54     
==========================================
+ Hits         1412     1466      +54     
  Misses        208      208              
Flag Coverage Δ
unittests 87.57% <100.00%> (+0.41%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
mesmer/create_emulations/create_emus_gv.py 89.18% <100.00%> (+1.68%) ⬆️
mesmer/create_emulations/create_emus_lv.py 93.44% <100.00%> (+0.98%) ⬆️
mesmer/stats/auto_regression.py 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

CHANGELOG.rst Outdated Show resolved Hide resolved
mesmer/stats/auto_regression.py Outdated Show resolved Hide resolved
mesmer/stats/auto_regression.py Outdated Show resolved Hide resolved
mesmer/stats/auto_regression.py Outdated Show resolved Hide resolved
@mathause mathause merged commit e1711b8 into MESMER-group:main Oct 27, 2023
7 checks passed
@mathause mathause deleted the draw_ar_xarray branch October 27, 2023 15:21
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.

auto-regression: xarray wrapper for predict
1 participant