code: function(freqItemsets) {
          this.logger = Logger.getLogger("FPGrowthModel_js");
          var jvmObject;
          if (freqItemsets instanceof org.apache.spark.mllib.fpm.FPGrowthModel) {
              jvmObject = freqItemsets
          } else {
              jvmObject = new org.apache.spark.mllib.fpm.FPGrowthModel(freqItemsets);
          }
  
           JavaWrapper.call(this, jvmObject);
  
      }
docs: Model trained by {@link FPGrowth}, which holds frequent itemsets.
  @param freqItemsets frequent itemset, which is an RDD of {@link FreqItemset}
  @classdesc
   
  @param {module:eclairjs.RDD} freqItemsets
  @class
  @memberof module:eclairjs/mllib/fpm