method

fit_error

ruby latest stable - Class: MiniTest::Unit::TestCase

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_1_10) is shown here.

fit_error(xys)
public

Takes an array of x/y pairs and calculates the general R^2 value.

See: http://en.wikipedia.org/wiki/Coefficient_of_determination