Interface ScoreWrapper
- All Superinterfaces:
HasParameters, Serializable, TetradSerializable
- All Known Subinterfaces:
BlockScoreWrapper, MultiDataSetScoreWrapper
- All Known Implementing Classes:
BasisFunctionBgeScore, BasisFunctionBicScore, BasisFunctionBicScoreTabular, BdeuScore, BfBlocksBicScore, BgeScore, BlocksBicScore, ConditionalGaussianBicScore, DegenerateGaussianBgeScore, DegenerateGaussianBicScore, DiscreteBicScore, EbicScore, FfMl, FfMlContinuous, GicScores, HeavyTailSemBicScore, HuangMarginalLikelihoodScore, InstanceAugmentedSemBicScoreWrapper, IsBDeuScoreWrapper, KcvBicScore, KernelMarginalLikelihoodScore, MagDgBicScore, MSepScore, MVPBicScore, PoissonPriorScore, PooledScoreWrapper, RankBicScore, RffBicScore, SemBicScore, TRffBicScore, ZhangShenBoundScore
Interface that algorithm must implement.
- Version:
- $Id: $Id
- Author:
- josephramsey
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longConstantserialVersionUID=23L -
Method Summary
Modifier and TypeMethodDescriptionReturns the data type that the search requires, whether continuous, discrete, or mixed.Returns a short of this independence test.Returns the parameters that this search uses.getScore(DataModel dataSet, Parameters parameters) Returns true, iff x and y are independent, conditional on z for the given data set.getVariable(String name) Returns the variable with the given name.
-
Field Details
-
serialVersionUID
static final long serialVersionUIDConstantserialVersionUID=23L- See Also:
-
-
Method Details
-
getScore
Returns true, iff x and y are independent, conditional on z for the given data set.- Parameters:
dataSet- The data set to test independence against.parameters- The parameters of the test.- Returns:
- True iff independence holds.
-
getDescription
-
getDataType
DataType getDataType()Returns the data type that the search requires, whether continuous, discrete, or mixed.- Returns:
- This type.
-
getParameters
Returns the parameters that this search uses.- Specified by:
getParametersin interfaceHasParameters- Returns:
- A list for String names of parameters.
-
getVariable
-