Class PagSamplingRfci
java.lang.Object
edu.pitt.dbmi.algo.bayesian.constraint.search.PagSamplingRfci
- All Implemented Interfaces:
IGraphSearch
Jan 29, 2023 4:10:52 PM
- Version:
- $Id: $Id
- Author:
- Kevin V. Bui (kvb2univpitt@gmail.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsearch()Runs the search and returns a graph.voidsetCutoff(double cutoff) Set the cutoff.voidsetDepth(int depth) Set the depth.voidsetKnowledge(Knowledge knowledge) Set the knowledge.voidsetMaxDiscriminatingPathLength(int maxDiscriminatingPathLength) Sets the maximum length of any discriminating path.voidsetNumRandomizedSearchModels(int numRandomizedSearchModels) Set the number of randomized search models.voidsetPriorEquivalentSampleSize(double priorEquivalentSampleSize) Set the prior equivalent sample size.voidsetThreshold(boolean threshold) Set the threshold.voidsetVerbose(boolean verbose) Set the verbose flag.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface edu.cmu.tetrad.search.IGraphSearch
getTest, setTest
-
Constructor Details
-
PagSamplingRfci
Constructor.- Parameters:
dataSet- the data set.
-
-
Method Details
-
search
Runs the search and returns a graph.Search for a PAG.
- Specified by:
searchin interfaceIGraphSearch- Returns:
- The discovered graph.
-
setNumRandomizedSearchModels
public void setNumRandomizedSearchModels(int numRandomizedSearchModels) Set the number of randomized search models.- Parameters:
numRandomizedSearchModels- the number of randomized search models.
-
setVerbose
public void setVerbose(boolean verbose) Set the verbose flag.- Parameters:
verbose- the verbose flag.
-
setDepth
public void setDepth(int depth) Set the depth.- Parameters:
depth- the depth.
-
setMaxDiscriminatingPathLength
public void setMaxDiscriminatingPathLength(int maxDiscriminatingPathLength) Sets the maximum length of any discriminating path.- Parameters:
maxDiscriminatingPathLength- the maximum length of any discriminating path, or -1 if unlimited.
-
setThreshold
public void setThreshold(boolean threshold) Set the threshold.- Parameters:
threshold- the threshold.
-
setCutoff
public void setCutoff(double cutoff) Set the cutoff.- Parameters:
cutoff- the cutoff.
-
setPriorEquivalentSampleSize
public void setPriorEquivalentSampleSize(double priorEquivalentSampleSize) Set the prior equivalent sample size.- Parameters:
priorEquivalentSampleSize- the prior equivalent sample size.
-
setKnowledge
Set the knowledge.- Parameters:
knowledge- the knowledge.
-