dataclr.metrics#

dataclr.metrics.Metric#

Possible values:

For Regression Models:
  • "rmse": Root Mean Squared Error

  • "r2": Coefficient of determination

For Classification Models:
  • "accuracy"`: Accuracy score

  • "precision"`: Precision score

  • "recall"`: Recall score

  • "f1"`: F1 score

alias of Literal[‘rmse’, ‘r2’, ‘accuracy’, ‘precision’, ‘recall’, ‘f1’]

alias of Literal[‘rmse’, ‘r2’, ‘accuracy’, ‘precision’, ‘recall’, ‘f1’]