public class PerceptronRegressorTest extends RegressorTest {
@Test
public void testWithRandomData() {
double error = this.eval(new PerceptronRegressor(), Datasets.generateDataForRegression(2000, 10));
assertTrue("Error " + error + " is to big!", error <= 0.001);
}