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()
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!