Package cz.zcu.fav.liks.ml.featuresel.selectors

Examples of cz.zcu.fav.liks.ml.featuresel.selectors.OddsRatio


      } else if (selector.equalsIgnoreCase("IG")) {
        filter = new InformationGain();
      } else if (selector.equalsIgnoreCase("CHI")) {
        filter = new ChiSquare();
      } else if (selector.equalsIgnoreCase("OR")) {
        filter = new OddsRatio();
      } else if (selector.equalsIgnoreCase("RS")) {
        filter = new RelevancyScore();
      } else
        throw new ParseException("Incorrect metric speficied");
View Full Code Here


      print("IG(0,9)");
      cv.multiValidate(features, trainer, 10, data, new InformationGain(), 0.9);

      print("OR(0,9)");
      cv.multiValidate(features, trainer, 10, data, new OddsRatio(), 0.9);

    } catch (SQLException e) {
      e.printStackTrace();
    } catch (IllegalArgumentException e) {
      e.printStackTrace();
View Full Code Here

TOP

Related Classes of cz.zcu.fav.liks.ml.featuresel.selectors.OddsRatio

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.