Examples of PARegressor


Examples of com.github.pmerienne.trident.ml.regression.PARegressor

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);
  }
View Full Code Here

Examples of com.github.pmerienne.trident.ml.regression.PARegressor

  }

  @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);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.