org.gersteinlab.regulation
Class Main

java.lang.Object
  extended by org.gersteinlab.regulation.Main

public class Main
extends java.lang.Object

        The main predictor class.
        

Version:
1.0 (August 20, 2008)
        Change History:
        1.0     - Initial version
        
Author:
Kevin Yuk-Lap Yip

Field Summary
protected static int SEARCH_ITER
           
static java.lang.String TEAM_NAME
           
 
Constructor Summary
Main()
           
 
Method Summary
static void main(java.lang.String[] argv)
           
protected static void predictIntersection(double[][][] r, java.util.List<java.lang.String> predictions, int[][] predicted, int batch, boolean signedPred)
          Make predictions from the intersection of multiple models.
protected static void predictUnion(double[][][] r, java.util.List<java.lang.String> predictions, int[][] predicted, int batch, boolean signedPred)
          Make predictions from the union of multiple models.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEAM_NAME

public static final java.lang.String TEAM_NAME
See Also:
Constant Field Values

SEARCH_ITER

protected static final int SEARCH_ITER
See Also:
Constant Field Values
Constructor Detail

Main

public Main()
Method Detail

main

public static void main(java.lang.String[] argv)

predictIntersection

protected static void predictIntersection(double[][][] r,
                                          java.util.List<java.lang.String> predictions,
                                          int[][] predicted,
                                          int batch,
                                          boolean signedPred)
Make predictions from the intersection of multiple models.

Parameters:
r - The residuals from the models First dimension: model Second dimension: target gene Third dimension: potential regulator
predictions - The current list of predictions
predicted - Whether a regulation has been predicted First dimension: regulator Second dimension: target
batch - The batch number
signedPred - Whether the predictions are signed

predictUnion

protected static void predictUnion(double[][][] r,
                                   java.util.List<java.lang.String> predictions,
                                   int[][] predicted,
                                   int batch,
                                   boolean signedPred)
Make predictions from the union of multiple models.

Parameters:
r - The residuals from the models First dimension: model Second dimension: target gene Third dimension: potential regulator
predictions - The current list of predictions
predicted - Whether a regulation has been predicted First dimension: regulator Second dimension: target
batch - The batch number
signedPred - Whether the predictions are signed