code: function(uid) {
      	this.logger = Logger.getLogger("ml_classification_OneVsRest_js");
          var jvmObject;
          if (uid) {
              if (uid instanceof org.apache.spark.ml.classification.OneVsRest) {
                  jvmObject = uid;
              } else {
                  jvmObject = new org.apache.spark.ml.classification.OneVsRest(uid);
              }
          } else {
              jvmObject = new org.apache.spark.ml.classification.OneVsRest();
          }
          Estimator.call(this, jvmObject);
      }
docs: var OneVsRest = Java.type('org.apache.spark.ml.classification.OneVsRest'); 
  @classdesc
  Reduction of Multiclass Classification to Binary Classification.
  Performs reduction using one against all strategy.
  For a multiclass classification with k classes, train k models (one per class).
  Each example is scored against all k models and the model with highest score
  is picked to label the example.
  @class
  @memberof module:eclairjs/ml/classification
  @extends module:eclairjs/ml.Estimator
  @param {string} uid
  @constructor
  @function
  @name module:eclairjs/ml/classification.OneVsRest#<init>