public class FeatureFunctionsSparse extends java.lang.Object implements IFeatureFunctions
Constructor and Description |
---|
FeatureFunctionsSparse(int numOfClasses,
int maxNumFeatures)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Example |
convert(Example vector,
java.lang.String label,
IKernel kernel) |
int |
getSizeOfVector() |
public FeatureFunctionsSparse(int numOfClasses, int maxNumFeatures)
numOfClasses
- - the number target of classesmaxNumFeatures
- - the number of featurespublic Example convert(Example vector, java.lang.String label, IKernel kernel)
convert
in interface IFeatureFunctions
public int getSizeOfVector()
getSizeOfVector
in interface IFeatureFunctions