Java Code Examples for org.jpmml.evaluator.Evaluator#verify()
The following examples show how to use
org.jpmml.evaluator.Evaluator#verify() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: EvaluatorUtil.java From jpmml-evaluator-spark with GNU Affero General Public License v3.0 | 5 votes |
/** * @see LoadingModelEvaluatorBuilder#load(InputStream) * @see LoadingModelEvaluatorBuilder#load(InputStream, String) */ @Deprecated static public Evaluator createEvaluator(InputStream is) throws SAXException, JAXBException { EvaluatorBuilder evaluatorBuilder = new LoadingModelEvaluatorBuilder() .load(is); Evaluator evaluator = evaluatorBuilder.build(); // Perform self-testing evaluator.verify(); return evaluator; }
Example 2
Source File: CollectionVerificationTest.java From jpmml-evaluator with GNU Affero General Public License v3.0 | 4 votes |
@Test public void verify() throws Exception { Evaluator evaluator = createModelEvaluator(); evaluator.verify(); }
Example 3
Source File: ArchiveBatch.java From jpmml-evaluator with GNU Affero General Public License v3.0 | 3 votes |
@Override public Evaluator getEvaluator() throws Exception { EvaluatorBuilder evaluatorBuilder = getEvaluatorBuilder(); Evaluator evaluator = evaluatorBuilder.build(); evaluator.verify(); return evaluator; }