@Test public void testMIT() throws IncorrectCallException, IOException { String s = "child-50000"; String path = basePath + "/scorer/" + s; String file = path + ".dat"; dat = RandomStuff.getDataSet(file); int n = 0; score = new MIT(0.999, dat); score.debug = true; double sk = score.computeScore(n); System.out.println("void: " + sk); scoreit(new int[] { 2}, n); scoreit(new int[] { 5}, n); scoreit(new int[] { 6}, n); scoreit(new int[] { 2, 6}, n); scoreit(new int[] { 5, 6}, n); }
public MIT(double alpha, DataSet dat) { super(dat); if (alpha != 0) { this.alpha = alpha; } }
MIT extends Score { public MIT(double alpha, DataSet dat) { super(dat); if (alpha != 0) { this.alpha = alpha; } } }
MIT extends Score { public MIT(double alpha, DataSet dat) { super(dat); if (alpha != 0) { this.alpha = alpha; } } MIT(double alpha, DataSet dat); }
MIT extends Score { public MIT(double alpha, DataSet dat) { super(dat); if (alpha != 0) { this.alpha = alpha; } } MIT(double alpha, DataSet dat); @Override double computeScore(int n); @Override double computeScore(int n, int[] set_p, int[][] p_values); @Override String descr(); @Override double computePrediction(int n, int[] p1, int p2, Map<int[], Double> scores); }
MIT extends Score { public MIT(double alpha, DataSet dat) { super(dat); if (alpha != 0) { this.alpha = alpha; } } MIT(double alpha, DataSet dat); @Override double computeScore(int n); @Override double computeScore(int n, int[] set_p, int[][] p_values); @Override String descr(); @Override double computePrediction(int n, int[] p1, int p2, Map<int[], Double> scores);  }