All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cc.mallet.grmm.inference.TreeBP Maven / Gradle / Ivy

Go to download

MALLET is a Java-based package for statistical natural language processing, document classification, clustering, topic modeling, information extraction, and other machine learning applications to text.

The newest version!
/* Copyright (C) 2006 Univ. of Massachusetts Amherst, Computer Science Dept.
   This file is part of "MALLET" (MAchine Learning for LanguagE Toolkit).
   http://mallet.cs.umass.edu/
   This software is provided under the terms of the Common Public License,
   version 1.0, as published by http://www.opensource.org.  For further
   information, see the file `LICENSE' included with this distribution. */
package cc.mallet.grmm.inference;

import gnu.trove.THashSet;

import java.util.Iterator;

import cc.mallet.grmm.types.Factor;
import cc.mallet.grmm.types.FactorGraph;
import cc.mallet.grmm.types.Variable;

/**
 * Implements the tree-based schedule of belief propagation for exact inference
 *  in trees.  Can be used either for sum-product or max-product.
 * 

*

* Do not use the * Created: Feb 1, 2006 * * @author





© 2015 - 2024 Weber Informatics LLC | Privacy Policy