altar.models.regression.Linear

Module Contents

Classes

class altar.models.regression.Linear.Linear(name, locator, **kwds)

Bases: altar.models.BayesianL2.BayesianL2

Linear Regression model y= ax +b

x_file
doc = the input file for x variable
x
y
initialize(self, application)

Initialize the state of the model

forwardModel(self, theta, prediction)

Forward Model :param theta: sampling parameters for one sample :param prediction: data prediction or residual (prediction - observation) :return: none