gov.sandia.cognition.statistics.bayesian
Class BayesianRobustLinearRegression.PredictiveDistribution

java.lang.Object
  extended by gov.sandia.cognition.util.AbstractCloneableSerializable
      extended by gov.sandia.cognition.statistics.bayesian.BayesianRobustLinearRegression.PredictiveDistribution
All Implemented Interfaces:
Evaluator<Vectorizable,StudentTDistribution>, CloneableSerializable, Serializable, Cloneable
Enclosing class:
BayesianRobustLinearRegression

public class BayesianRobustLinearRegression.PredictiveDistribution
extends AbstractCloneableSerializable
implements Evaluator<Vectorizable,StudentTDistribution>

Predictive distribution of future data given the posterior of the weights given the data.

See Also:
Serialized Form

Constructor Summary
BayesianRobustLinearRegression.PredictiveDistribution(MultivariateGaussianInverseGammaDistribution posterior)
          Creates a new instance of PredictiveDistribution
 
Method Summary
 StudentTDistribution evaluate(Vectorizable input)
          Evaluates the function on the given input and returns the output.
 
Methods inherited from class gov.sandia.cognition.util.AbstractCloneableSerializable
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BayesianRobustLinearRegression.PredictiveDistribution

public BayesianRobustLinearRegression.PredictiveDistribution(MultivariateGaussianInverseGammaDistribution posterior)
Creates a new instance of PredictiveDistribution

Parameters:
posterior - Posterior distribution of the weights given the data.
Method Detail

evaluate

public StudentTDistribution evaluate(Vectorizable input)
Description copied from interface: Evaluator
Evaluates the function on the given input and returns the output.

Specified by:
evaluate in interface Evaluator<Vectorizable,StudentTDistribution>
Parameters:
input - The input to evaluate.
Returns:
The output produced by evaluating the input.