2627282930313233
public class PARegressorTest extends RegressorTest { @Test public void testWithRandomData() { double error = this.eval(new PARegressor(), Datasets.generateDataForRegression(2000, 10)); assertTrue("Error " + error + " is to big!", error <= 0.01); }
3334353637383940
} @Ignore("Regressors are not ready for real data") @Test public void testWithBirthsData() { double error = this.eval(new PARegressor(), Datasets.getBIRTHSSamples()); assertTrue("Error " + error + " is to big!", error <= 0.01); }