public MultilabelResult(int[][] goldstandard,double[][] predictions,String bipartitionThreshold) throws TextClassificationException {
  this.actuals=goldstandard;
  this.predictions=predictions;
  try {
    this.bipartitionThreshold=Double.parseDouble(bipartitionThreshold);
  }
 catch (  NumberFormatException e) {
    throw new TextClassificationException("Currenty, only one global bipartition threshold value is supported. Please set a double as threshold.");
  }
}

public MultilabelResult ( int [ ] [ ] goldstandard , double [ ] [ ] predictions , String bipartitionThreshold ) throws TextClassificationException { this . actuals = goldstandard ; this . predictions = predictions ; try { this . bipartitionThreshold = Double . parseDouble ( bipartitionThreshold ) ; } catch ( NumberFormatException e ) { throw new TextClassificationException ( "Currenty, only one global bipartition threshold value is supported. Please set a double as threshold." ) ; } }
wrapper for classification result from multi - label classification .
