Skip to contents

mapac 0.32

  • Updated aa_stratified() to estimate macro-F1 and its standard error using stratified Taylor linearization, accounting for within-stratum covariance among class-specific F1 estimates.
  • Updated aa_stratified() to estimate class-specific F1 standard errors using the the stratified combined ratio estimator, accounting for within-stratum covariance between numerator and denominator.
  • Updated aa_card() to estimate macro-F1 and its standard error using stratified Taylor linearization, accounting for within-stratum covariance among class-specific F1 estimates.
  • Updated aa_card() to estimate class-specific F1 standard errors using the stratified combined ratio estimator, accounting for within-stratum covariance between numerator and denominator.
  • Added internal aa_f1_stratified() helper to estimate macro-F1 and its standard error from a stratified confusion matrix, accounting for covariance among class-specific F1 estimates.
  • Added internal aa_macro_f1_stratified() and aa_macro_f1_stratified_su() helper to estimate class-specific F1 scores and standard errors from a stratified confusion matrix using ratio linearization.
  • New aa_macro_f1() function with simple standard error estimation using error propagation, assuming class independence.
  • Updated aa_f1() to return a data.frame instead of a list to be consistent with aa_f1_stratified().

mapac 0.31

  • aa_gtable() Fix bug that prevents the conversion of zero values to “-” in the last two rows.

mapac 0.30

  • aa_card() sets negative UA standard errors to zero if the absolute value is less than the specified precision (se_precision = 1e-9) to avoid NA’s.

mapac 0.29

  • New aa_recode() to recode confusion matrices to a new classification scheme. aa_confusion_matrix_recode() is deprecated and removed.
  • New aa_lut() to create a lookup table from labeled vectors.

mapac 0.28

  • aa_flextable() and aa_gtable() add capitalization option.
  • aa_gtable() turns off cell colors with cell_colors = FALSE.
  • aa_word() exports and appends confusion matrices to new or existing Word document.
  • aa_card() uses argument h or named vector w to match stratum weights with the right classes.
  • aa_card() and aa_stratified() add new element “adjustment” to output. It is set to TRUE if weights were supplied.

mapac 0.27

  • aa_card() changed input arguments. Previously, it was possible to submit reference and map vectors with cbind(), which converts factors to characters not the way we want. This change breaks backwards compatibility.
  • aa_stratified() adds default values for h and N_h in. This assumes a proportional sampling design.

mapac 0.26

mapac 0.25

mapac 0.24

  • aa_card() adds F-1 score and associated standard errors.

mapac 0.23

mapac 0.21

  • rma() removed cancor and prediction accuracy scores form because they may be misinterpreted if rma is applied to predicted vs observed values.

mapac 0.20

  • New rma() function for reduced major axis regression.

mapac 0.12

mapac 0.11

mapac 0.10

mapac 0.09

mapac 0.08

  • aa_stratified() adds F-1 score and associated standard errors.
  • Add vignettes
  • Change to pkgdown documentation

mapac 0.07

  • aa_card() fixes bug that used Card formula even if olofsson==T. The bug only affected standard error etimates of the reference class proportions and the standard error of the overall accuracy. The differences are negligible.