Class Bfci
java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.oracle.pag.Bfci
- All Implemented Interfaces:
Algorithm,ReturnsBootstrapGraphs,HasKnowledge,HasParameters,TakesIndependenceWrapper,UsesScoreWrapper,TetradSerializable,Serializable
@Algorithm(name="BFCI",
command="bfci",
algoType=allow_latent_common_causes)
@Bootstrapping
@Experimental
public class Bfci
extends Object
implements Algorithm, UsesScoreWrapper, TakesIndependenceWrapper, HasKnowledge, ReturnsBootstrapGraphs
Adjusts GFCI to use a permutation algorithm (such as BOSS-Tuck) to do the initial
steps of finding adjacencies and unshielded colliders.
GFCI reference is this:
J.M. Ogarrio and P. Spirtes and J. Ramsey, "A Hybrid Causal Search Algorithm for Latent Variable Models," JMLR 2016.
- Author:
- jdramsey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetComparisonGraph(Graph graph) Returns that graph that the result should be compared to.Returns the data type that the search requires, whether continuous, discrete, or mixed.Returns a short, one-line description of this algorithm.Returns the parameters that this search uses.search(DataModel dataModel, Parameters parameters) Runs the search.voidvoidsetKnowledge(Knowledge knowledge) Sets a knowledge object.voidsetScoreWrapper(ScoreWrapper score)
-
Constructor Details
-
Bfci
public Bfci() -
Bfci
-
-
Method Details
-
search
Description copied from interface:AlgorithmRuns the search. -
getComparisonGraph
Description copied from interface:AlgorithmReturns that graph that the result should be compared to.- Specified by:
getComparisonGraphin interfaceAlgorithm- Parameters:
graph- The true directed graph, if there is one.- Returns:
- The comparison graph.
-
getDescription
Description copied from interface:AlgorithmReturns a short, one-line description of this algorithm. This will be printed in the report.- Specified by:
getDescriptionin interfaceAlgorithm- Returns:
- This description.
-
getDataType
Description copied from interface:AlgorithmReturns the data type that the search requires, whether continuous, discrete, or mixed.- Specified by:
getDataTypein interfaceAlgorithm- Returns:
- This type.
-
getParameters
Description copied from interface:AlgorithmReturns the parameters that this search uses.- Specified by:
getParametersin interfaceAlgorithm- Specified by:
getParametersin interfaceHasParameters- Returns:
- A list of String names of parameters.
-
getKnowledge
- Specified by:
getKnowledgein interfaceHasKnowledge- Returns:
- a knowledge object.
-
setKnowledge
Description copied from interface:HasKnowledgeSets a knowledge object.- Specified by:
setKnowledgein interfaceHasKnowledge
-
getIndependenceWrapper
- Specified by:
getIndependenceWrapperin interfaceTakesIndependenceWrapper
-
setIndependenceWrapper
- Specified by:
setIndependenceWrapperin interfaceTakesIndependenceWrapper
-
getScoreWrapper
- Specified by:
getScoreWrapperin interfaceUsesScoreWrapper
-
setScoreWrapper
- Specified by:
setScoreWrapperin interfaceUsesScoreWrapper
-
getBootstrapGraphs
- Specified by:
getBootstrapGraphsin interfaceReturnsBootstrapGraphs
-