Package org.jpmml.evaluator
Interface HasGroupFields
-
- All Superinterfaces:
HasInputFields
- All Known Implementing Classes:
AssociationModelEvaluator
public interface HasGroupFields extends HasInputFields
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 = ...; Table table = ...; if(evaluator instanceof HasGroupFields){ HasGroupFields hasGroupFields = (HasGroupFields)evaluator; table = EvaluatorUtil.groupRows(hasGroupFields, table); }
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<InputField>getGroupFields()Gets the group fields of aModelfrom itsMiningSchema.-
Methods inherited from interface org.jpmml.evaluator.HasInputFields
getActiveFields, getInputFields, getResidualFields, getSupplementaryFields
-
-
-
-
Method Detail
-
getGroupFields
List<InputField> getGroupFields()
Gets the group fields of a
Modelfrom itsMiningSchema.This field set is relevant for
association rulesmodel type only.
-
-