Class IcaLingam
java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithm
edu.cmu.tetrad.algcomparison.algorithm.continuous.dag.IcaLingam
- All Implemented Interfaces:
Algorithm, ReturnsBootstrapGraphs, HasParameters, TetradSerializable, Serializable
@Algorithm(name="ICA-LiNGAM",
command="ica-lingam",
algoType=forbid_latent_common_causes,
dataType=Continuous)
@Bootstrapping
public class IcaLingam
extends AbstractBootstrapAlgorithm
implements Algorithm, ReturnsBootstrapGraphs
IcaLingam class implements the Algorithm and ReturnsBootstrapGraphs interface. It provides the implementation of the
ICA-LiNGAM algorithm for causal discovery.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBHat()Retrieves the bHat matrix.getComparisonGraph(Graph graph) Returns a comparison graph based on the true directed graph, if there is one.Returns the data type of the given method.Returns the description of the ICA-LiNGAM algorithm.Returns a list of parameters used by the getParameters method.runSearch(DataModel dataSet, Parameters parameters) Searches for a graph structure based on the given data set and parameters.Methods inherited from class AbstractBootstrapAlgorithm
getBootstrapGraphs, searchMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ReturnsBootstrapGraphs
getBootstrapGraphs
-
Constructor Details
-
IcaLingam
public IcaLingam()Constructs a new instance of the IcaLingam algorithm.
-
-
Method Details
-
runSearch
Searches for a graph structure based on the given data set and parameters.- Parameters:
dataSet- The data set to run the search on.parameters- The parameters of the search.- Returns:
- The resulting graph structure.
-
getComparisonGraph
Returns a comparison graph based on the true directed graph, if there is one.- Specified by:
getComparisonGraphin interfaceAlgorithm- Parameters:
graph- The true, directed graph, if there is one.- Returns:
- The comparison graph.
-
getDescription
Returns the description of the ICA-LiNGAM algorithm.- Specified by:
getDescriptionin interfaceAlgorithm- Returns:
- The description of the ICA-LiNGAM algorithm.
-
getDataType
Returns the data type of the given method.- Specified by:
getDataTypein interfaceAlgorithm- Returns:
- The data type of the method. It can be Continuous, Discrete, Mixed, Graph, Covariance, or All.
-
getParameters
Returns a list of parameters used by the getParameters method.- Specified by:
getParametersin interfaceHasParameters- Returns:
- A list of parameters.
-
getBHat
-