Cognitive communication model perform the investigation and surveillance of spectrum in cognitive radio networks abetment in advertent primary users (PUs) and in turn help in allocation of transmission space for secondary users (SUs). In effective performance of regulation of wireless channel handover strategy in cognitive computing systems, new computing models are desired in operating set of tasks to process business model, and interact naturally with humans or machine rather being programmed. Cognitive wireless network are trained via artificial intelligence (AI) and machine learning (ML) algorithms for dynamic processing of spectrum handovers. They assist human experts in making enhanced decisions by penetrating into the complexity of the handovers. This paper focuses on learning and reasoning features of cognitive radio (CR) by analyzing primary user (PU) and secondary user (SU) data communication using home location register (HLR) and visitor location register (VLR) database respectively. The SpecPSO is proposed for optimizing handovers using supervised machine learning technique for performing dynamic handover by adapting to the environment and make smart decisions compared to the traditional cooperative spectrum sensing (CSS) techniques.