Class IcaLingD
java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithm
edu.cmu.tetrad.algcomparison.algorithm.continuous.dag.IcaLingD
- All Implemented Interfaces:
Algorithm
,ReturnsBootstrapGraphs
,HasParameters
,TetradSerializable
,Serializable
@Algorithm(name="ICA-LiNG-D",
command="ica-ling-d",
algoType=forbid_latent_common_causes,
dataType=Continuous)
@Bootstrapping
public class IcaLingD
extends AbstractBootstrapAlgorithm
implements Algorithm, ReturnsBootstrapGraphs
IcaLingD is an implementation of the Algorithm interface that performs the ICA-LiNG-D algorithm for discovering
causal models for the linear non-Gaussian case where the underlying model might be cyclic.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetComparisonGraph
(Graph graph) Retrieves the comparison graph of the provided true directed graph.Retrieves the data type of the algorithm.Retrieves the description of the algorithm.Retrieves the list of parameters used by this method.Retrieves the list of stable B matrices generated by the algorithm.Retrieves the list of stable graphs generated by the algorithm.Retrieves the list of unstable B matrices generated by the algorithm.Retrieves the list of unstable graphs generated by the algorithm.runSearch
(DataModel dataSet, Parameters parameters) Runs a search on the provided data set using the given parameters.Methods inherited from class edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithm
getBootstrapGraphs, search
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface edu.cmu.tetrad.algcomparison.algorithm.ReturnsBootstrapGraphs
getBootstrapGraphs
-
Constructor Details
-
IcaLingD
public IcaLingD()Constructs a new instance of the IcaLingD algorithm.
-
-
Method Details
-
runSearch
Runs a search on the provided data set using the given parameters. If verbose is set to true, all stable and unstable graphs are printed to the console along with their B matrices.- Parameters:
dataSet
- The data set to run the search on.parameters
- The parameters of the search.- Returns:
- One of the stable graphs, otherwise and empty graph.
-
getComparisonGraph
Retrieves the comparison graph of the provided true directed graph.- Specified by:
getComparisonGraph
in interfaceAlgorithm
- Parameters:
graph
- The true directed graph, if there is one.- Returns:
- The comparison graph.
-
getDescription
Retrieves the description of the algorithm.- Specified by:
getDescription
in interfaceAlgorithm
- Returns:
- The description of the algorithm.
-
getDataType
Retrieves the data type of the algorithm.- Specified by:
getDataType
in interfaceAlgorithm
- Returns:
- The data type of the algorithm.
-
getParameters
Retrieves the list of parameters used by this method.- Specified by:
getParameters
in interfaceHasParameters
- Returns:
- A list of strings representing the parameters used by this method.
-
getStableGraphs
-
getUnstableGraphs
-
getStableBHats
-
getUnstableBHats
-