code: function(uid) {
          this.logger = Logger.getLogger("ml.evaluation.BinaryClassificationEvaluator_js");
          var jvmObject;
          if (uid) {
              if (uid instanceof org.apache.spark.ml.evaluation.BinaryClassificationEvaluator) {
                  jvmObject = uid;
              } else {
                  jvmObject = new org.apache.spark.ml.evaluation.BinaryClassificationEvaluator(uid);
              }
          } else {
              jvmObject = new org.apache.spark.ml.evaluation.BinaryClassificationEvaluator();
          }
          JavaWrapper.call(this, jvmObject);
  
      }
docs: var BinaryClassificationEvaluator = Java.type('org.apache.spark.ml.evaluation.BinaryClassificationEvaluator'); 
  @classdesc
  :: Experimental ::
  Evaluator for binary classification, which expects two input columns: rawPrediction and label.
  The rawPrediction column can be of type double (binary 0/1 prediction, or probability of label 1)
  or of type vector (length-2 vector of raw predictions, scores, or label probabilities).
  @class
  @memberof module:eclairjs/ml/evaluation
  @extends module:eclairjs/ml/evaluation.Evaluator
  @param {string} uid
  @constructor
  @function
  @name module:eclairjs/ml/evaluation.BinaryClassificationEvaluator#<init>