Skip to content

Releases: LudvigOlsen/cvms

cvms 1.6.2

31 Jul 10:44
Compare
Choose a tag to compare
  • Fixes tests after changes to ggnewscale. Thanks @eliocamp for the PR.

cvms 1.6.1

27 Feb 22:30
Compare
Choose a tag to compare
  • plot_confusion_matrix() now shows total count when add_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

30 Jun 04:03
Compare
Choose a tag to compare

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

18 Jun 11:50
Compare
Choose a tag to compare

plot_confusion_matrix():

  • NEW: We created a Plot Confusion Matrix web application!
    It allows using plot_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, and intensity_beyond_lims
    arguments to sum_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 specified intensity_lims. Default is to truncate the intensities.

  • Fixes bug where arrow size was not taking add_sums into account.

cvms 1.4.1

11 Jun 08:13
Compare
Choose a tag to compare

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 the intensity_by argument.

  • Fixes bug when add_sums = TRUE and counts_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

05 Jun 05:23
Compare
Choose a tag to compare

NEW:

  • Launched an application for plotting a confusion matrix with no code. Available at Huggingface Spaces

Changes:

  • In plot_confusion_matrix(), adds sub_col argument for passing in text to replace
    the bottom text (counts by default).

  • In plot_confusion_matrix(), fixes direction of arrows when class_order is specified.

  • In update_hyperparameters(), allows hyperparameters argument to be NULL. Thanks @ggrothendieck for reporting the issue.

cvms 1.3.9

27 Jan 09:32
Compare
Choose a tag to compare
  • Minor test fix

cvms 1.3.8

19 Jan 07:25
Compare
Choose a tag to compare
  • In relevant contexts: Informs user once about the positive argument in evaluate() and cross_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 in set_metrics() after purrr v1.0.0 update.

cvms 1.3.7

24 Nov 11:03
Compare
Choose a tag to compare
  • Makes testing conditional on the availability of xpectr.
  • Fixes tidyselect-related warnings.

cvms 1.3.6

12 Oct 15:17
Compare
Choose a tag to compare