A match-based clustering neural network (MBCNN) for unsupervised pattern recognition is introduced. MBCNN is an extension of the adaptive Hamming net (AHN), which incorporates multiple-valued logic operations. AHN can only process binary-valued patterns, whereas MBCNN can process either multiple-valued or binary-valued patterns. In this paper, we connect AHN with MBCNN via the thermometer code. In addition, we also present a number of properties related to the learning process in MBCNN. In particular, an upper bound is derived for the number of list presentations required by an MBCNN to learn an arbitrary list of P-valued input patterns that is repeatedly presented to the architecture. Finally, a comparison between MBCNN and fuzzy ART is given.