Class FfCi
java.lang.Object
edu.cmu.tetrad.algcomparison.independence.FfCi
- All Implemented Interfaces:
IndependenceWrapper, HasParameters, TetradSerializable, Serializable
@TestOfIndependence(name="FFCI (Fourier Features Conditional Independence)",
command="ffci-test",
dataType=Mixed)
@General
@Mixed
public class FfCi
extends Object
implements IndependenceWrapper
Wrapper for FFCI test with a reduced parameter set.
Exposed parameters:
- alpha
- permutations
- numFeatures (applied to XY and Z)
- lambda
- bandwidthMultiplier
- verbose
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProvides the data type of the test.Provides a description of the independence test.Provides a list of parameters required for configuring the test.getTest(DataModel dataSet, Parameters parameters) Creates and configures an instance of the FfCi independence test with specified parameters derived from the provided dataset and parameter set.
-
Constructor Details
-
FfCi
public FfCi()Default constructor for the FfCi class. Initializes a new instance of the FfCi class with default settings. This constructor is primarily used to instantiate objects of FfCi and does not perform additional configuration beyond basic initialization.
-
-
Method Details
-
getTest
Creates and configures an instance of the FfCi independence test with specified parameters derived from the provided dataset and parameter set.- Specified by:
getTestin interfaceIndependenceWrapper- Parameters:
dataSet- the dataset to be used for the independence testparameters- the parameter set containing values such as alpha, permutations, number of features, lambda, bandwidth multiplier, approximation type, and verbosity- Returns:
- an instance of
IndependenceTestconfigured with the specified parameters
-
getDescription
Provides a description of the independence test.- Specified by:
getDescriptionin interfaceIndependenceWrapper- Returns:
- a string representing the description of the test
-
getDataType
Provides the data type of the test.- Specified by:
getDataTypein interfaceIndependenceWrapper- Returns:
- the data type of the test
-
getParameters
Provides a list of parameters required for configuring the test.- Specified by:
getParametersin interfaceHasParameters- Specified by:
getParametersin interfaceIndependenceWrapper- Returns:
- a list of parameter names
-