Example usage for weka.classifiers.functions LinearRegression setEliminateColinearAttributes

List of usage examples for weka.classifiers.functions LinearRegression setEliminateColinearAttributes

Introduction

In this page you can find the example usage for weka.classifiers.functions LinearRegression setEliminateColinearAttributes.

Prototype

public void setEliminateColinearAttributes(boolean newEliminateColinearAttributes) 

Source Link

Document

Set the value of EliminateColinearAttributes.

Usage

From source file:edu.utexas.cs.tactex.utils.RegressionUtils.java

License:Open Source License

public static LinearRegression createLinearRegression() {
    LinearRegression linreg = new LinearRegression();
    linreg.setAttributeSelectionMethod(//  ww  w . j  a v  a  2 s  .c  o m
            new SelectedTag(LinearRegression.SELECTION_NONE, LinearRegression.TAGS_SELECTION));
    linreg.setEliminateColinearAttributes(false);
    // if wants debug info
    //linreg.setDebug(true);
    return linreg;
}