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 TypeMethodDescriptiondouble
getBscD()
Returns the BSC-D score.double
getBscI()
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.void
setCutoffConstrainSearch
(double cutoffConstrainSearch) void
setCutoffDataSearch
(double cutoffDataSearch) void
setLowerBound
(double lowerBound) Sets the lower bound.void
setNumBscBootstrapSamples
(int numBscBootstrapSamples) Sets the number of bootstrap samples.void
setNumRandomizedSearchModels
(int numRandomizedSearchModels) Sets the number of randomized search models.void
setOut
(PrintStream out) Sets the output stream that output (except for log output) should be sent to.void
setOutputRBD
(boolean outputRBD) Sets whether the output should be RBD.void
setThresholdNoRandomConstrainSearch
(boolean thresholdNoRandomConstrainSearch) void
setThresholdNoRandomDataSearch
(boolean thresholdNoRandomDataSearch) void
setUpperBound
(double upperBound) Sets the upper bound.void
setVerbose
(boolean verbose) Sets whether verbose output should be produced.
-
Constructor Details
-
RfciBsc
-
-
Method Details
-
search
Performs the search.- Specified by:
search
in 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
-