Activity, Audio, Indoor/Outdoor classification using cell phones Hong Lu, Xiao Zheng Emiliano Miluzzo, Nicholas Lane CS 185 Final Project presentation.

Slides:



Advertisements
Similar presentations
Darwin Phones: the Evolution of Sensing and Inference on Mobile Phones Emiliano Miluzzo *, Cory T. Cornelius *, Ashwin Ramaswamy *, Tanzeem Choudhury *,
Advertisements

Component Analysis (Review)
IODetector: A Generic Service for Indoor Outdoor Detection Pengfei Zhou†, Yuanqing Zheng†, Zhenjiang Li†, Mo Li†, and Guobin Shen‡ †Nanyang Technological.
Using Mobile Phones to Determine Transportation Modes Hyeong-il Ko Sasank Reddy et al., ACM Transactions on Sensor Networks, Vol. 6, No. 2,
FTP Biostatistics II Model parameter estimations: Confronting models with measurements.
Detection of Deviant Behavior From Agent Traces Boštjan Kaluža Department of Intelligent Systems, Jožef Stefan Institute Jozef Stefan Institute Jožef Stefan.
Regression Analysis Once a linear relationship is defined, the independent variable can be used to forecast the dependent variable. Y ^ = bo + bX bo is.
THE JIGSAW CONTINUOUS SENSING ENGINE FOR MOBILE PHONE APPLICATIONS Hong Lu,† Jun Yang,! Zhigang Liu,! Nicholas D. Lane,† Tanzeem Choudhury,† Andrew T.
D u k e S y s t e m s Sensing Meets Mobile Social Networks: The Design, Implementation and Evaluation of the CenceMe Application Emiliano Miluzzo†, Nicholas.
DARWIN PHONES: THE EVOLUTION OF SENSING AND INFERENCE ON MOBILE PHONES PRESENTED BY: BRANDON OCHS Emiliano Miluzzo, Cory T. Cornelius, Ashwin Ramaswamy,
ACCURACY CHARACTERIZATION FOR METROPOLITAN-SCALE WI-FI LOCALIZATION Presented by Jack Li March 5, 2009.
SurroundSense: Mobile Phone Localization via Ambience Fingerprinting Written by Martin Azizyan, Ionut Constandache, & Romit Choudhury Presented by Craig.
LYU0103 Speech Recognition Techniques for Digital Video Library Supervisor : Prof Michael R. Lyu Students: Gao Zheng Hong Lei Mo.
BA 555 Practical Business Analysis
SENSING MEETS MOBILE SOCIAL NETWORKS: THE DESIGN, IMPLEMENTATION AND EVALUATION OF THE CENCEME APPLICATION Emiliano Miluzzo†, Nicholas D. Lane†, Kristóf.
Distributed Microsystems Laboratory: Developing Microsystems that Make Sense Sensor Validation Techniques Sponsoring Agency: Center for Process Analytical.
Statistical Methods Chichang Jou Tamkang University.
A Practical Approach to Recognizing Physical Activities Jonathan Lester Tanzeem Choudhury Gaetano Borriello.
CSE803 Fall Pattern Recognition Concepts Chapter 4: Shapiro and Stockman How should objects be represented? Algorithms for recognition/matching.
Distinguishing Photographic Images and Photorealistic Computer Graphics Using Visual Vocabulary on Local Image Edges Rong Zhang,Rand-Ding Wang, and Tian-Tsong.
Regression Chapter 10 Understandable Statistics Ninth Edition By Brase and Brase Prepared by Yixun Shi Bloomsburg University of Pennsylvania.
Stockman CSE803 Fall Pattern Recognition Concepts Chapter 4: Shapiro and Stockman How should objects be represented? Algorithms for recognition/matching.
1 BA 555 Practical Business Analysis Review of Statistics Confidence Interval Estimation Hypothesis Testing Linear Regression Analysis Introduction Case.
Correlation and Regression Analysis
CS 485/685 Computer Vision Face Recognition Using Principal Components Analysis (PCA) M. Turk, A. Pentland, "Eigenfaces for Recognition", Journal of Cognitive.
Rutgers: Gayathri Chandrasekaran, Tam Vu, Marco Gruteser, Rich Martin,
EE513 Audio Signals and Systems Statistical Pattern Classification Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
1 Doing Statistics for Business Doing Statistics for Business Data, Inference, and Decision Making Marilyn K. Pelosi Theresa M. Sandifer Chapter 11 Regression.
SoundSense: Scalable Sound Sensing for People-Centric Application on Mobile Phones Hon Lu, Wei Pan, Nocholas D. lane, Tanzeem Choudhury and Andrew T. Campbell.
Sensing Meets Mobile Social Networks: The Design, Implementation and Evaluation of the CenceMe Application Emiliano Miluzzo†, Nicholas D. Lane†, Kristóf.
Inference for regression - Simple linear regression
Summarized by Soo-Jin Kim
Design, Implementation and Evaluation of CenceMe Application COSC7388 – Advanced Distributed Computing Presentation By Sushil Joshi.
SoundSense by Andrius Andrijauskas. Introduction  Today’s mobile phones come with various embedded sensors such as GPS, WiFi, compass, etc.  Arguably,
ECSE 6610 Pattern Recognition Professor Qiang Ji Spring, 2011.
July 25, 2010 SensorKDD Activity Recognition Using Cell Phone Accelerometers Jennifer Kwapisz, Gary Weiss, Samuel Moore Department of Computer &
U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 2011 Predicting Solar Generation from Weather Forecasts Using Machine Learning Navin.
BIOSTAT - 2 The final averages for the last 200 students who took this course are Are you worried?
TEMPLATE DESIGN © Detecting User Activities Using the Accelerometer on Android Smartphones Sauvik Das, Supervisor: Adrian.
Element 2: Discuss basic computational intelligence methods.
1 1 Slide © 2004 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 Pattern Recognition Concepts How should objects be represented? Algorithms for recognition/matching * nearest neighbors * decision tree * decision functions.
REVISED CONTEXTUAL LRT FOR VOICE ACTIVITY DETECTION Javier Ram’ırez, Jos’e C. Segura and J.M. G’orriz Dept. of Signal Theory Networking and Communications.
Human Activity Recognition Using Accelerometer on Smartphones
Abstract: Accelerometers As part of the smartphone philosophy, every phone has a wide variety of sensors available to the user. Sensors include light and.
ECE 8443 – Pattern Recognition LECTURE 10: HETEROSCEDASTIC LINEAR DISCRIMINANT ANALYSIS AND INDEPENDENT COMPONENT ANALYSIS Objectives: Generalization of.
Nicholas D. Lane, Hong Lu, Shane B. Eisenman, and Andrew T. Campbell Presenter: Pete Clements Cooperative Techniques Supporting Sensor- based People-centric.
Audio Location Accurate Low-Cost Location Sensing James Scott Intel Research Cambridge Boris Dragovic Intern in 2004 at Intel Research Cambridge Studying.
Scatterplots & Regression Week 3 Lecture MG461 Dr. Meredith Rolfe.
ECE 8443 – Pattern Recognition LECTURE 08: DIMENSIONALITY, PRINCIPAL COMPONENTS ANALYSIS Objectives: Data Considerations Computational Complexity Overfitting.
11/23/2015Slide 1 Using a combination of tables and plots from SPSS plus spreadsheets from Excel, we will show the linkage between correlation and linear.
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
V Bandi and R Lahdelma 1 Forecasting. V Bandi and R Lahdelma 2 Forecasting? Decision-making deals with future problems -Thus data describing future must.
Chapter 20 Classification and Estimation Classification – Feature selection Good feature have four characteristics: –Discrimination. Features.
Sensing Meets Mobile Social Networks: The Design, Implementation and Evaluation of the CenceMe Application Emiliano Miluzzo†, Nicholas D. Lane†, Kristóf.
ECE 8443 – Pattern Recognition ECE 8527 – Introduction to Machine Learning and Pattern Recognition LECTURE 12: Advanced Discriminant Analysis Objectives:
I Am the Antenna Accurate Outdoor AP Location Using Smartphones Zengbin Zhang†, Xia Zhou†, Weile Zhang†§, Yuanyang Zhang†, Gang Wang†, Ben Y. Zhao† and.
Feature Selection and Extraction Michael J. Watts
Pocket, Bag, Hand, etc. - Automatically Detecting Phone Context through Discovery Emiliano Miluzzoy, Michela Papandreax, Nicholas D. Laney, Hong Luy, Andrew.
Predictive Analytics derived from HVAC and PMU data at UCSD Chuck Wells Industry Principal OSIsoft, LLC 1.
Supervised Time Series Pattern Discovery through Local Importance
Chapter 2 Simple Comparative Experiments
Walking Speed Detection from 5G Prototype System
Machine Learning Basics
Vijay Srinivasan Thomas Phan
Chao Xu, Parth H. Pathak, et al. HotMobile’15
Word Embedding Word2Vec.
Unit XI: Data Analysis in nursing research
Feature Selection Methods
Marios Mattheakis and Pavlos Protopapas
Presentation transcript:

Activity, Audio, Indoor/Outdoor classification using cell phones Hong Lu, Xiao Zheng Emiliano Miluzzo, Nicholas Lane CS 185 Final Project presentation

Outline Motivation Results Conclusion Future work Demo

Motivation In our lab we are working on a project where we use sensors to determine the sensing presence of people, i.e.: –Activity –Audio analysis –Location (Indoor/Outdoor)‏ We are interested in using off-the-shelf devices like cell phones (with the camera, microphone, and accelerometer)‏

Requirements The activity and audio inference must be done on the phone (to improve scalability and limit the amount of bytes sent over the air)‏ Downside: limited hardware (computation resources) and software (programmability) capabilities

Let’s start with sound

Experimental methodology Over a period of one week we collected 250 audio samples of conversations and 250 audio samples w/out conversation 8 (>) people involved in different conversation settings The phone used to collect the samples was placed at different places (inside/outside pocket) and at different distances from the audio source The samples w/out conversation are taken indoors (office environment), outdoor in a quite location, and outdoor on the sidewalk (to catch the sound of cars, etc.)‏

Observing the FFT Conversation No Conversation

Sound feature vector We focus on the 250 – 750 Hz portion of the spectrum We focus on the –Mean: because we see that the power differs in the 2 cases in this portion of the spectrum –Std Dev: we also see that the power oscillates more in the conversation case than in the no conversation case

Mean and Std dev

Mean and Std dev distribution

Total Error

ROC curves

Misclassification = 31%Misclassification = 28.4% K-meansDiscriminant analysis

Now location…

Problem Detecting when the cell phone is indoor or outdoors. Use the limited sensing capabilities of the phone. Why try to do this? 1.Health Sensing Simple less accurate UV and pollution exposure with value in the potential for wide spread sampling 2.Context-dependant sensing queries Indoor/outdoor classification is one useful criteria of describing conditions when (and when not) sense. 3.It seemed interesting to try

Intuition of an approach Sensor values will exhibit different characteristics depending on if the phone is indoors or outdoors. A key problem == Limited Sensors Available: –Different sensors would have made this simpler –Available: WiFi, GPS, Sound, Camera, GPRS etc. We tried feature vectors formed by using: –GPS + Radio Patterns (from WiFi) Various features tried that were based on: –WiFi AP Counting (assumption: lower density outdoors vs indoors) –Sum of WiFi AP Neighborhood RSS (assumption: lower signal strengths seen outdoors) –GPS Satellite Signal Lock (assumption: signal lock, which is effected by LOS issues, will occur less often indoors than outside)

Hope from weak discriminators? KEY: GREEN == OUTDOORSBLUE == INDOORS Data Set: 1 user, 2,000 data points collected; 1 sample per minute. Sampling WiFi and GPS based measurements.

Groping for a model  Technique Used: Logistic regression  Tested many variants of the inputs to find effective feature vectors.  Windowed Variables – [RSS Sum, AP Count, GPS Flag]  Variance of Windowed Variables – [RSS Sum, AP Count, GPS Flag]  Multiple variants of model inputs failed to provide sufficient discriminative power.  ANOVA test showed little reduction in deviance.  We favored a simpler model over the complex one.  Checked that normal distribution existed in feature vectors

The Model classifier_label_param ~ ap_count + gps + rss_sum (Intercept) ap_count gps rss_sum Significance of the co-efficients? (Are they really different from zero?) ap_count < 2e-16 *** gps ** rss_sum < 2e-16 ***

Kicking the tires of the model

Empirical performance  dubious hypothesis  results not impressive but interesting  focused on other parts. Mini-conclusion OutdoorIndoor Outdoor Indoor Accuracy 85.6%

Now activity…

Data collection 3-axis accelerometer embedded in the Nokia Sport Phone (in the future many phones will have an accelerometer)‏ Sampling rate = 37Hz The phone can be clipped on the belt or carried inside the pocket Data labeled by the user

The raw data X-axis – BLUE Y-axis – GREEN Z-axis – RED From the 3 axis of the accelerometer

Feature Extraction Simply the mean and standard deviation of each axis Window size = 128 data points Lightweight for running on the phone

PCA Use centerized PCA to get principal component projection matrix: Each column contains the coefficients for one principal component. The columns are sorted by decreasing component variance

The 2 dimensional example Use the first 2 components, leave out the others.

Conclusion We wanted to do more than we could do Collecting the data took long time Programming the phones can be challenging The phone’s hardware and software platform limit the applicability of off-the- shelf data mining techniques

Now the demo!!!

Future work Increase the number of activities we can detect (including sitting, cycling, climbing stairs, etc)‏ Augment the audio classifier to be able to do speaker recognition, party detection, type of noise (car, wind, etc)‏ Use the cell phone’s camera and light detector to make the outdoor/indoor classifier more robust

Thank you!