@Test public void testBIC() throws IncorrectCallException, IOException { String s = "water-50000"; String path = basePath + "/scorer/" + s; String file = path + ".dat"; DataSet dat = RandomStuff.getDataSet(file); BIC score = new BIC(dat); double sk = score.computeScore(0); System.out.println("void: " + sk); assertTrue(isScore(sk)); int[] pars = { 8}; sk = score.computeScore(0, pars); System.out.println("one: " + sk); assertTrue(isScore(sk)); }
public BIC(DataSet dat) { super(dat); }
BIC extends Score { public BIC(DataSet dat) { super(dat); } }
BIC extends Score { public BIC(DataSet dat) { super(dat); } BIC(DataSet dat); }
BIC extends Score { public BIC(DataSet dat) { super(dat); } BIC(DataSet dat); @Override double computeScore(int n); @Override double computeScore(int n, int[] set_p, int[][] p_values); double getPenalization(int n, int[] pset); double inter(int n, int[] set, int p2); @Override String descr(); @Override double computePrediction(int n, int[] p1, int p2, Map<int[], Double> scores); }
BIC extends Score { public BIC(DataSet dat) { super(dat); } BIC(DataSet dat); @Override double computeScore(int n); @Override double computeScore(int n, int[] set_p, int[][] p_values); double getPenalization(int n, int[] pset); double inter(int n, int[] set, int p2); @Override String descr(); @Override double computePrediction(int n, int[] p1, int p2, Map<int[], Double> scores);  }