An analysis of discriminatory mechanisms in frequency-weighted memory array pattern classifiers