Human activity recognition with inertial sensors using a deep learning approach