Package edu.cmu.tetrad.search
Class Dagma
java.lang.Object
edu.cmu.tetrad.search.Dagma
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getCpdag()
Retrieves the value of the cpdag field.double
Retrieves the value of lambda1.double
Retrieves the value of the wThreshold field.search()
Performs a search algorithm to find a graph representation.void
setCpdag
(boolean cpdag) Sets the value of the cpdag field.void
setLambda1
(double lambda1) Sets the value of lambda1.void
setWThreshold
(double wThreshold) Sets the value of the wThreshold field.
-
Constructor Details
-
Dagma
-
-
Method Details
-
search
Performs a search algorithm to find a graph representation.- Returns:
- a Graph object representing the found graph
-
getLambda1
public double getLambda1()Retrieves the value of lambda1.- Returns:
- the value of lambda1
-
setLambda1
public void setLambda1(double lambda1) Sets the value of lambda1.- Parameters:
lambda1
- the value of lambda1 to be set
-
getWThreshold
public double getWThreshold()Retrieves the value of the wThreshold field.- Returns:
- the value of the wThreshold field
-
setWThreshold
public void setWThreshold(double wThreshold) Sets the value of the wThreshold field.- Parameters:
wThreshold
- the value of wThreshold to be set
-
getCpdag
public boolean getCpdag()Retrieves the value of the cpdag field.- Returns:
- the value of the cpdag field
-
setCpdag
public void setCpdag(boolean cpdag) Sets the value of the cpdag field.- Parameters:
cpdag
- the value of cpdag to be set
-