scikit-learn/scikit-learn — pull request #1104 by amueller (2012-09-02 15:55:27+00:00)
Title: ENH raise ValueError in r2_score when given only a single sample.

Closes #1054.