Class KMeansMasterParams

  • All Implemented Interfaces:
    ml.shifu.guagua.io.Bytable

    public class KMeansMasterParams
    extends ml.shifu.guagua.io.HaltBytable
    KMeansMasterParams is the master results for KMeans distributed guagua application.

    Master result for each iteration is the new k center points after accumulating from all workers' result.

    • Constructor Detail

      • KMeansMasterParams

        public KMeansMasterParams()
    • Method Detail

      • doReadFields

        public void doReadFields​(DataInput in)
                          throws IOException
        Specified by:
        doReadFields in class ml.shifu.guagua.io.HaltBytable
        Throws:
        IOException
      • getK

        public int getK()
      • setK

        public void setK​(int k)
      • getC

        public int getC()
      • setC

        public void setC​(int c)
      • getPointList

        public List<double[]> getPointList()
      • setPointList

        public void setPointList​(List<double[]> pointList)