Package com.github.pmerienne.trident.ml.regression

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


  }

  @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

Related Classes of com.github.pmerienne.trident.ml.regression.PARegressor

Copyright © 2018 www.massapicom. 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.