code: function (uid) {
          this.logger = Logger.getLogger("ml/regression/AFTSurvivalRegression_js");
          var jvmObject;
          if (arguments.length > 0) {
              if (arguments[0] instanceof org.apache.spark.ml.regression.AFTSurvivalRegression) {
                  jvmObject = arguments[0];
              } else {
                  jvmObject = new org.apache.spark.ml.regression.AFTSurvivalRegression(uid);
              }
          } else {
              jvmObject = new org.apache.spark.ml.regression.AFTSurvivalRegression();
          }
  
          JavaWrapper.call(this, jvmObject);
  
      }
docs: :: Experimental ::
  Fit a parametric survival regression model named accelerated failure time (AFT) model
  ([[https://en.wikipedia.org/wiki/Accelerated_failure_time_model]])
  based on the Weibull distribution of the survival time.
  @classdesc
  
  @param {string} [uid] An immutable unique ID for the object and its derivatives.
  @class
  @memberof module:eclairjs/ml/regression