Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

fix weight mask calculation when using the remapper and no imputer #178

Merged
merged 2 commits into from
Dec 3, 2024

Conversation

sahahner
Copy link
Member

@sahahner sahahner commented Dec 3, 2024

Using the remapper without the imputer leads to an error as the code is trying to update the loss-function-scalar, which weights imputed NaN positions with zero. This updating should only take place if an imputer is used, otherwise, the weight-mask is of the wrong shape.

@sahahner sahahner added bug Something isn't working No approval needed No approval needed by ATS labels Dec 3, 2024
@sahahner sahahner requested a review from lzampier December 3, 2024 13:09
@sahahner sahahner self-assigned this Dec 3, 2024
@sahahner sahahner merged commit 65e9267 into develop Dec 3, 2024
119 checks passed
@sahahner sahahner deleted the fix/remapper-without-imputer branch December 3, 2024 16:22
@JPXKQX JPXKQX mentioned this pull request Dec 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working No approval needed No approval needed by ATS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants