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

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 Details

    • IcaLingD

      public IcaLingD()
      Constructs a new instance of the IcaLingD algorithm.
  • Method Details

    • runSearch

      public Graph runSearch(DataModel dataSet, Parameters parameters)
      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

      public Graph getComparisonGraph(Graph graph)
      Retrieves the comparison graph of the provided true directed graph.
      Specified by:
      getComparisonGraph in interface Algorithm
      Parameters:
      graph - The true directed graph, if there is one.
      Returns:
      The comparison graph.
    • getDescription

      public String getDescription()
      Retrieves the description of the algorithm.
      Specified by:
      getDescription in interface Algorithm
      Returns:
      The description of the algorithm.
    • getDataType

      public DataType getDataType()
      Retrieves the data type of the algorithm.
      Specified by:
      getDataType in interface Algorithm
      Returns:
      The data type of the algorithm.
    • getParameters

      public List<String> getParameters()
      Retrieves the list of parameters used by this method.
      Specified by:
      getParameters in interface HasParameters
      Returns:
      A list of strings representing the parameters used by this method.
    • getStableGraphs

      public List<Graph> getStableGraphs()
      Retrieves the list of stable graphs generated by the algorithm.
      Returns:
      A list of stable graphs.
    • getUnstableGraphs

      public List<Graph> getUnstableGraphs()
      Retrieves the list of unstable graphs generated by the algorithm.
      Returns:
      A list of unstable graphs.
    • getStableBHats

      public List<Matrix> getStableBHats()
      Retrieves the list of stable B matrices generated by the algorithm.
      Returns:
      A list of stable B matrices.
    • getUnstableBHats

      public List<Matrix> getUnstableBHats()
      Retrieves the list of unstable B matrices generated by the algorithm.
      Returns:
      A list of unstable B matrices.