200 likes | 303 Vues
This study explores using acceleration measurements for effective activity recognition through neural classifiers. The research focuses on the proposed method utilizing accelerometers on the dominant wrist and neural networks for classification. The strategy involves pre-classifiers, static or dynamic classifiers, and extracting features for accurate activity recognition. Experimentation with different activities and subjects resulted in a successful recognition rate of 95%. The methodology includes preprocessing acceleration data, selecting features, and verifying the recognition process through cross-validation. Neural classifiers, particularly the proposed dynamic classifier, showed promising results with computational efficiency. The study presents a comprehensive overview of the neural network approach to activity recognition utilizing accelerometer data.
E N D
Dynamic Time Warping and Neural Network J.-Y. Yang, J.-S. Wang and Y.-P. Chena,Using acceleration measurements for activity recognition: An effective learning algorithm for constructing neural classifiersPattern Recognition Letters, vol. 29, no. 16, pp. 2213-2220, 2008. Spring Semester, 2010
Outline • Background • Activity Recognition Strategy • Experiments • Summary
Background • Accelerometers can be used as a human motion detector and monitoring device • Biomedical engineering, medical nursing, interactive entertainment, … • Exercise intensity /distance, sleep cycle, and calorie consumption
Background Proposed Method Overview • One 3-D accelerometer on the dominant wrist • NNs • Pre-classifier static classifier or dynamic classifier • Eight domestic activities • Standing, sitting, walking, running, vacuuming, scrubbing, brushing teeth, and working at a computer
Background Neural Classifier • Neurons in the Brain • A neuron receives input from other neurons (generally thousands) from its synapses • Inputs are approximately summed • When the input exceeds a threshold the neuron sends an electrical spike that travels from the body, down the axon, to the next neuron(s)
Background Neurons in the Brain (cont.) • Amount of signal passing through a neuron depends on: • Intensity of signal from feeding neurons • Their synaptic strengths • Threshold of the receiving neuron • Hebb rule (plays key part in learning) • A synapse which repeatedly triggers the activation of a postsynaptic neuron will grow in strength, others will gradually weaken • Learn by adjusting magnitudes of synapses’ strengths
Background Artificial Neurons y g( ) ∑w.x w1 w3 w2 x3 x1 x2
Background Neural Classifier (Perceptron) • Structure • Learning • Weights are changed in proportion to the difference (error) between target output and perceptron solution for each example • Back-propagation algorithm • The gradient descent method, Slow convergence and local minima • The resilient back-propagation (RPROP) • Ignore the magnitude of the gradient
Activity Recognition Strategy • Pre-Classifier • Static/Dynamic Classifier
Activity Recognition Strategy Pre-Classifier (1/2) • Two components of the acceleration data • Gravitational acceleration (GA) • Body acceleration (BA): High-pass filtering to remove GA • Segmentation with overlapping windows • 512 samples per window
Activity Recognition Strategy Pre-Classifier (2/2) • SMA (Signal Magnitude Area) • The sum of acceleration magnitude over three axes • AE (Average Energy) • Average of the energy over three axes • Energy: The sum of the squared discrete FFT component magnitudes of the signal in a window
Activity Recognition Strategy Feature Extraction • 8 attributes × 3axis = 24 features • Mean, correlation between axes, energy, interquartile range (IQR), mean absolute deviation, root mean square, standard deviation, variance
Activity Recognition Strategy Feature Selection (1/2) • Common principalcomponent analysis (CPCA) • If features are highlycorrelated,the corresponding vectorsare similar clustering to group similar loadings
Activity Recognition Strategy Feature Selection (2/2) • Apply the PCA • Select the first p PCs (cumulative sum>90%) • Estimate CPC • Support vector clustering
Activity Recognition Strategy Verification
Experiments: Environment (1/2) • MMA7260Q tri-axial accelerometer • Sensitivity: -4.0g ~ +4.0g, 100Hz • Mount on the dominant wrist • Eight activities from seven subjects • Standing, sitting, walking,running, vacuuming,scrubbing, brushing teeth,and working at a computer • 2min per activity
Experiments Environment (2/2) • Window size = 512 (with 256 overlapping) • 22 windows in one min., 45 windows in two min. • Leave-one-subject-out cross-validation • Training: 1min per activity = 22 windows × 8 activities× 6 subjects • Test: 2min per activity = 45 windows × 8 activities
Experiments FSS Evaluation • Use six static selected features
Experiments Recognition Result • NN • Hidden node • Pre-classifier: 3 • Static-classifier: 5 • Dynamic-classifier: 7 • Epochs: 500 • Computational load of FSS • Training without FSS = 7.457s, training with FSS = 8.46s
Summary • Proposed method yielded 95% accuracy • Pre-classifier static / dynamic classifiers • Author’s other publication • Yen-Ping Chen, Jhun-Ying Yang, Shun-Nan Liou, Gwo-Yun Lee, Jeen-Shing Wang: Online classifier construction algorithm for human activity detection using a tri-axial accelerometer. • Applied Mathematics and Computation 205(2): 849-860 (2008)