Package org.jpmml.evaluator
Interface HasGroupFields
-
- All Superinterfaces:
HasActiveFields
- All Known Implementing Classes:
AssociationModelEvaluator
public interface HasGroupFields extends HasActiveFields
A marker interface for models that expect the application to group many scalar-valued data records to a single collection-valued data record. The grouping is applied to
Aggregating data records:active fieldvalues.Evaluator evaluator = ...; List<? extends Map<String, ?>> preparedRecords = ...; if(evaluator instanceof HasGroupFields){ HasGroupFields hasGroupFields = (HasGroupFields)evaluator; preparedRecords = EvaluatorUtil.groupRows(hasGroupFields, preparedRecords); }
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<InputField>getGroupFields()Gets the group fields of aModelfrom itsMiningSchema.-
Methods inherited from interface org.jpmml.evaluator.HasActiveFields
getActiveFields
-
-
-
-
Method Detail
-
getGroupFields
java.util.List<InputField> getGroupFields()
Gets the group fields of a
Modelfrom itsMiningSchema.This field set is relevant for
association rulesmodel type only.
-
-