public class Nominal2SparseBinary extends Object
Constructor and Description |
---|
Nominal2SparseBinary(Attribute[] attributes)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int[] |
f(double[] object)
Generates the compact representation of sparse binary features for given object.
|
public Nominal2SparseBinary(Attribute[] attributes)
attributes
- the variable attributes. All of them have to be
nominal attributes.Copyright © 2015. All rights reserved.