Syncope is a medical condition resulting in the spontaneous transient loss of consciousness and postural tone with spontaneous recovery. The diagnosis of syncope is a challenging task, as similar types of symptoms are observed in seizures, vertigo, stroke, coma, etc. The advent of Healthcare 4.0, which facilitates the usage of artificial intelligence and big data, has been widely used for diagnosing various diseases based on past historical data. In this paper, classification-based machine learning is used to diagnose syncope based on data collected through a head-up tilt test carried out in a purely clinical setting. This work is concerned with the use of classification techniques for diagnosing neurally mediated syncope triggered by a number of neurocardiogenic or cardiac-related factors. Experimental results show the effectiveness of using classification-based machine learning techniques for an early diagnosis and proactive treatment of neurally mediated syncope.