Uses of Class
edu.cmu.tetrad.search.blocks.BlockSpec
Packages that use BlockSpec
Package
Description
This package contains classes for causal graph search algorithms.
This package contains classes for scoring causal graph models.
This package contains classes for testing causal graph search algorithms.
-
Uses of BlockSpec in edu.cmu.tetrad.algcomparison.algorithm
Methods in edu.cmu.tetrad.algcomparison.algorithm with parameters of type BlockSpecModifier and TypeMethodDescriptionvoidExtraLatentStructureAlgorithm.setBlockSpec(BlockSpec blockSpec) Sets the block specification for configuring the algorithm. -
Uses of BlockSpec in edu.cmu.tetrad.algcomparison.algorithm.other
Methods in edu.cmu.tetrad.algcomparison.algorithm.other that return BlockSpecModifier and TypeMethodDescriptionMimbuildBollen.getBlockSpec()Retrieves the block specification associated with the algorithm.MimbuildPca.getBlockSpec()Retrieves the block specification for the current instance.Methods in edu.cmu.tetrad.algcomparison.algorithm.other with parameters of type BlockSpecModifier and TypeMethodDescriptionvoidMimbuildBollen.setBlockSpec(BlockSpec blockSpec) Sets the block specification to be used by the MimbuildBollen algorithm.voidMimbuildPca.setBlockSpec(BlockSpec blockSpec) Sets the block specification for the current instance. -
Uses of BlockSpec in edu.cmu.tetrad.algcomparison.independence
Methods in edu.cmu.tetrad.algcomparison.independence with parameters of type BlockSpecModifier and TypeMethodDescriptionvoidBlockIndependenceWrapper.setBlockSpec(BlockSpec blockSpec) Configures the block specification for the independence test.voidBlocksIndTest.setBlockSpec(BlockSpec blockSpec) Deprecated.Sets the BlockSpec for this instance.voidBlocksIndTestLemma10.setBlockSpec(BlockSpec blockSpec) Deprecated.Sets the specification for block structures required in the "Blocks Test Lemma 10" independence test implementation.voidBlocksIndTestTs.setBlockSpec(BlockSpec blockSpec) Sets the specification for block structures required in the "Blocks Test Lemma 10" independence test implementation. -
Uses of BlockSpec in edu.cmu.tetrad.algcomparison.score
Methods in edu.cmu.tetrad.algcomparison.score with parameters of type BlockSpecModifier and TypeMethodDescriptionvoidBlocksBicScore.setBlockSpec(BlockSpec blockSpec) Sets the block specification to define the structure for organizing variables into predefined blocks for analysis.voidBlockScoreWrapper.setBlockSpec(BlockSpec blockSpec) Sets the block specification to be used by this implementation. -
Uses of BlockSpec in edu.cmu.tetrad.data.missing
Methods in edu.cmu.tetrad.data.missing that return BlockSpecModifier and TypeMethodDescriptionstatic BlockSpecMissingDataUtils.gate(BlockSpec blockSpec, Parameters parameters, String caller) The block-spec variant ofMissingDataUtils.gate(DataModel, Parameters, boolean, String), for wrappers that construct block tests and scores from aBlockSpecrather than from the data model handed togetTest/getScore.static BlockSpecMissingDataUtils.gate(BlockSpec blockSpec, Parameters parameters, Set<String> nativePolicies, String caller) AsMissingDataUtils.gate(BlockSpec, Parameters, String), for block components that implement some policies natively; seeMissingDataUtils.gate(DataModel, Parameters, java.util.Set, String)for the meaning of the native set.Methods in edu.cmu.tetrad.data.missing with parameters of type BlockSpecModifier and TypeMethodDescriptionstatic BlockSpecMissingDataUtils.gate(BlockSpec blockSpec, Parameters parameters, String caller) The block-spec variant ofMissingDataUtils.gate(DataModel, Parameters, boolean, String), for wrappers that construct block tests and scores from aBlockSpecrather than from the data model handed togetTest/getScore.static BlockSpecMissingDataUtils.gate(BlockSpec blockSpec, Parameters parameters, Set<String> nativePolicies, String caller) AsMissingDataUtils.gate(BlockSpec, Parameters, String), for block components that implement some policies natively; seeMissingDataUtils.gate(DataModel, Parameters, java.util.Set, String)for the meaning of the native set. -
Uses of BlockSpec in edu.cmu.tetrad.search
Constructors in edu.cmu.tetrad.search with parameters of type BlockSpecModifierConstructorDescriptionMimbuildBollen(BlockSpec spec) Constructor for the MimbuildBollen class.MimbuildPca(BlockSpec blockSpec) Constructs an instance of MimbuildPca with the specified BlockSpec. -
Uses of BlockSpec in edu.cmu.tetrad.search.blocks
Methods in edu.cmu.tetrad.search.blocks that return BlockSpecModifier and TypeMethodDescriptionstatic BlockSpecBlocksUtil.applySingleClusterPolicy(BlockSpec blockSpec, SingletonClusterPolicy policy, double alpha) Applies a single-cluster policy to the provided BlockSpec.BlockDiscoverer.discover()Discovers and returns clusters or blocks of indices based on the underlying block discovery algorithm.BpcBlockDiscoverer.discover()Discovers and returns the specification of blocks (clusters of indices) within the dataset using the Bayesian Partitioning for Causal Discovery (BPC) algorithm.FofcBlockDiscoverer.discover()Discovers clusters or "blocks" of indices in the dataset using the FOFC algorithm.FtfcBlockDiscoverer.discover()Discovers clusters or "blocks" of indices in the dataset using the FOFC algorithm.GffcBlockDiscoverer.discover()Discovers clusters or "blocks" of indices in the dataset using the FOFC algorithm.TscTestBlockDiscoverer.discover()Discovers and identifies blocks of variables using the TSC (Testing Strong Causal structures) algorithm.static BlockSpecBlocksUtil.giveGoodLatentNames(BlockSpec spec, Map<String, List<String>> trueClusters, BlocksUtil.NamingMode mode) Assigns meaningful names to latent variables in the provided BlockSpec object based on the given true clusters and the specified naming mode.static BlockSpecLatentNameAssigner.giveGoodLatentNames(BlockSpec spec, Map<String, List<String>> trueClusters, BlocksUtil.NamingMode mode) Assigns descriptive and consistent names to the latent blocks in the given specification.static BlockSpecLatentNameAssigner.giveGoodLatentNames(BlockSpec spec, Map<String, List<String>> trueClusters, BlocksUtil.NamingMode mode, LatentNameAssigner.Config config) Assigns meaningful and unique names to latent variables in a given block specification according to the provided naming mode, true clusters, and configuration.static BlockSpecBlocksUtil.makeDisjointSpec(DataSet ds, List<List<Integer>> blocks) Constructs a BlockSpec object using the provided DataSet and block definitions, ensuring that the blocks are made disjoint by prioritizing larger blocks first.BlockSpecTextCodec.ParseResult.spec()Returns the value of thespecrecord component.static BlockSpecConverts a list of block indices and a dataset into a BlockSpec object, ensuring the blocks are canonicalized and generating the appropriate block variables.static BlockSpecConverts a list of blocks, ranks, and a dataset into a BlockSpec object.Methods in edu.cmu.tetrad.search.blocks with parameters of type BlockSpecModifier and TypeMethodDescriptionstatic BlockSpecBlocksUtil.applySingleClusterPolicy(BlockSpec blockSpec, SingletonClusterPolicy policy, double alpha) Applies a single-cluster policy to the provided BlockSpec.BlocksUtil.expandLatents(BlockSpec spec) Expand ranks -> per-latent variables named Lk-1..Lk-r.static StringFormats the given BlockSpec object into a textual representation.static BlockSpecBlocksUtil.giveGoodLatentNames(BlockSpec spec, Map<String, List<String>> trueClusters, BlocksUtil.NamingMode mode) Assigns meaningful names to latent variables in the provided BlockSpec object based on the given true clusters and the specified naming mode.static BlockSpecLatentNameAssigner.giveGoodLatentNames(BlockSpec spec, Map<String, List<String>> trueClusters, BlocksUtil.NamingMode mode) Assigns descriptive and consistent names to the latent blocks in the given specification.static BlockSpecLatentNameAssigner.giveGoodLatentNames(BlockSpec spec, Map<String, List<String>> trueClusters, BlocksUtil.NamingMode mode, LatentNameAssigner.Config config) Assigns meaningful and unique names to latent variables in a given block specification according to the provided naming mode, true clusters, and configuration.Constructors in edu.cmu.tetrad.search.blocks with parameters of type BlockSpecModifierConstructorDescriptionParseResult(BlockSpec spec, List<BlockSpecTextCodec.Issue> issues) Creates an instance of aParseResultrecord class. -
Uses of BlockSpec in edu.cmu.tetrad.search.mimic
Methods in edu.cmu.tetrad.search.mimic that return BlockSpecModifier and TypeMethodDescriptionTrekMeasurementModelBuilderBoss.MeasurementBuildResult.spec()Returns the value of thespecrecord component.TrekMeasurementModelBuilderPc.MeasurementBuildResult.spec()Returns the value of thespecrecord component.Constructors in edu.cmu.tetrad.search.mimic with parameters of type BlockSpecModifierConstructorDescriptionMeasurementBuildResult(BlockSpec spec, Graph graph, List<Node> latents, List<Node> observedChildren, List<Node> parentPool, List<Node> variables, org.ejml.simple.SimpleMatrix matrix, int sampleSize, double alpha) Creates an instance of aMeasurementBuildResultrecord class.MeasurementBuildResult(BlockSpec spec, Graph graph, List<Node> latents, List<Node> observedChildren, List<Node> parentPool, List<Node> variables, int sampleSize, double alpha) Creates an instance of aMeasurementBuildResultrecord class. -
Uses of BlockSpec in edu.cmu.tetrad.search.score
Methods in edu.cmu.tetrad.search.score that return BlockSpecModifier and TypeMethodDescriptionBlocksBicScore.getBlockSpec()Retrieves the block specification associated with this score object.BlockScore.getBlockSpec()Retrieves the specification of the block associated with the score.BlocksTrekBicScore.getBlockSpec()Retrieves the block specification associated with this object.Constructors in edu.cmu.tetrad.search.score with parameters of type BlockSpecModifierConstructorDescriptionBlocksBicScore(BlockSpec blockSpec) Constructs a BlocksBicScoreTrekSoft object with the specified block specification.BlocksTrekBicScore(BlockSpec blockSpec) Constructs an instance of theBlocksTrekBicScoreclass using the provided block specification. -
Uses of BlockSpec in edu.cmu.tetrad.search.test
Methods in edu.cmu.tetrad.search.test that return BlockSpecModifier and TypeMethodDescriptionBlockTest.getBlockSpec()Retrieves theBlockSpecassociated with this block-based independence test.IndTestBlocksLemma10.getBlockSpec()Deprecated.IndTestBlocksWilkes.getBlockSpec()Retrieves the block specification associated with this instance of IndTestBlocks.TrekSeparationBlocksIndependence.getBlockSpec()Retrieves the block specification associated with this instance.Constructors in edu.cmu.tetrad.search.test with parameters of type BlockSpecModifierConstructorDescriptionIndTestBlocksLemma10(BlockSpec blockSpec) Deprecated.Constructs an instance of IndTestBlocksLemma10 using the provided block specification.IndTestBlocksWilkes(BlockSpec blockSpec) Constructs an instance of IndTestBlocks using the provided block specification.IndTestBlocksWilkes(BlockSpec blockSpec, MissingDataSpec spec) Constructs the test with an explicit missing-data specification for the block data set.TrekSeparationBlocksIndependence(BlockSpec blockSpec) Constructs an instance of IndTestBlocksTs using the provided block specification.TrekSeparationBlocksIndependence(BlockSpec blockSpec, RankTester rankTester) Constructs the test with a supplied rank engine.TrekSeparationBlocksIndependence(BlockSpec blockSpec, List<DataSet> imputations) Constructs the test pooled over several imputations of one data set.