Skip to content

yardstick 1.0.0

Compare
Choose a tag to compare
@DavisVaughan DavisVaughan released this 06 Jun 20:37
d34ff72
  • All yardstick metrics now support case weights through the new case_weights
    argument. This also includes metric-adjacent functions like roc_curve(),
    pr_curve(), conf_mat(), and metric_set().

  • The options argument of roc_curve(), roc_auc(), roc_aunp(),
    roc_aunu(), and metrics() that was passed along to the pROC package is
    now deprecated and no longer has any affect. This is a result of changing to
    an ROC curve implementation that supports case weights, but does not support
    any of the previous options. If you need these options, we suggest wrapping
    pROC yourself in a custom metric (#296).

  • conf_mat() now ignores any inputs passed through ... and warns if you
    try to do such a thing. Previously, those were passed on to base::table(),
    but with the addition of case weight support, table() is no longer used
    (#295).

  • Fixed a small mistake in ccc() where the unbiased covariance wasn't being
    used when bias = FALSE.

  • j_index() now throws a more correct warning if 0 is in the denominator
    when computing sens() internally. Additionally, in the multiclass case it
    now removes the levels where this occurs from the multiclass weighted average
    computation, which is consistent with how other metrics were updated to handle
    this in #118 (#265).

  • Improved on some possible ambiguity in the documentation of the data
    argument for all metrics (#255).

  • purrr has been removed from Suggests.

  • The pROC package has been removed as a dependency (#300).

  • Moved the Custom Metrics vignette to tidymodels.org (#236).