Analytics.PMML.evalModelwithParams()

Signature

Object evalModelwithParams(String modelName, Object... parameters)

Domain

ACTION, CONDITION, QUERY

Description

Calls the PMML engine with the model name and parameters, and then returns the result.

Parameters

NameTypeDescription
modelNameStringName of the model
parametersObject...Parameters of the model.For example, if a model has an input field Age, then the parameters to this function would be Age,20.

Returns

TypeDescription
Object

Cautions

none