List of usage examples for weka.classifiers.functions LinearRegression setEliminateColinearAttributes
public void setEliminateColinearAttributes(boolean newEliminateColinearAttributes)
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; }