code: function (gradient, updater) {
          this.logger = Logger.getLogger("LBFGS_js");
          var jvmObject;
          if (gradient instanceof org.apache.spark.mllib.optimization.LBFGS) {
              jvmObject = gradient;
          } else {
              jvmObject = new org.apache.spark.mllib.optimization.LBFGS(Utils.unwrapObject(gradient), Utils.unwrapObject(updater));
          }
  
          JavaWrapper.call(this, jvmObject);
  
      }
docs: Class used to solve an optimization problem using Limited-memory BFGS.
  Reference: http://en.wikipedia.org/wiki/Limited-memory_BFGS param: gradient
  Gradient function to be used. param: updater Updater to be used to update weights after every iteration.
  @class
  @memberof module:eclairjs/mllib/optimization
  @constructor
  @param {module:eclairjs/mllib/optimization.Gradient} gradient
  @param {module:eclairjs/mllib/optimization.Updater} updater