toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ProblemType.binaryClassification:
      return 'BinaryClassification';
    case ProblemType.multiclassClassification:
      return 'MulticlassClassification';
    case ProblemType.regression:
      return 'Regression';
  }
}