On the use of inertial sensors and machine learning for automatic recognition of fainting and epileptic seizure | IEEE Conference Publication | IEEE Xplore