Skip to content
GitLab
    • Explore Projects Groups Topics Snippets
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • evalhyd-cpp evalhyd-cpp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

En prévision de l'arrivée de la forge institutionnelle INRAE, nous vous invitons à créer vos nouveaux projets sur la forge MIA.

  • HYCAR-HydroHYCAR-Hydro
  • evalhydevalhyd
  • evalhyd-cppevalhyd-cpp
  • Issues
  • #5
Something went wrong while setting issue due date.
Closed
Open
Issue created 2 years ago by Thibault Hallouin@thibault.hallouinOwner
  • New related issue

  • New related issue

fix spearman rank correlation calculation for KGENP and KGENP_D

Closed

fix spearman rank correlation calculation for KGENP and KGENP_D

As mentioned in https://github.com/xtensor-stack/xtensor/issues/2677, when the observations and/or predictions contain ties, the default (and fastest) C++ algorithm (std::sort) does not guarantee the order of equal elements, which results in different values for the spearman rank correlation component of the non-parametric version of KGE.

To fix this, the C++ algorithm (std::stable_sort) needs to be used instead, so that the order of equal elements is guaranteed. I have proposed a fix via a PR to xtensor (https://github.com/xtensor-stack/xtensor/pull/2681) that is awaiting approval. Until then, KGENP and KGENP_D will not be available (31cf8da5).

Edited 2 years ago by Thibault Hallouin

    Tasks

    0

    No tasks are currently assigned. Use tasks to break down this issue into smaller parts.

    Linked items
    0

    Link issues together to show that they're related. Learn more.

    Activity


    • Thibault Hallouin added BUG label 2 years ago

      added BUG label

    • Thibault Hallouin changed the description 2 years ago

      changed the description

    • Thibault Hallouin
      Thibault Hallouin @thibault.hallouin · 1 year ago
      Author Owner

      Stable sorting is now available in xtensor 0.24.7 https://github.com/xtensor-stack/xtensor/pull/2681

    • Thibault Hallouin mentioned in commit 85ecd375 1 year ago

      mentioned in commit 85ecd375

    • François Bourgin closed 1 year ago

      closed

    • François Bourgin mentioned in commit a4bc6aa7 1 year ago

      mentioned in commit a4bc6aa7

    Please register or sign in to reply
    0 Assignees
    None
    Assign to
    Labels
    0
    None
    0
    None
      Assign labels
    • Manage project labels

    Milestone
    No milestone
    None
    Due date
    None
    None
    None
    Time tracking
    No estimate or time spent
    Confidentiality
    Not confidential
    Not confidential

    You are going to turn on confidentiality. Only project members with at least the Reporter role, the author, and assignees can view or be notified about this issue.

    Lock issue
    Unlocked
    0
    0 Participants
    Reference:

    Menu

    Explore Projects Groups Topics Snippets