ml.shifu.guagua.example.kmeans
类 TaggedRecord

java.lang.Object
  继承者 ml.shifu.guagua.example.kmeans.TaggedRecord
所有已实现的接口:
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.

另请参见:
序列化表格

字段摘要
static int INVALID_TAG
           
 
构造方法摘要
TaggedRecord()
           
TaggedRecord(Double[] record)
           
TaggedRecord(Double[] record, int tag)
           
 
方法摘要
 Double[] getRecord()
           
 int getTag()
           
static void main(String[] args)
           
 void setRecord(Double[] record)
           
 void setTag(int tag)
           
 String toString()
           
 String toString(String separator)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

字段详细信息

INVALID_TAG

public static final int INVALID_TAG
另请参见:
常量字段值
构造方法详细信息

TaggedRecord

public TaggedRecord()

TaggedRecord

public TaggedRecord(Double[] record)

TaggedRecord

public TaggedRecord(Double[] record,
                    int tag)
方法详细信息

getRecord

public Double[] getRecord()

setRecord

public void setRecord(Double[] record)

getTag

public int getTag()

setTag

public void setTag(int tag)

toString

public String toString(String separator)

toString

public String toString()
覆盖:
Object 中的 toString

main

public static void main(String[] args)


Copyright © 2015. All Rights Reserved.