dk.bayes.dsl.variable.gaussian.univariatelinear.UnivariateLinearGaussian.scala Maven / Gradle / Ivy
The newest version!
package dk.bayes.dsl.variable.gaussian.univariatelinear
import dk.bayes.dsl.Variable
import dk.bayes.math.linear.Matrix
import dk.bayes.dsl.InferEngine
import dk.bayes.dsl.variable.Gaussian
/**
* y = A*x + b + gaussian_noise
*
* @author Daniel Korzekwa
*/
class UnivariateLinearGaussian(val a: Matrix, val x: Seq[Gaussian], val b: Double, val v: Double, val yValue: Option[Double] = None) extends Gaussian
with UnivariateLinearGaussianFactor {
def getParents(): Seq[Variable] = x
}