Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • HabitatSampler HabitatSampler
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Habitat SamplerHabitat Sampler
  • HabitatSamplerHabitatSampler
  • Issues
  • #22
Closed
Open
Issue created Jun 04, 2021 by Johannes Knoch@jknochMaintainer3 of 3 checklist items completed3/3 checklist items

Probability Map changes for better usability and correct user input calculation

Due to #20 (closed) I suggest changes in the way how the user gets presented the outcome of how many models predict a pixel to a certain class and how the threshold is entered and processed further to make sure the outcome is what the user intended.

  1. The user gets presented the absolute number of models, not the relative
  2. The user can type in the absolute number of models as threshold
  3. The user's input is processed correct and leads to the intended assignment
  4. Maybe a new name for the "probability map" would be nice, because now there aren't shown probabilities anymore

The following tasks need to be done for HaSa:

  • in plot_interactive.r

  • change the calculation of the raster image presented to the user

  • change the legend of the map for threshold selection

  • in outer_procedure.r

  • change the calculation of the threshold

After the changes were applied the assignment of pixels related to the threshold input is correct now every time.


The adjustment of the legend of the (probability) map was kind of tricky, because the values vary now. That's why there is a case distinction. The reason for that is, if there is a small number of models the legend contained decimal steps (which is wrong, because there are no "half models"), so whole number steps were implemented. That in turn led to very large legends if there is a large number of models.

Now the legend has a maximum of 10 entries.

The only small problem remaining is, that the maximum value (max. number of models) does not always appear in the legend due to automated creation. The max. number of models is printed out above the map, but it still could confuse unexperienced users.

Edited Jun 04, 2021 by Johannes Knoch
Assignee
Assign to
Time tracking