Memristor-Based HTM Spatial Pooler With On-Device Learning for Pattern Recognition | IEEE Journals & Magazine | IEEE Xplore