You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Java PMML API
Hi,
Is it possible to get the InputFields used by the model after they have been processed? I can currently read all the InputFields, but in the ModelSchema of the MiningModel I can see the actual processed fields. I do not know how I can access them.
Thank you.
Villu Ruusmann
unread,
Jun 27, 2020, 4:36:21 PM6/27/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Java PMML API
Hi Diana,
>
> Is it possible to get the InputFields used by the model
> after they have been processed?
>
Do you understand you correctly - you'd like to get a list of all
field values that were "used" by the MiningModel element during the
prediction? For example, in addition to regular input fields (aka
active fields), you'd like to see the values of derived fields
(defined by TransformationDictionary/DerivedField and
LocalTransformations/DerivedField elements)?
If you, then you'd need to obtain a reference to the
org.jpmml.evaluator.(Mining)ModelEvaluationContext object that was
used by the (Mining)ModelEvaluator during the evaluation of a
particular data record.
The EvaluationContext class is a semi-private API, so it will be
tricky to get access to it.