Package weka.classifiers.functions

Examples of weka.classifiers.functions.SimpleLinearRegression


    protected SimpleLinearRegression[][] initRegressions(){
  SimpleLinearRegression[][] classifiers =  
      new SimpleLinearRegression[m_numClasses][m_maxIterations];
  for (int j = 0; j < m_numClasses; j++) {
      for (int i = 0; i < m_maxIterations; i++) {
    classifiers[j][i] = new SimpleLinearRegression();
    classifiers[j][i].setSuppressErrorMessage(true);
      }
  }
  return classifiers;
    }
View Full Code Here


    protected SimpleLinearRegression[][] initRegressions(){
  SimpleLinearRegression[][] classifiers =  
      new SimpleLinearRegression[m_numClasses][m_maxIterations];
  for (int j = 0; j < m_numClasses; j++) {
      for (int i = 0; i < m_maxIterations; i++) {
    classifiers[j][i] = new SimpleLinearRegression();
    classifiers[j][i].setSuppressErrorMessage(true);
      }
  }
  return classifiers;
    }
View Full Code Here

TOP

Related Classes of weka.classifiers.functions.SimpleLinearRegression

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.