public class SparseOneHotEncoder
extends java.lang.Object
Constructor and Description |
---|
SparseOneHotEncoder(smile.data.Attribute[] attributes)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int[] |
feature(double[] x)
Generates the compact representation of sparse binary features for given object.
|