Class Dagma
java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithm
edu.cmu.tetrad.algcomparison.algorithm.continuous.dag.Dagma
- All Implemented Interfaces:
- Algorithm,- ReturnsBootstrapGraphs,- HasParameters,- TetradSerializable,- Serializable
@Algorithm(name="DAGMA",
           command="dagma",
           algoType=forbid_latent_common_causes,
           dataType=Continuous)
@Bootstrapping
public class Dagma
extends AbstractBootstrapAlgorithm
implements Algorithm, ReturnsBootstrapGraphs
Implements the DAGMA algorithm. The reference is here:
 
Bello, K., Aragam, B., & Ravikumar, P. (2022). Dagma: Learning dags via m-matrices and a log-determinant acyclicity characterization. Advances in Neural Information Processing Systems, 35, 8226-8239.
- Version:
- $Id: $Id
- Author:
- bryanandrews
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetComparisonGraph(Graph graph) Retrieves the comparison graph for the given true directed graph.Retrieves the data type of the algorithm's output.Returns the description of the DAGMA algorithm.Retrieves the list of parameters used by the algorithm.runSearch(DataModel dataModel, Parameters parameters) Runs the DAGMA algorithm to search for a directed acyclic graph (DAG) in the given data model with the specified parameters.Methods inherited from class edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithmgetBootstrapGraphs, searchMethods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface edu.cmu.tetrad.algcomparison.algorithm.ReturnsBootstrapGraphsgetBootstrapGraphs
- 
Constructor Details- 
Dagmapublic Dagma()Constructor for Dagma. 
 
- 
- 
Method Details- 
runSearchRuns the DAGMA algorithm to search for a directed acyclic graph (DAG) in the given data model with the specified parameters.- Parameters:
- dataModel- The data model to search.
- parameters- The parameters for the DAGMA algorithm.
- Returns:
- The resulting graph, which represents a DAG.
- Throws:
- IllegalArgumentException- If the data model is not a continuous dataset.
 
- 
getComparisonGraphRetrieves the comparison graph for the given true directed graph.- Specified by:
- getComparisonGraphin interface- Algorithm
- Parameters:
- graph- The true directed graph, if there is one.
- Returns:
- The comparison graph.
 
- 
getDescriptionReturns the description of the DAGMA algorithm.- Specified by:
- getDescriptionin interface- Algorithm
- Returns:
- the description of the DAGMA algorithm
 
- 
getDataTypeRetrieves the data type of the algorithm's output.- Specified by:
- getDataTypein interface- Algorithm
- Returns:
- The data type of the algorithm's output.
 
- 
getParametersRetrieves the list of parameters used by the algorithm.- Specified by:
- getParametersin interface- HasParameters
- Returns:
- A list of strings representing the parameters used by the algorithm.
 
 
-