.. The empty line below should not be removed. It is added such that the `rst_prolog` is added before the :mod: directive. Otherwise, the rendering will show as a paragraph instead of a header. :mod:`sklearn.metrics`.r2_score ============================================ .. currentmodule:: sklearn.metrics .. autofunction:: r2_score .. include:: sklearn.metrics.r2_score.examples .. raw:: html