Examples of computeNormalizationFactor()


Examples of cc.mallet.grmm.inference.VariableElimination.computeNormalizationFactor()

  // uses brute-force algorithm
  public Factor normalize ()
  {
    VariableElimination inf = new VariableElimination ();
    double Z = inf.computeNormalizationFactor (this);
    addFactor (new ConstantFactor (1.0/Z));
    return this;
  }

  public Factor marginalize (Variable[] vars)
View Full Code Here

Examples of cc.mallet.grmm.inference.VariableElimination.computeNormalizationFactor()

  }

  public double sum ()
  {
    VariableElimination inf = new VariableElimination ();
    return inf.computeNormalizationFactor (this);
  }

  public double entropy ()
  {
    throw new UnsupportedOperationException ("not yet implemented");
View Full Code Here

Examples of cc.mallet.grmm.inference.VariableElimination.computeNormalizationFactor()

  // uses brute-force algorithm
  public Factor normalize ()
  {
    VariableElimination inf = new VariableElimination ();
    double Z = inf.computeNormalizationFactor (this);
    addFactor (new ConstantFactor (1.0/Z));
    return this;
  }

  public Factor marginalize (Variable[] vars)
View Full Code Here

Examples of cc.mallet.grmm.inference.VariableElimination.computeNormalizationFactor()

  }

  public double sum ()
  {
    VariableElimination inf = new VariableElimination ();
    return inf.computeNormalizationFactor (this);
  }

  public double entropy ()
  {
    throw new UnsupportedOperationException ("not yet implemented");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.