Package weka.filters.unsupervised.attribute

Examples of weka.filters.unsupervised.attribute.MathExpression


      int index = insts.attribute(field).index();
      if (index < 0) {
        throw new Exception("Can't find field '" + field + "'!");
      }

      MathExpression mathE = new MathExpression();
      mathE.setIgnoreRange("" + (index + 1));
      mathE.setInvertSelection(true);
      mathE.setExpression("log(A)");
      mathE.setInputFormat(insts);
      insts = Filter.useFilter(insts, mathE);
      m_varianceAdjusters.add(mathE);
    }

    return insts;
View Full Code Here

TOP

Related Classes of weka.filters.unsupervised.attribute.MathExpression

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.