Class MimbuildPca
java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.other.MimbuildPca
- All Implemented Interfaces:
Algorithm,ExtraLatentStructureAlgorithm,LatentStructureAlgorithm,HasParameters,TetradSerializable,Serializable
@Algorithm(name="Mimbuild (PCA)",
command="mimbuild-pca",
algoType=search_for_structure_over_latents)
@Bootstrapping
public class MimbuildPca
extends Object
implements Algorithm, ExtraLatentStructureAlgorithm
Mimbuild PCA.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the block specification for the current instance.getComparisonGraph(Graph graph) Returns an undirected graph used for comparison.Retrieves the data type associated with this algorithm.Provides a brief description of the "Mimbuild Pca" algorithm.Retrieves the parameters for the current instance of theFactorAnalysisclass.search(DataModel dataModel, Parameters parameters) Executes a factor analysis search on the given data model using the provided parameters.voidsetBlockSpec(BlockSpec blockSpec) Sets the block specification for the current instance.
-
Constructor Details
-
MimbuildPca
public MimbuildPca()Constructs a new instance of the algorithm.
-
-
Method Details
-
search
Executes a factor analysis search on the given data model using the provided parameters.- Specified by:
searchin interfaceAlgorithm- Parameters:
dataModel- The data model to perform the factor analysis on.parameters- The parameters for the factor analysis.- Returns:
- The resulting graph after performing the factor analysis.
- Throws:
IllegalArgumentException- If the data model is not a continuous dataset.
-
getDataType
Retrieves the data type associated with this algorithm.- Specified by:
getDataTypein interfaceAlgorithm- Returns:
- the data type used by this algorithm, represented as
DataType.
-
getComparisonGraph
Returns an undirected graph used for comparison.- Specified by:
getComparisonGraphin interfaceAlgorithm- Parameters:
graph- The true directed graph, if there is one.- Returns:
- The undirected graph for comparison.
-
getDescription
Provides a brief description of the "Mimbuild Pca" algorithm.- Specified by:
getDescriptionin interfaceAlgorithm- Returns:
- A one-line description of the algorithm as a string.
-
getParameters
Retrieves the parameters for the current instance of theFactorAnalysisclass.- Specified by:
getParametersin interfaceHasParameters- Returns:
- a list of strings representing the parameters for the factor analysis.
-
getBlockSpec
Retrieves the block specification for the current instance.- Returns:
- the block specification as an instance of
BlockSpec.
-
setBlockSpec
Sets the block specification for the current instance.- Specified by:
setBlockSpecin interfaceExtraLatentStructureAlgorithm- Parameters:
blockSpec- the block specification to be set, represented as an instance ofBlockSpec
-