Package weka.attributeSelection

Examples of weka.attributeSelection.Ranker


      }
      setEvaluator(ASEvaluation.forName(evalClassName, evalOptions));
    }

    if (m_ASEvaluator instanceof AttributeEvaluator) {
      setSearch(new Ranker());
    }

    optionString = Utils.getOption('S',options);
    if (optionString.length() != 0) {
      optionString = optionString.trim();
View Full Code Here


              JOptionPane.showConfirmDialog(null, Messages.getInstance().getString("AttributeSelectionPanel_Result_JOptionPaneShowConfirmDialog_Text_First")
                                            +m_AttributeEvaluatorEditor.getValue().getClass().getName()
                                            +Messages.getInstance().getString("AttributeSelectionPanel_Result_JOptionPaneShowConfirmDialog_Text_Second"),
                                            Messages.getInstance().getString("AttributeSelectionPanel_Result_JOptionPaneShowConfirmDialog_Text_Third"), JOptionPane.YES_NO_OPTION);
            if (result == JOptionPane.YES_OPTION) {
              m_AttributeSearchEditor.setValue(new Ranker());
            } else {
              // restore to what was there previously (if possible)
              if (backup != null) {
                m_AttributeEvaluatorEditor.setValue(backup);
              }            
View Full Code Here

                                            +"in order to use\n"
                                            +m_AttributeEvaluatorEditor.getValue().getClass().getName()
                                            +".\nShould I select the Ranker search method for you?",
                                            "Alert!", JOptionPane.YES_NO_OPTION);
            if (result == JOptionPane.YES_OPTION) {
              m_AttributeSearchEditor.setValue(new Ranker());
            } else {
              // restore to what was there previously (if possible)
              if (backup != null) {
                m_AttributeEvaluatorEditor.setValue(backup);
              }            
View Full Code Here

      }
      setEvaluator(ASEvaluation.forName(evalClassName, evalOptions));
    }

    if (m_ASEvaluator instanceof AttributeEvaluator) {
      setSearch(new Ranker());
    }

    optionString = Utils.getOption('S',options);
    if (optionString.length() != 0) {
      optionString = optionString.trim();
View Full Code Here

                                            +"in order to use\n"
                                            +m_AttributeEvaluatorEditor.getValue().getClass().getName()
                                            +".\nShould I select the Ranker search method for you?",
                                            "Alert!", JOptionPane.YES_NO_OPTION);
            if (result == JOptionPane.YES_OPTION) {
              m_AttributeSearchEditor.setValue(new Ranker());
            } else {
              // restore to what was there previously (if possible)
              if (backup != null) {
                m_AttributeEvaluatorEditor.setValue(backup);
              }            
View Full Code Here

      }
      setEvaluator(ASEvaluation.forName(evalClassName, evalOptions));
    }

    if (m_ASEvaluator instanceof AttributeEvaluator) {
      setSearch(new Ranker());
    }

    optionString = Utils.getOption('S',options);
    if (optionString.length() != 0) {
      optionString = optionString.trim();
View Full Code Here

        Random rndd = new Random(422);

        AttributeSelection attribSel = new AttributeSelection();

        att_ev_SingleBayesROCAttributeEval roc = new att_ev_SingleBayesROCAttributeEval();
        Ranker rnkr = new Ranker();

//        roc.buildEvaluator(learn);

        attribSel.setEvaluator(roc);
        attribSel.setSearch(rnkr);
View Full Code Here

        Random rndd = new Random(422);

        AttributeSelection attribSel = new AttributeSelection();

        att_ev_TTestAttributeEval pval = new att_ev_TTestAttributeEval();
        Ranker rnkr = new Ranker();
//        rnkr.setThreshold(p_val_threshold);

//        roc.buildEvaluator(learn);

        attribSel.setEvaluator(pval);
View Full Code Here

       
        //GreedyStepwise search = new GreedyStepwise();
        //search.setNumToSelect(980);
        //search.setSearchBackwards(true);
       
        Ranker search = new Ranker();
        search.setNumToSelect(980);
       
        filter.setEvaluator(eval);
        filter.setSearch(search);
       
        filter.setInputFormat(examples.getInstances());
View Full Code Here

TOP

Related Classes of weka.attributeSelection.Ranker

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.