You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While working on #116, I noticed that the sub_sampling function of feta_network is broken. Its not exercised in our standard test-suite, since its only needed when the number of objects is higher than the 5 objects our testsuite uses.
@timokau The example you gave is for the choice function, for which the function is overridden in feta_choice.
For discrete choice, this function will produce an error and we need to implement it for discrete choice as well.
I think we are using it for ranking, or we can move it in the FetaObjectRanking class and we should think about the subsampling method for discrete choice.
While working on #116, I noticed that the
sub_sampling
function offeta_network
is broken. Its not exercised in our standard test-suite, since its only needed when the number of objects is higher than the 5 objects our testsuite uses.The function is implemented as follows:
and breaks at the
idx +=
line because of a dimension mismatch. It's trying to concatenate arrays likeand
i.e. a 2d array with a 1d array. I'm not sure how this sampling is supposed to work. Is the intention documented somewhere @kiudee @prithagupta?
The text was updated successfully, but these errors were encountered: