Package pyvision :: Package vector :: Module linearreg :: Class LinearReg
[hide private]
[frames] | no frames]

Class LinearReg

source code

Instance Methods [hide private]
 
__init__(self) source code
 
train_least_squares(self, inputs, outputs)
inputs - is a matrix where each row is an input.
source code
 
map(self, data) source code
 
__call__(self, data) source code
Method Details [hide private]

train_least_squares(self, inputs, outputs)

source code 

inputs - is a matrix where each row is an input. outputs - is a matrix where each row is a corresponding output.

based on: http://en.wikipedia.org/wiki/Linear_regression (2007/06/07)