Package org.jpmml.manager

Examples of org.jpmml.manager.PMMLManager


    } catch (Exception e) {
        log.log(Level.SEVERE, e.getMessage());
        return;
    }
 
    this.pmmlManager = new PMMLManager(this.pmml);
 
    // Load the default model
    this.evaluator = (Evaluator)pmmlManager.getModelManager(null, ModelEvaluatorFactory.getInstance());
 
    }
View Full Code Here


  public ModelEvaluator<?> unmarshal(InputStream is) throws SAXException, JAXBException {
    Source source = ImportFilter.apply(new InputSource(is));

    PMML pmml = JAXBUtil.unmarshalPMML(source);

    PMMLManager pmmlManager = new PMMLManager(pmml);

    return (ModelEvaluator<?>)pmmlManager.getModelManager(ModelEvaluatorFactory.getInstance());
  }
View Full Code Here

TOP

Related Classes of org.jpmml.manager.PMMLManager

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.