protected class SparseCrossProductFeatures.FeaturesMap
extends java.lang.Object
Constructor and Description |
---|
FeaturesMap() |
FeaturesMap(java.util.Map<java.lang.Integer,java.lang.Integer> featuresMap) |
Modifier and Type | Method and Description |
---|---|
SparseCrossProductFeatures.FeaturesMap |
copy() |
int |
getOrCreate(int from) |
void |
put(int from,
int to) |
public FeaturesMap()
public FeaturesMap(java.util.Map<java.lang.Integer,java.lang.Integer> featuresMap)
public void put(int from, int to)
public int getOrCreate(int from)
public SparseCrossProductFeatures.FeaturesMap copy()