Examples of toSummaryString()


Examples of org.integratedmodelling.riskwiz.learning.data.Instances.toSummaryString()

                System.out.println(i.toString());
            } else {
                Instances i = new XMLInstances(r).getInstances();

                System.out.println(i.toSummaryString());
            }
        } catch (Exception ex) {
            ex.printStackTrace();
            System.err.println(ex.getMessage());
        }
View Full Code Here

Examples of weka.classifiers.Evaluation.toSummaryString()

    if(canMeasureCPUTime)
      testCPUTimeElapsed = thMonitor.getThreadUserTime(thID) - CPUStartTime;
    testTimeElapsed = System.currentTimeMillis() - testTimeStart;
    thMonitor = null;
   
    m_result = eval.toSummaryString();
    // The results stored are all per instance -- can be multiplied by the
    // number of instances to get absolute numbers
    int current = 0;
    result[current++] = new Double(train.numInstances());
    result[current++] = new Double(eval.numInstances());
View Full Code Here

Examples of weka.classifiers.Evaluation.toSummaryString()

    if(canMeasureCPUTime)
      testCPUTimeElapsed = thMonitor.getThreadUserTime(thID) - CPUStartTime;
    testTimeElapsed = System.currentTimeMillis() - testTimeStart;
    thMonitor = null;
   
    m_result = eval.toSummaryString();
    // The results stored are all per instance -- can be multiplied by the
    // number of instances to get absolute numbers
    int current = 0;
    result[current++] = new Double(train.numInstances());
    result[current++] = new Double(eval.numInstances());
View Full Code Here

Examples of weka.classifiers.Evaluation.toSummaryString()

    if(canMeasureCPUTime)
      testCPUTimeElapsed = thMonitor.getThreadUserTime(thID) - CPUStartTime;
    testTimeElapsed = System.currentTimeMillis() - testTimeStart;
    thMonitor = null;
   
    m_result = eval.toSummaryString();
    // The results stored are all per instance -- can be multiplied by the
    // number of instances to get absolute numbers
    int current = 0;
    result[current++] = new Double(train.numInstances());
    result[current++] = new Double(eval.numInstances());
View Full Code Here

Examples of weka.classifiers.Evaluation.toSummaryString()

        default:
        throw new Exception("Test mode not implemented");
      }
     
      if (outputSummary) {
        outBuff.append(eval.toSummaryString(outputEntropy) + "\n");
      }

      if (inst.attribute(classIndex).isNominal()) {

        if (outputPerClass) {
View Full Code Here

Examples of weka.classifiers.Evaluation.toSummaryString()

              if (outputPredictionsText && classificationOutput.generatesOutput()) {
                outBuff.append("\n");
              }
     
              if (outputSummary) {
                outBuff.append(eval.toSummaryString(outputEntropy) + "\n");
              }
     
              if (userTestStructure.classAttribute().isNominal()) {
 
                if (outputPerClass) {
View Full Code Here

Examples of weka.classifiers.Evaluation.toSummaryString()

                ev.crossValidateModel(classifier, dataset, folds, new Random(seed));
              }
              else
                ev.crossValidateModel(classifier, dataset, folds, new Random(123));
              if(mEvaluationOutput != null) {
                mEvaluationOutput.write(ev.toSummaryString());
                LOG.debug("BuildClassifier evaluation: " + ev.toSummaryString());
              }
            }
        }
        catch (InvalidWekaOptionsException e) {
View Full Code Here

Examples of weka.classifiers.Evaluation.toSummaryString()

              }
              else
                ev.crossValidateModel(classifier, dataset, folds, new Random(123));
              if(mEvaluationOutput != null) {
                mEvaluationOutput.write(ev.toSummaryString());
                LOG.debug("BuildClassifier evaluation: " + ev.toSummaryString());
              }
            }
        }
        catch (InvalidWekaOptionsException e) {
          throw new ActivityUserException(e);
View Full Code Here

Examples of weka.classifiers.Evaluation.toSummaryString()

    if(canMeasureCPUTime)
      testCPUTimeElapsed = thMonitor.getThreadUserTime(thID) - CPUStartTime;
    testTimeElapsed = System.currentTimeMillis() - testTimeStart;
    thMonitor = null;
   
    m_result = eval.toSummaryString();
    // The results stored are all per instance -- can be multiplied by the
    // number of instances to get absolute numbers
    int current = 0;
    result[current++] = new Double(train.numInstances());
    result[current++] = new Double(eval.numInstances());
View Full Code Here

Examples of weka.classifiers.Evaluation.toSummaryString()

    if(canMeasureCPUTime)
      testCPUTimeElapsed = thMonitor.getThreadUserTime(thID) - CPUStartTime;
    testTimeElapsed = System.currentTimeMillis() - testTimeStart;
    thMonitor = null;
   
    m_result = eval.toSummaryString();
    // The results stored are all per instance -- can be multiplied by the
    // number of instances to get absolute numbers
    int current = 0;
    result[current++] = new Double(train.numInstances());
    result[current++] = new Double(eval.numInstances());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.