java.lang.Object
edu.pitt.dbmi.algo.bayesian.constraint.search.RfciBsc
All Implemented Interfaces:
IGraphSearch

public class RfciBsc extends Object implements IGraphSearch
Dec 17, 2018 3:28:15 PM
Version:
$Id: $Id
Author:
Chirayu Kong Wongchokprasitti, PhD (chw20@pitt.edu)
  • Constructor Details

    • RfciBsc

      public RfciBsc(Rfci rfci)

      Constructor for RfciBsc.

      Parameters:
      rfci - a Rfci object
  • Method Details

    • search

      public Graph search()
      Runs the search and returns a graph.

      Performs the search.

      Specified by:
      search in interface IGraphSearch
      Returns:
      The discovered graph.
    • 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

      public Graph getGraphRBD()
      Returns the graph that was learned using the BSC-D method.
      Returns:
      a Graph object
    • getGraphRBI

      public Graph 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

      public PrintStream getOut()

      Getter for the field out.

      Returns:
      the output stream that output (except for log output) should be sent to.
    • setOut

      public void setOut(PrintStream out)
      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)

      Setter for the field thresholdNoRandomDataSearch.

      Parameters:
      thresholdNoRandomDataSearch - the thresholdNoRandomDataSearch to set
    • setCutoffDataSearch

      public void setCutoffDataSearch(double cutoffDataSearch)

      Setter for the field cutoffDataSearch.

      Parameters:
      cutoffDataSearch - the cutoffDataSearch to set
    • setThresholdNoRandomConstrainSearch

      public void setThresholdNoRandomConstrainSearch(boolean thresholdNoRandomConstrainSearch)

      Setter for the field thresholdNoRandomConstrainSearch.

      Parameters:
      thresholdNoRandomConstrainSearch - the thresholdNoRandomConstrainSearch to set
    • setCutoffConstrainSearch

      public void setCutoffConstrainSearch(double cutoffConstrainSearch)

      Setter for the field cutoffConstrainSearch.

      Parameters:
      cutoffConstrainSearch - the cutoffConstrainSearch to set