Class Dagma
java.lang.Object
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 Object
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the bootstrap graphs.getComparisonGraph
(Graph graph) Returns that graph that the result should be compared to.Returns the data type that the search requires, whether continuous, discrete, or mixed.getDescription.Returns the parameters that this search uses.search
(DataModel dataSet, Parameters parameters) Runs the search.
-
Constructor Details
-
Dagma
public Dagma()Constructor for Dagma.
-
-
Method Details
-
search
Runs the search. -
getComparisonGraph
Returns that graph that the result should be compared to.- Specified by:
getComparisonGraph
in interfaceAlgorithm
- Parameters:
graph
- The true directed graph, if there is one.- Returns:
- The comparison graph.
-
getDescription
getDescription.
- Specified by:
getDescription
in interfaceAlgorithm
- Returns:
- a
String
object
-
getDataType
Returns the data type that the search requires, whether continuous, discrete, or mixed.- Specified by:
getDataType
in interfaceAlgorithm
- Returns:
- This type.
-
getParameters
Returns the parameters that this search uses.- Specified by:
getParameters
in interfaceAlgorithm
- Specified by:
getParameters
in interfaceHasParameters
- Returns:
- A list of String names of parameters.
-
getBootstrapGraphs
Returns the bootstrap graphs.- Specified by:
getBootstrapGraphs
in interfaceReturnsBootstrapGraphs
- Returns:
- the bootstrap graphs.
-