Should AsDiscrete be refactored in favour of clarity and generality? #3346
-
Hi, For the I am wondering if this transform should be simplified to be more clear and made more general/agnostic. Something like: AsDiscrete(argmax=False, onehot=None, threshold=None, round=None)
This way, the transform is agnostic toward the input data scale (logit/prob/other), and the user controls whether an operation occurs with a single argument, rather than two. I also think the documentation could be improved to make it clear that if multiple operations are requested that they are applied sequentially in the order of the arguments. What do you think? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @mattwarkentin , Thanks for your feedback, let me try to make it clear ASAP. |
Beta Was this translation helpful? Give feedback.
Hi @mattwarkentin ,
Thanks for your feedback, let me try to make it clear ASAP.