.. Template is based on github.com/jdb78/pytorch-forecasting/tree/v0.9.2/docs/source under MIT License R2 == .. currentmodule:: etna.metrics .. autoclass:: R2 .. rubric:: Methods .. autosummary:: ~R2.set_params ~R2.to_dict ~R2.__call__ .. rubric:: Attributes This class stores its :code:`__init__` parameters as attributes. .. autosummary:: ~R2.greater_is_better ~R2.name