Class MultiValueBinaryzationTransformer
- java.lang.Object
-
- ai.libs.jaicore.ml.core.dataset.attribute.transformer.multivalue.MultiValueBinaryzationTransformer
-
- All Implemented Interfaces:
ISingleAttributeTransformer
public class MultiValueBinaryzationTransformer extends java.lang.Object implements ISingleAttributeTransformer
Transforms a multi-valued feature into a 0/1 Vector, where each dimension represents one of the values, i.e. 1 in one dimension => the feature contains this value, 0 in one dimension => the feature does not contain this value.
-
-
Constructor Summary
Constructors Constructor Description MultiValueBinaryzationTransformer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double[]transformAttribute(IAttributeValue<?> attributeToTransform)
-
-
-
Method Detail
-
transformAttribute
public double[] transformAttribute(IAttributeValue<?> attributeToTransform)
- Specified by:
transformAttributein interfaceISingleAttributeTransformer
-
-