yardstick 1.0.0
-
All yardstick metrics now support case weights through the new
case_weights
argument. This also includes metric-adjacent functions likeroc_curve()
,
pr_curve()
,conf_mat()
, andmetric_set()
. -
The
options
argument ofroc_curve()
,roc_auc()
,roc_aunp()
,
roc_aunu()
, andmetrics()
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 tobase::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 whenbias = FALSE
. -
j_index()
now throws a more correct warning if0
is in the denominator
when computingsens()
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).