Search in sources :

Example 11 with AEBPTestingDataFrame

use of com.sri.ai.util.rplot.dataframe.AEBPTestingDataFrame in project aic-praise by aic-sri-international.

the class BenchmarkingIsingModel method testAEBPP.

private static void testAEBPP(AEBPTestingDataFrame df, int runNumber, int timeLimit, List<TableFactor> network, TableVariable query, String netName) {
    TableFactorNetwork factorNet = new TableFactorNetwork(network);
    println("solveWithExactBP : " + netName + "; iteration: " + runNumber);
    AEBPTestingDataFrame dfToAdd = solveWithGabriels(query, factorNet, timeLimit, netName, runNumber);
    addRowsFromSecondDfToFirstDf(df, dfToAdd);
    toCsv(df);
}
Also used : TableFactorNetwork(com.sri.ai.praise.core.representation.interfacebased.factor.core.table.TableFactorNetwork) AEBPTestingDataFrame(com.sri.ai.util.rplot.dataframe.AEBPTestingDataFrame)

Aggregations

AEBPTestingDataFrame (com.sri.ai.util.rplot.dataframe.AEBPTestingDataFrame)11 TableFactorNetwork (com.sri.ai.praise.core.representation.interfacebased.factor.core.table.TableFactorNetwork)5 TableVariable (com.sri.ai.praise.core.representation.interfacebased.factor.core.table.TableVariable)3 AEBP (com.sri.ai.praise.core.inference.byinputrepresentation.interfacebased.core.exactbp.anytime.gabriel.AEBP)2 Polytope (com.sri.ai.praise.core.representation.interfacebased.polytope.api.Polytope)2 Predicate (com.google.common.base.Predicate)1 AssignmentsIterator (com.sri.ai.grinder.helper.AssignmentsIterator)1 TestCases (com.sri.ai.praise.core.inference.byinputrepresentation.interfacebased.core.exactbp.anytime.gabriel.TestCases)1 AnytimeExactBP (com.sri.ai.praise.core.inference.byinputrepresentation.interfacebased.core.exactbp.anytime.rodrigo.AnytimeExactBP)1 ExactBPNode (com.sri.ai.praise.core.inference.byinputrepresentation.interfacebased.core.exactbp.fulltime.api.ExactBPNode)1 ExactBP (com.sri.ai.praise.core.inference.byinputrepresentation.interfacebased.core.exactbp.fulltime.core.ExactBP)1 EditableFactorNetwork (com.sri.ai.praise.core.representation.interfacebased.factor.api.EditableFactorNetwork)1 Factor (com.sri.ai.praise.core.representation.interfacebased.factor.api.Factor)1 Variable (com.sri.ai.praise.core.representation.interfacebased.factor.api.Variable)1 TableFactor (com.sri.ai.praise.core.representation.interfacebased.factor.core.table.TableFactor)1 IntensionalConvexHullOfFactors (com.sri.ai.praise.core.representation.interfacebased.polytope.core.byexpressiveness.convexhull.IntensionalConvexHullOfFactors)1 ProductPolytope (com.sri.ai.praise.core.representation.interfacebased.polytope.core.byexpressiveness.convexhull.ProductPolytope)1 Util.list (com.sri.ai.util.Util.list)1 Util.println (com.sri.ai.util.Util.println)1 Pair (com.sri.ai.util.base.Pair)1