Releases: LudvigOlsen/cvms
cvms 1.6.2
- Fixes tests after changes to
ggnewscale
. Thanks @eliocamp for the PR.
cvms 1.6.1
-
plot_confusion_matrix()
now shows total count whenadd_normalized=FALSE
. Thanks @JianWang2016 for reporting the issue. -
Makes it more clear in the documentation that the
Balanced Accuracy
metric in multiclass classification is the macro-averaged metric, not the average recall metric that is sometimes used. -
Removes defunct tests after
ggplot2
update.
cvms 1.6.0
plot_confusion_matrix()
:
-
Breaking: Adds slight 3D tile effect to help separate tiles with the same count.
Not tested in all many-class scenarios. -
Fixes image sizing (arrows and zero-shading) when there are different
numbers of unique classes in targets and predictions. -
Fixes bug with
class_order
argument when there are different
numbers of unique classes in targets and predictions.
cvms 1.5.0
plot_confusion_matrix()
:
-
NEW: We created a Plot Confusion Matrix web application!
It allows usingplot_confusion_matrix()
without code. Select from multiple
design templates or make your own. -
For
(palette=, sums_settings(palette=))
arguments, tile color
palettes can now be a custom gradient. Simply supply a named list with hex
colors for "low" and "high" (e.g.list("low"="#B1F9E8", "high"="#239895")
). -
Adds
intensity_by
,intensity_lims
, andintensity_beyond_lims
arguments tosum_tile_settings()
to allow setting them separately
for sum tiles. -
Adds
intensity_lims
argument which allows setting a custom
range for the tile color intensities. Makes it easier to
compare plots for different prediction sets. -
Adds
intensity_beyond_lims
for specifying how to handle counts / percentages
outside the specifiedintensity_lims
. Default is to truncate the intensities. -
Fixes bug where arrow size was not taking
add_sums
into account.
cvms 1.4.1
plot_confusion_matrix()
:
-
Adds option to set
intensity_by
to a log/arcsinh transformed version of the counts.
This adds the options"log counts"
,"log2 counts"
,"log10 counts"
,"arcsinh counts"
to theintensity_by
argument. -
Fixes bug when
add_sums = TRUE
andcounts_on_top = TRUE
. -
Raises error for negative counts.
-
Fixes zero-division when all counts are 0.
-
Sets palette colors to lowest value when all counts are 0.
cvms 1.4.0
NEW:
- Launched an application for plotting a confusion matrix with no code. Available at Huggingface Spaces
Changes:
-
In
plot_confusion_matrix()
, addssub_col
argument for passing in text to replace
the bottom text (counts
by default). -
In
plot_confusion_matrix()
, fixes direction of arrows whenclass_order
is specified. -
In
update_hyperparameters()
, allowshyperparameters
argument to beNULL
. Thanks @ggrothendieck for reporting the issue.
cvms 1.3.9
- Minor test fix
cvms 1.3.8
-
In relevant contexts: Informs user once about the
positive
argument inevaluate()
andcross_validate*()
not affecting the interpretation of probabilities. I, myself, had forgotten about this in a project, so seems useful to remind us all about :-) -
Fixes usage of the
"all"
name inset_metrics()
afterpurrr v1.0.0
update.
cvms 1.3.7
- Makes testing conditional on the availability of
xpectr
. - Fixes
tidyselect
-related warnings.
cvms 1.3.6
- Prepares for
parameters 0.19.0
. Thanks to @strengejacke.