Physical activity recognition using a wearable accelerometer by