vectorize some of the inner loops.
jason-neal opened this issue · comments
Try perform the chi square analysis in vectorized form.
Can probably do 3 or 4 dimensions at once.
This is done in models/broadcasted_models.py
sp chisquare is faster than my chisquare . both work in many dimensions. jsut need to specify to calculate over axis=0