L1
- Type of labels before mapping.L2
- Type of labels after mapping.public interface DatasetMapping<L1,L2>
Modifier and Type | Method and Description |
---|---|
default Vector |
mapFeatures(Vector v)
Method used to map feature vectors.
|
L2 |
mapLabels(L1 lbl)
Method used to map labels.
|
static <L> DatasetMapping<L,L> |
mappingFeatures(IgniteFunction<Vector,Vector> mapper)
Dataset mapping which maps features, leaving labels unaffected.
|
default Vector mapFeatures(Vector v)
v
- Feature vector.L2 mapLabels(L1 lbl)
lbl
- Label.static <L> DatasetMapping<L,L> mappingFeatures(IgniteFunction<Vector,Vector> mapper)
L
- Type of labels.mapper
- Function used to map features.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024