Class Glasso
java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithm
edu.cmu.tetrad.algcomparison.algorithm.other.Glasso
- All Implemented Interfaces:
Algorithm
,ReturnsBootstrapGraphs
,HasParameters
,TetradSerializable
,Serializable
@Bootstrapping
@Experimental
public class Glasso
extends AbstractBootstrapAlgorithm
implements Algorithm
GLASSO.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetComparisonGraph
(Graph graph) Retrieves a comparison graph for the given true directed graph.Retrieves the data type required by the search algorithm.Returns a short, one-line description of this algorithm.Retrieves a list of parameters used by the algorithm.runSearch
(DataModel dataModel, Parameters parameters) Runs a search algorithm to create a graph representation of the data.Methods inherited from class edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithm
getBootstrapGraphs, search
-
Constructor Details
-
Glasso
public Glasso()Constructs a new instance of the algorithm.
-
-
Method Details
-
runSearch
Runs a search algorithm to create a graph representation of the data.- Parameters:
dataModel
- The data model containing the dataset.parameters
- The parameters for the search algorithm.- Returns:
- The resulting graph representation of the data.
- Throws:
IllegalArgumentException
- if the data model is not a continuous dataset or contains missing values.
-
getComparisonGraph
Retrieves a comparison graph for the given true directed graph.- Specified by:
getComparisonGraph
in interfaceAlgorithm
- Parameters:
graph
- The true directed graph, if there is one.- Returns:
- The comparison graph.
-
getDescription
Returns a short, one-line description of this algorithm. This will be printed in the report.- Specified by:
getDescription
in interfaceAlgorithm
- Returns:
- The description of the algorithm.
-
getDataType
Retrieves the data type required by the search algorithm.- Specified by:
getDataType
in interfaceAlgorithm
- Returns:
- The data type required by the search algorithm.
-
getParameters
Retrieves a list of parameters used by the algorithm.- Specified by:
getParameters
in interfaceHasParameters
- Returns:
- A list of parameter names.
-