Package ml.shifu.guagua.example.kmeans
Class TaggedRecord
- java.lang.Object
-
- ml.shifu.guagua.example.kmeans.TaggedRecord
-
- All Implemented Interfaces:
Serializable
public class TaggedRecord extends Object implements Serializable
Data records with tag. The tag is the index of the k categories range from 0 to k-1.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intINVALID_TAG
-
Constructor Summary
Constructors Constructor Description TaggedRecord()TaggedRecord(Double[] record)TaggedRecord(Double[] record, int tag)
-
-
-
Field Detail
-
INVALID_TAG
public static final int INVALID_TAG
- See Also:
- Constant Field Values
-
-