Skip to content

Fixed bug in remapping labels for classification

Johannes Michael Wagner requested to merge jmwagner/salt:jmw464_remap_fix into main

Description

In the current version of salt, remapping does not work in the most general case (e.g. the code will map all labels in the mapping { -1: 0, 0: 1, 1: 2 } to 2). This fixes the issue.

Review checklist:

  • CI Passing
  • Comments addressed
  • Source branch is up to date with target

Merge request reports