Class Dagma

java.lang.Object
edu.cmu.tetrad.search.Dagma

public class Dagma extends Object
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
    Constructor
    Description
    Dagma(DataSet dataset)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Retrieves the value of the cpdag field.
    double
    Retrieves the value of lambda1.
    double
    Retrieves the value of the wThreshold field.
    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.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Dagma

      public Dagma(DataSet dataset)
      Constructor.
      Parameters:
      dataset - a DataSet object
  • Method Details

    • search

      public Graph 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