An Efficient Technique for Real-Time Human Activity Classification Using Accelerometer Data