This list details the bugs found in buggy_oddball.py
.
For the correct version, see oddball.py
.
normalize_distance_parameters()
- Incorrect weights normalization, should be divided by
sum()
rather thanmean()
. - The function returns only
weights
, instead ofdistances, weights
. - The expression: