Class IcaLingD
java.lang.Object
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 Object
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 TypeMethodDescriptionRetrieves the list of bootstrap graphs generated by the algorithm.getComparisonGraph
(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.search
(DataModel dataSet, Parameters parameters) Runs a search on the provided data set using the given parameters.
-
Constructor Details
-
IcaLingD
public IcaLingD()
-
-
Method Details
-
search
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. -
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 interfaceAlgorithm
- Specified by:
getParameters
in interfaceHasParameters
- Returns:
- A list of strings representing the parameters used by this method.
-
getBootstrapGraphs
Retrieves the list of bootstrap graphs generated by the algorithm.- Specified by:
getBootstrapGraphs
in interfaceReturnsBootstrapGraphs
- Returns:
- A list of bootstrap graphs.
-