Skip to content

Commit

Permalink
leave-one-out function (#646)
Browse files Browse the repository at this point in the history
* leave-one-out function

* add new S2S and NMME tutorial files (#651)

* add new S2S tutorial files

* add tests

* leave-one-out function

* mul_std LOO

* fix doctests

* cleanup; use init.weekofyear instead of hind.init.dt.isocalendar().week

* kick testing normal_mapping

* fix doctests and remake notebook with NMME Nino34 sst
  • Loading branch information
aaronspring authored Aug 4, 2021
1 parent 76ba895 commit 2e27c9d
Show file tree
Hide file tree
Showing 6 changed files with 334 additions and 264 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ New Features
* ``how="gamma_mapping"``: `Reference <https://www.hydrol-earth-syst-sci.net/21/2649/2017/>`_
* ``how="normal_mapping"``: `Reference <https://www.hydrol-earth-syst-sci.net/21/2649/2017/>`_

(:issue:`398`, :pr:`638`) `Aaron Spring`_.
- :py:meth:`~climpred.classes.HindcastEnsemble.remove_bias` now does
`leave-one-out cross validation <https://scikit-learn.org/stable/modules/generated/sklearn.model_selection.LeaveOneOut.html>`_ when passing ``cross_validate='LOO'``.
``cross_validate=True`` falls back to ``cross_validate='LOO'``.
(:issue:`643`, :pr:`646`) `Aaron Spring`_.
- Add new metrics :py:func:`~climpred.metrics._spread` and :py:func:`~climpred.metrics._mul_bias` (:pr:`638`) `Aaron Spring`_.
- Add new tutorial datasets: (:pr:`651`) `Aaron Spring`_.

Expand All @@ -40,6 +43,11 @@ Documentation
(:issue:`594`, :pr:`633`) `Aaron Spring`_.
- Add `CITATION.cff <https://github.com/pangeo-data/climpred/blob/main/CITATION.cff>`_.
(`GH <https://github.com/pangeo-data/climpred/commit/eceb3f46d78c7dd8eb25243b2e0b673ddd78a4b2>`_) `Aaron Spring`_.
- Use ``NMME_OIv2_Nino34_sst`` and ``NMME_hindcast_Nino34_sst`` with monthly leads for
`bias reduction <bias_removal.html>`_ demonstrating
:py:meth:`~climpred.classes.HindcastEnsemble.remove_bias`.
(:pr:`646`) `Aaron Spring`_.


climpred v2.1.4 (2021-06-28)
============================
Expand Down
Loading

0 comments on commit 2e27c9d

Please sign in to comment.