Class IsFges
java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithm
edu.cmu.tetrad.algcomparison.algorithm.oracle.cpdag.IsFges
- All Implemented Interfaces:
Algorithm,ReturnsBootstrapGraphs,TakesCovarianceMatrix,HasKnowledge,HasParameters,TetradSerializable,Serializable
@Algorithm(name="IS-FGES",
command="is-fges",
algoType=forbid_latent_common_causes)
@Bootstrapping
@Experimental
public class IsFges
extends AbstractBootstrapAlgorithm
implements Algorithm, HasKnowledge, ReturnsBootstrapGraphs, TakesCovarianceMatrix
IS-FGES (Instance-Specific FGES) wrapper for the algcomparison interface. Uses a discrete instance-specific score
(ISBDeuScore) with test=row 0 of train (for now), plus a population BDeu score for the base FGES machinery.
- 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 a knowledge object.Returns the list of parameter names that are used.voidsetKnowledge(Knowledge knowledge) Sets a knowledge object.Methods inherited from class edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithm
getBootstrapGraphs, searchMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface edu.cmu.tetrad.algcomparison.algorithm.ReturnsBootstrapGraphs
getBootstrapGraphs
-
Constructor Details
-
IsFges
public IsFges()Default constructor for the IsFges class. Initializes an instance of the IsFges algorithm. This algorithm is designed for structure learning in causal discovery frameworks.
-
-
Method Details
-
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:HasParametersReturns the list of parameter names that are used. These are looked up in ParamMap, so if they're not- Specified by:
getParametersin interfaceHasParameters- Returns:
- Returns the list of parameter names that are used. These are looked up in ParamMap, so if they're not already defined they'll need to be defined there.
-
getKnowledge
Description copied from interface:HasKnowledgeReturns a knowledge object.- Specified by:
getKnowledgein interfaceHasKnowledge- Returns:
- a knowledge object.
-
setKnowledge
Description copied from interface:HasKnowledgeSets a knowledge object.- Specified by:
setKnowledgein interfaceHasKnowledge- Parameters:
knowledge- a knowledge object.
-