Class BossFci
java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithm
edu.cmu.tetrad.algcomparison.algorithm.oracle.pag.BossFci
- All Implemented Interfaces:
- Algorithm,- ReturnsBootstrapGraphs,- TakesCovarianceMatrix,- HasKnowledge,- HasParameters,- TakesIndependenceWrapper,- UsesScoreWrapper,- TetradSerializable,- Serializable
@Algorithm(name="BOSS-FCI",
           command="boss-fci",
           algoType=allow_latent_common_causes)
@Bootstrapping
public class BossFci
extends AbstractBootstrapAlgorithm
implements Algorithm, UsesScoreWrapper, TakesIndependenceWrapper, HasKnowledge, ReturnsBootstrapGraphs, TakesCovarianceMatrix
Adjusts FGES-FCI to use a permutation algorithm (such as BOSS-Tuck) to do the initial steps of finding adjacencies
 and unshielded colliders.
 
FGES-FCI reference is this:
J.M. Ogarrio and P. Spirtes and J. Ramsey, "A Hybrid Causal Search Algorithm for Latent Variable Models," JMLR 2016.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionBossFci()No-arg constructor.BossFci(IndependenceWrapper test, ScoreWrapper score) Constructs a new BOSS-FCI algorithm using the given test and score.
- 
Method SummaryModifier and TypeMethodDescriptiongetComparisonGraph(Graph graph) Retrieves the comparison graph generated by applying the DAG-to-PAG transformation to the given true directed graph.Retrieves the data type that the search requires, whether continuous, discrete, or mixed.Returns a description of the BOSS-FCI algorithm using the description of its independence test and score.Returns the IndependenceWrapper associated with this BOSS-FCI algorithm.Retrieves the knowledge associated with the algorithm.Retrieves the list of parameters used for the BOSS-FCI algorithm.Retrieves the ScoreWrapper associated with this algorithm.runSearch(DataModel dataModel, Parameters parameters) Runs the search algorithm using the given dataset and parameters and returns the resulting graph.voidSets the IndependenceWrapper object for this algorithm.voidsetKnowledge(Knowledge knowledge) Sets the knowledge associated with the algorithm.voidsetScoreWrapper(ScoreWrapper score) Sets the score wrapper for this algorithm.Methods inherited from class edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithmgetBootstrapGraphs, searchMethods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface edu.cmu.tetrad.algcomparison.algorithm.ReturnsBootstrapGraphsgetBootstrapGraphs
- 
Constructor Details- 
BossFcipublic BossFci()No-arg constructor. Used for reflection; do not delete.
- 
BossFciConstructs a new BOSS-FCI algorithm using the given test and score.- Parameters:
- test- the independence test to use
- score- the score to use
 
 
- 
- 
Method Details- 
runSearchRuns the search algorithm using the given dataset and parameters and returns the resulting graph.- Parameters:
- dataModel- the data model to run the search on
- parameters- the parameters used for the search algorithm
- Returns:
- the graph resulting from the search algorithm
- Throws:
- InterruptedException
 
- 
getComparisonGraphRetrieves the comparison graph generated by applying the DAG-to-PAG transformation to the given true directed graph.- Specified by:
- getComparisonGraphin interface- Algorithm
- Parameters:
- graph- The true directed graph, if there is one.
- Returns:
- The comparison graph generated by applying the DAG-to-PAG transformation.
 
- 
getDescriptionReturns a description of the BOSS-FCI algorithm using the description of its independence test and score.- Specified by:
- getDescriptionin interface- Algorithm
- Returns:
- The description of the algorithm.
 
- 
getDataTypeRetrieves the data type that the search requires, whether continuous, discrete, or mixed.- Specified by:
- getDataTypein interface- Algorithm
- Returns:
- the data type required by the search algorithm
 
- 
getParametersRetrieves the list of parameters used for the BOSS-FCI algorithm.- Specified by:
- getParametersin interface- HasParameters
- Returns:
- the list of parameters used for the BOSS-FCI algorithm
 
- 
getKnowledgeRetrieves the knowledge associated with the algorithm.- Specified by:
- getKnowledgein interface- HasKnowledge
- Returns:
- the knowledge associated with the algorithm
 
- 
setKnowledgeSets the knowledge associated with the algorithm.- Specified by:
- setKnowledgein interface- HasKnowledge
- Parameters:
- knowledge- a knowledge object
 
- 
getIndependenceWrapperReturns the IndependenceWrapper associated with this BOSS-FCI algorithm.- Specified by:
- getIndependenceWrapperin interface- TakesIndependenceWrapper
- Returns:
- the IndependenceWrapper object
 
- 
setIndependenceWrapperSets the IndependenceWrapper object for this algorithm.- Specified by:
- setIndependenceWrapperin interface- TakesIndependenceWrapper
- Parameters:
- test- the IndependenceWrapper object to set
 
- 
getScoreWrapperRetrieves the ScoreWrapper associated with this algorithm.- Specified by:
- getScoreWrapperin interface- UsesScoreWrapper
- Returns:
- The ScoreWrapper object.
 
- 
setScoreWrapperSets the score wrapper for this algorithm.- Specified by:
- setScoreWrapperin interface- UsesScoreWrapper
- Parameters:
- score- the score wrapper to set
 
 
-