Group Into Collection
Synopsis
This operator generates a collection of ExampleSets out of a single ExampleSet by performing a group by operation on the input ExampleSet. The "group by attribute" parameter can be specified. Each ExampleSet of the collection will contain all examples of one unique instance of the "group by attribute" parameter. The collection can be processed further by using operators that take collections as input, such as the 'Loop Collection' operator.
Input
exa
The input ExampleSet which should be grouped into a collection.
Output
col
The resulting collection of ExampleSets.
org
The original ExampleSet.
Parameters
Group by attribute
The name of the group by attribute. The resulting collection will contain one ExampleSet for each unique instance of the attribute.
Sorting order
The sorting order for the resulting collection.
- none: The collection is not ordered in any specific way.
- alphabetical: The collection is ordered due to the natural order of the string representation of the values of the "group by attribute" parameter. In short 0-9A-Za-z. Be aware that strings are compared character-by-character, e.g. "A2" comes before "A11".
- numerical: The collection is ordered due to the numerical values of the group by attribute in the original ExampleSet. Be aware that the group by attribute has to be a numerical one. A user error is thrown if otherwise.
- occurrence: The collection is ordered due to the occurrences of the values of the group by attribute in the original ExampleSet.