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
Hi guys,
I find an Error when calculating the label frequency of class C(v)
The code is in the src/util.py line 111
the original code is: lf_train = (y_train.sum()-len(y_train))*y_train + len(y_train)
but i think it should be: lf_train = (2 * y_train.sum()-len(y_train))*y_train + len(y_train) - y_train.sum()
is that right?
thank you!
The text was updated successfully, but these errors were encountered:
Hi guys,
I find an Error when calculating the label frequency of class C(v)
The code is in the src/util.py line 111
the original code is:
lf_train = (y_train.sum()-len(y_train))*y_train + len(y_train)
but i think it should be:
lf_train = (2 * y_train.sum()-len(y_train))*y_train + len(y_train) - y_train.sum()
is that right?
thank you!
The text was updated successfully, but these errors were encountered: