Package org.dmg.pmml

Examples of org.dmg.pmml.OutputField


      result.addPredictedValue(dataField.getName().getValue(), predictedValue);
    }
 
    List<FieldName> resultFields = this.evaluator.getOutputFields();
    for(FieldName resultField : resultFields){
      OutputField outputField = evaluator.getOutputField(resultField);
      Object outputValue = pmmlResult.get(resultField);
      result.addOutputValue(outputField.getName().getValue(), outputValue);
    }
   
    if(this.postProcessor != null && !this.postProcessor.isEmpty()) {
      processor.doScriptProcessing(this.postProcessor, (Map<String, Object>) result.getOutputValues());
      processor.doScriptProcessing(this.postProcessor, (Map<String, Object>) result.getPredictedValues());
View Full Code Here

TOP

Related Classes of org.dmg.pmml.OutputField

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.