Class TestTsKnowledgeReplication
java.lang.Object
edu.cmu.tetrad.search.TestTsKnowledgeReplication
Tests the behavior of TsUtils.createLagData(DataSet, int, Knowledge) and its
interaction with BOSS via a ReplicatingGraph.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidConstructs a small 3-variable time series dataset, defines within-lag knowledge over two tiers, expands it across lags, verifies the expansion, then runs BOSS with the expanded knowledge and a replicating graph.voidVerifies that createLagData(DataSet, int, Knowledge) throws an IllegalArgumentException when the supplied knowledge contains lagged variable names (i.e.
-
Constructor Details
-
TestTsKnowledgeReplication
public TestTsKnowledgeReplication()Default constructor.
-
-
Method Details
-
testKnowledgeReplicationWithBoss
public void testKnowledgeReplicationWithBoss()Constructs a small 3-variable time series dataset, defines within-lag knowledge over two tiers, expands it across lags, verifies the expansion, then runs BOSS with the expanded knowledge and a replicating graph. -
testLaggedVariableInKnowledgeThrows
public void testLaggedVariableInKnowledgeThrows()Verifies that createLagData(DataSet, int, Knowledge) throws an IllegalArgumentException when the supplied knowledge contains lagged variable names (i.e. names containing ":").
-