Package adams.data.binning
Class BinnableInstances.StringAttributeGroupExtractor
- java.lang.Object
-
- adams.data.binning.BinnableInstances.StringAttributeGroupExtractor
-
- All Implemented Interfaces:
adams.data.binning.operation.Grouping.GroupExtractor<weka.core.Instance>
,Serializable
- Enclosing class:
- BinnableInstances
public static class BinnableInstances.StringAttributeGroupExtractor extends Object implements adams.data.binning.operation.Grouping.GroupExtractor<weka.core.Instance>, Serializable
Group extractor for string attributes.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StringAttributeGroupExtractor(int index, String regExp, String group)
Initializes the extractor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
extractGroup(adams.data.binning.Binnable<weka.core.Instance> item)
Extracts the group from the binnable object.
-
-
-
Method Detail
-
extractGroup
public String extractGroup(adams.data.binning.Binnable<weka.core.Instance> item)
Extracts the group from the binnable object.- Specified by:
extractGroup
in interfaceadams.data.binning.operation.Grouping.GroupExtractor<weka.core.Instance>
- Parameters:
item
- the item to extract the group from- Returns:
- the extracted group
-
-