code: function () {
          this.logger = Logger.getLogger("Gradient_js");
          var jvmObject;
          if (arguments[0] instanceof org.apache.spark.mllib.optimization.Gradient) {
              jvmObject = arguments[0];
          } else {
              jvmObject = new org.apache.spark.mllib.optimization.Gradient();
          }
  
          JavaWrapper.call(this, jvmObject);
  
      }
docs: Class used to compute the gradient for a loss function, given a single data point.
  @class
  @memberof module:eclairjs/mllib/optimization
  @constructor