Class FaskVote
java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.multi.FaskVote
- All Implemented Interfaces:
- Algorithm,- MultiDataSetAlgorithm,- HasKnowledge,- HasParameters,- TakesIndependenceWrapper,- UsesScoreWrapper,- TetradSerializable,- Serializable
@Algorithm(name="FASK-Vote",
           command="fask-vote",
           algoType=forbid_latent_common_causes,
           dataType=Continuous)
@Bootstrapping
@Experimental
public class FaskVote
extends Object
implements MultiDataSetAlgorithm, HasKnowledge, UsesScoreWrapper, TakesIndependenceWrapper
Wraps the MultiFask algorithm for continuous variables.
 
Requires that the parameter 'randomSelectionSize' be set to indicate how many datasets should be taken at a time (randomly). This cannot given multiple values.
- Author:
- mglymour, josephramsey
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionFaskVote()FaskVote(IndependenceWrapper test, ScoreWrapper score) FaskVote(ScoreWrapper score) 
- 
Method SummaryModifier and TypeMethodDescriptiongetComparisonGraph(Graph graph) Returns that graph that the result should be compared to.Returns the data type that the search requires, whether continuous, discrete, or mixed.Returns a short, one-line description of this algorithm.Returns a knowledge object.Returns the parameters that this search uses.search(DataModel dataSet, Parameters parameters) Runs the search.search(List<DataModel> dataSets, Parameters parameters) Runs the search.voidsetIndependenceWrapper(IndependenceWrapper independenceWrapper) voidSets a test wrapper if not null.voidsetKnowledge(Knowledge knowledge) Sets a knowledge object.voidsetScoreWrapper(ScoreWrapper score) Sets a score wrapper if not null.
- 
Constructor Details- 
FaskVote
- 
FaskVotepublic FaskVote()
- 
FaskVote
 
- 
- 
Method Details- 
searchDescription copied from interface:MultiDataSetAlgorithmRuns the search.- Specified by:
- searchin interface- MultiDataSetAlgorithm
- Parameters:
- dataSets- The data set to run to the search on.
- parameters- The paramters of the search.
- Returns:
- The result graph.
 
- 
searchDescription copied from interface:AlgorithmRuns the search.
- 
getComparisonGraphDescription copied from interface:AlgorithmReturns that graph that the result should be compared to.- Specified by:
- getComparisonGraphin interface- Algorithm
- Parameters:
- graph- The true directed graph, if there is one.
- Returns:
- The comparison graph.
 
- 
getDescriptionDescription copied from interface:AlgorithmReturns a short, one-line description of this algorithm. This will be printed in the report.- Specified by:
- getDescriptionin interface- Algorithm
- Returns:
- This description.
 
- 
getDataTypeDescription copied from interface:AlgorithmReturns the data type that the search requires, whether continuous, discrete, or mixed.- Specified by:
- getDataTypein interface- Algorithm
- Returns:
- This type.
 
- 
getParametersDescription copied from interface:AlgorithmReturns the parameters that this search uses.- Specified by:
- getParametersin interface- Algorithm
- Specified by:
- getParametersin interface- HasParameters
- Returns:
- A list of String names of parameters.
 
- 
getKnowledgeDescription copied from interface:HasKnowledgeReturns a knowledge object.- Specified by:
- getKnowledgein interface- HasKnowledge
- Returns:
- a knowledge object.
 
- 
setKnowledgeDescription copied from interface:HasKnowledgeSets a knowledge object.- Specified by:
- setKnowledgein interface- HasKnowledge
- Parameters:
- knowledge- a knowledge object.
 
- 
setIndTestWrapperDescription copied from interface:MultiDataSetAlgorithmSets a test wrapper if not null.- Specified by:
- setIndTestWrapperin interface- MultiDataSetAlgorithm
- Parameters:
- test- The wrapper
- See Also:
 
- 
getScoreWrapper- Specified by:
- getScoreWrapperin interface- UsesScoreWrapper
 
- 
setScoreWrapperDescription copied from interface:MultiDataSetAlgorithmSets a score wrapper if not null.- Specified by:
- setScoreWrapperin interface- MultiDataSetAlgorithm
- Specified by:
- setScoreWrapperin interface- UsesScoreWrapper
- Parameters:
- score- The wrapper
- See Also:
 
- 
getIndependenceWrapper- Specified by:
- getIndependenceWrapperin interface- TakesIndependenceWrapper
 
- 
setIndependenceWrapper- Specified by:
- setIndependenceWrapperin interface- TakesIndependenceWrapper
 
 
-