Open aks43725 opened 2 years ago
that was weired since basically all these methods are calling some operation with axis 1 using np
return np.mean(scores, axis=1).ravel()
That's what I thought as well, but somehow I got some weird results earlier. I'll see if I can reproduce the weird results (which should be provided with the issue posting... sorry about that).
On Tue, Mar 8, 2022, 17:28 Yue Zhao @.***> wrote:
that was weired since basically all these methods are calling some operation with axis 1 using np return np.mean(scores, axis=1).ravel()
— Reply to this email directly, view it on GitHub https://github.com/yzhao062/combo/issues/14#issuecomment-1062283676, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGXFARI22VWFVACRUIHRBI3U67IADANCNFSM5QG7BTRQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
combo.models.score_comb.median()
only work properly with pd.DataFrame as inputX
, which seems to compute the medians over columns rather than rows (asaxis=1
works differently for np.ndarray and pd.DataFrame).As far as I know,
average()
andmaximization()
don't have such problem, but I haven't triedaom()
normoa()
yet.