Class: RSquared

Inherits:
Object show all
Includes:
TeguGears
Defined in:
lib/examples/regression.rb

Constant Summary

Constants included from TeguGears

TeguGears::REPOSITORY_CLASS

Instance Method Summary collapse

Methods included from TeguGears

included

Instance Method Details

#process(x, y) ⇒ Object



56
57
58
# File 'lib/examples/regression.rb', line 56

def process(x,y)
  (SSY.call(*y) - SSE.call(x,y)) / SSY.call(*y)
end