code: function(k,assignments) {
          this.logger = Logger.getLogger("PowerIterationClusteringModel_js");
          var jvmObject;
          if (k instanceof org.apache.spark.mllib.clustering.PowerIterationClusteringModel) {
              jvmObject = k;
          } else {
              jvmObject = new org.apache.spark.mllib.clustering.PowerIterationClusteringModel(k,assignments);
          }
  
           JavaWrapper.call(this, jvmObject);
  
      }
docs: Model produced by {@link PowerIterationClustering}.
  
  @memberof module:eclairjs/mllib/clustering
  @classdesc
  @param {number} k number of clusters
  @param {module:eclairjs.RDD} assignments  an RDD of clustering [[PowerIterationClustering#Assignment]]s
  @class