toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case MLModelType.regression:
      return 'REGRESSION';
    case MLModelType.binary:
      return 'BINARY';
    case MLModelType.multiclass:
      return 'MULTICLASS';
  }
}