Class RfciBsc
java.lang.Object
edu.pitt.dbmi.algo.bayesian.constraint.search.RfciBsc
- All Implemented Interfaces:
IGraphSearch
Dec 17, 2018 3:28:15 PM
- Author:
- Chirayu Kong Wongchokprasitti, PhD (chw20@pitt.edu)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetBscD()Returns the BSC-D score.doublegetBscI()Returns the BSC-I score.Returns the graph that was learned using the BSC-D method.Returns the graph that was learned using the BSC-I method.getOut()search()Performs the search.voidsetCutoffConstrainSearch(double cutoffConstrainSearch) voidsetCutoffDataSearch(double cutoffDataSearch) voidsetLowerBound(double lowerBound) Sets the lower bound.voidsetNumBscBootstrapSamples(int numBscBootstrapSamples) Sets the number of bootstrap samples.voidsetNumRandomizedSearchModels(int numRandomizedSearchModels) Sets the number of randomized search models.voidsetOut(PrintStream out) Sets the output stream that output (except for log output) should be sent to.voidsetOutputRBD(boolean outputRBD) Sets whether the output should be RBD.voidsetThresholdNoRandomConstrainSearch(boolean thresholdNoRandomConstrainSearch) voidsetThresholdNoRandomDataSearch(boolean thresholdNoRandomDataSearch) voidsetUpperBound(double upperBound) Sets the upper bound.voidsetVerbose(boolean verbose) Sets whether verbose output should be produced.
-
Constructor Details
-
RfciBsc
-
-
Method Details
-
search
Performs the search.- Specified by:
searchin interfaceIGraphSearch- Returns:
- the graph that was learned.
-
setNumRandomizedSearchModels
public void setNumRandomizedSearchModels(int numRandomizedSearchModels) Sets the number of randomized search models.- Parameters:
numRandomizedSearchModels- the number of randomized search models.
-
setNumBscBootstrapSamples
public void setNumBscBootstrapSamples(int numBscBootstrapSamples) Sets the number of bootstrap samples.- Parameters:
numBscBootstrapSamples- the number of bootstrap samples.
-
setLowerBound
public void setLowerBound(double lowerBound) Sets the lower bound.- Parameters:
lowerBound- the lower bound.
-
setUpperBound
public void setUpperBound(double upperBound) Sets the upper bound.- Parameters:
upperBound- the upper bound.
-
setOutputRBD
public void setOutputRBD(boolean outputRBD) Sets whether the output should be RBD.- Parameters:
outputRBD- true if the output should be RBD.
-
getGraphRBD
Returns the graph that was learned using the BSC-D method.- Returns:
-
getGraphRBI
Returns the graph that was learned using the BSC-I method.- Returns:
- the graph that was learned using the BSC-I method.
-
getBscD
public double getBscD()Returns the BSC-D score.- Returns:
- the BSC-D score.
-
getBscI
public double getBscI()Returns the BSC-I score.- Returns:
- the BSC-I score.
-
setVerbose
public void setVerbose(boolean verbose) Sets whether verbose output should be produced.- Parameters:
verbose- true if verbose output should be produced.
-
getOut
- Returns:
- the output stream that output (except for log output) should be sent to.
-
setOut
Sets the output stream that output (except for log output) should be sent to. By detault System.out.- Parameters:
out- the output stream that output (except for log output) should be sent to.
-
setThresholdNoRandomDataSearch
public void setThresholdNoRandomDataSearch(boolean thresholdNoRandomDataSearch) - Parameters:
thresholdNoRandomDataSearch- the thresholdNoRandomDataSearch to set
-
setCutoffDataSearch
public void setCutoffDataSearch(double cutoffDataSearch) - Parameters:
cutoffDataSearch- the cutoffDataSearch to set
-
setThresholdNoRandomConstrainSearch
public void setThresholdNoRandomConstrainSearch(boolean thresholdNoRandomConstrainSearch) - Parameters:
thresholdNoRandomConstrainSearch- the thresholdNoRandomConstrainSearch to set
-
setCutoffConstrainSearch
public void setCutoffConstrainSearch(double cutoffConstrainSearch) - Parameters:
cutoffConstrainSearch- the cutoffConstrainSearch to set
-