toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AutoMLMetricEnum.accuracy:
      return 'Accuracy';
    case AutoMLMetricEnum.mse:
      return 'MSE';
    case AutoMLMetricEnum.f1:
      return 'F1';
    case AutoMLMetricEnum.f1macro:
      return 'F1macro';
    case AutoMLMetricEnum.auc:
      return 'AUC';
  }
}