Device for recognizing an input pattern with approximate patterns used for reference patterns on mapping | Synapse