subsets
subsets copied to clipboard
khot greater than 1
Hi, thanks for sharing the code!
I'm using the SubsetOperator
to sample k elements from n elements (k < n). However, I found khot > 1 for some scores. I wonder if this is the expected output. In the paper, it says each value in the k-hot vector should be within [0, 1].
As a follow up question, is there any methods that can give a relaxed khot vector within [0, 1]? I want to represent the unselected elements as 1 - khot but fail to do so if khot is greater than 1.
Sorry this is late - How much greater than 1 is it? It might just be a numerical issue that could be resolved by renormalizing.