SlideShare a Scribd company logo
1 of 22
An Automated Prompting System for
Smart Environments
Barnan Das, Chao Chen, Adriana M. Seelye, Diane J. Cook

Presented by:

Barnan Das
Center for Advanced Studies in Adaptive Systems (CASAS)
Washington State University
June 21, 2011
By 2030, 20% of US population
will be >65 years of age

2
Avg. cost of skilled nursing home
care: ~$70,000/person/year.

3
Innovative health care technology can
help sustain independent lifestyle.
4
“Prompting Systems”

5
The Problem
Please turn off the burner.
Sugar is in the cupboard.

Its time to take medicine.

You look tired, why don’t you take a nap.
Automatic delivery of verbal or non-verbal interventions
that would help a smart home inhabitant in successful
Its John’s birthday, you wanna write a card?
completion of daily tasks.

Sam is trying to get in touch with you.

Please take a look at the Wattage of the light bulb.

You just picked up the wrong vessel.
Its time to take medicine.

Sam is trying to get in touch with you.
Sugar is in the cupboard.

It would be a good idea to take a walk.

6
Our Solution
Prompting Users and
Control Kiosk

Under development at
CASAS, WSU

PUCK
Automated Prompting
System

Based on Supervised
Learning

7
System Architecture

Figure 1: System Architecture of PUCK

8
Experimental Setup
• Testbed: 2 story apartment in WSU campus
• Sensors: Motion, door, object, temperature, power
• Participants: 128 older adults with mild cognitive disorder
• Activities: Sweeping, Medication, Writing birthday card, Watching
DVD, Water plants, Phone call, Cooking, Selecting outfit
• Activities are subdivided into steps.
• Activities monitored via web cam. Experimenter remotely plays
(in)direct audio/video cues when an error is detected.
• Human annotators annotate datasets for activities and activity steps.
9
Feature Generation
Feature #

Feature Name

Description

•1Generate features Length of the step in time (seconds) activity as an instance
considering each step of an
stepLength
in the training dataset.
2
numSensors
Number of unique sensors involved with the step
3

numEvents

Number of sensor events associated with the step

4

prevStep

Previous step

5

nextStep

Next step

6

timeActBegin

Time (seconds) elapsed since the beginning of the activity

7

timePrevStep

Time (seconds) difference between the last event of the previous step
and the first event of the current step

8

stepsActBegin

Number of steps visited since the beginning of the activity

9

activityID

10

stepID

11

M01 … M51

12

Class

Activity ID
Step ID
All of M01 to M51 are individual features denoting the frequency of firing
of these sensors associated with the step
Binary class. 1-”Prompt”, 0-”No-Prompt”
10
Experimentation
• Training and Testing: 10-fold Cross Validation
• Classifiers used:
• Decision Tree (J48)
• k – Nearest Neighbor (IBk)
• Support Vector Machines (SMO)
• Performance Metrics:
• True Positive Rate (TP Rate)
• True Negative Rate (TN Rate)
• Area Under ROC Curve (AUC)
• Accuracy (Acc)

11
Performance of
Baseline Classifiers

Figure 3: Accuracy Performance for Baseline Classifiers

Figure 4: TP and TN Rates for Baseline Classifiers

12
Failure of Baseline
Classifiers
Problem: Highly imbalanced class distribution.
Cause: Vast majority of training situations do not require prompts.
Total # unique steps: 53
# steps recognizable by annotators: 38
# prompt instances: 149 (3.74% of total # of instances)

13
Handling Imbalanced
Class Distribution
Sampling: Rebalancing
the dataset

Under-sampling

Imbalanced Data

Over-sampling

14
SMOTE
Boosting prompt situations in the training set without under/over
representation.
Technique: Synthetic Minority Over-sampling Technique or SMOTE.
Over-sampling
i. Compute the difference between the feature vector (sample)
under consideration(belonging to minority class) and its nearest
neighbor (which is also assumed to belong to the minority class).
ii. Multiply this difference by a random number between 0 and 1.
iii. Add the product to the feature vector under consideration.
Under-sampling
Random under-sampling
15
SMOTE-Variant
Why can’t we use SMOTE directly?
• Minority class instances are small in absolute number (149 in our
case).
• No nearest neighbor with same step of an activity in some cases.
SMOTE-Variant:
i.Randomly pick a minority class instance.
ii.Consider activityID and stepID to find nearest neighbor.
iii.Randomly choose any one nearest neighbor.
iv.Synthesize new data point in the same way as SMOTE.

16
Sampling
What is the ideal class distribution?
Vary the percentage of minority class from 5-95% and test its
performance using J48 Decision Tree.

Figure 5: Effect of Class Distribution
17
Results

Figure 3: Comparison of TP Rate

Figure 4: Comparison of TN Rate

18
Results

Figure 3: Comparison of AUC
Table 1: Comparison of Accuracy

Classifier

Baseline

Sampled

J-48

96.206

91.55

K-NN

94.2965

92.05

SMO

96.2312

91.35
19
Conclusion

• Introduced PUCK
• Discussed framework in which the prompting system is
developed.
• Challenges of using supervised machine learning methods
without pre-processing.
• Proposed a variant of an existing sampling method.

20
Contact Us

Dr. Diane Cook

cook@eecs.wsu.edu

Barnan Das

barnandas@wsu.edu

http://casas.wsu.edu
21
22

More Related Content

Similar to An Automated Prompting System for Smart Environments

Plant recognition system
Plant recognition systemPlant recognition system
Plant recognition systemSinisa Vukovic
 
Analytics for large-scale time series and event data
Analytics for large-scale time series and event dataAnalytics for large-scale time series and event data
Analytics for large-scale time series and event dataAnodot
 
2. sampling techniques
2. sampling techniques2. sampling techniques
2. sampling techniquesDebasish Padhy
 
Finger pointing
Finger pointingFinger pointing
Finger pointingBoundary
 
Smartphones as ubiquitous devices for behavior analysis and better lifestyle ...
Smartphones as ubiquitous devices for behavior analysis and better lifestyle ...Smartphones as ubiquitous devices for behavior analysis and better lifestyle ...
Smartphones as ubiquitous devices for behavior analysis and better lifestyle ...University of Geneva
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learningKoundinya Desiraju
 
Observability for Emerging Infra (what got you here won't get you there)
Observability for Emerging Infra (what got you here won't get you there)Observability for Emerging Infra (what got you here won't get you there)
Observability for Emerging Infra (what got you here won't get you there)Charity Majors
 
Fault Detection in Mobile Communication Networks Using Data Mining Techniques...
Fault Detection in Mobile Communication Networks Using Data Mining Techniques...Fault Detection in Mobile Communication Networks Using Data Mining Techniques...
Fault Detection in Mobile Communication Networks Using Data Mining Techniques...ijcisjournal
 
Simple Essay Example Amat
Simple Essay Example  AmatSimple Essay Example  Amat
Simple Essay Example AmatJennifer Moore
 
Say "Hi!" to Your New Boss
Say "Hi!" to Your New BossSay "Hi!" to Your New Boss
Say "Hi!" to Your New BossAndreas Dewes
 
Virtual Worlds And Real World
Virtual Worlds And Real WorldVirtual Worlds And Real World
Virtual Worlds And Real WorldKanavKahol
 
System Event Monitoring for Active Authentication
System Event Monitoring for Active AuthenticationSystem Event Monitoring for Active Authentication
System Event Monitoring for Active AuthenticationCoveros, Inc.
 
Machine Learning SPPU Unit 1
Machine Learning SPPU Unit 1Machine Learning SPPU Unit 1
Machine Learning SPPU Unit 1Amruta Aphale
 
Continuous Automated Testing - Cast conference workshop august 2014
Continuous Automated Testing - Cast conference workshop august 2014Continuous Automated Testing - Cast conference workshop august 2014
Continuous Automated Testing - Cast conference workshop august 2014Noah Sussman
 
C++ Programming Polymorphism Assignment InstructionsOverview 
C++ Programming Polymorphism Assignment InstructionsOverview C++ Programming Polymorphism Assignment InstructionsOverview 
C++ Programming Polymorphism Assignment InstructionsOverview TawnaDelatorrejs
 
The limits of unit testing by Craig Stuntz
The limits of unit testing by Craig StuntzThe limits of unit testing by Craig Stuntz
The limits of unit testing by Craig StuntzQA or the Highway
 
The Limits of Unit Testing by Craig Stuntz
The Limits of Unit Testing by Craig StuntzThe Limits of Unit Testing by Craig Stuntz
The Limits of Unit Testing by Craig StuntzQA or the Highway
 

Similar to An Automated Prompting System for Smart Environments (20)

Plant recognition system
Plant recognition systemPlant recognition system
Plant recognition system
 
Analytics for large-scale time series and event data
Analytics for large-scale time series and event dataAnalytics for large-scale time series and event data
Analytics for large-scale time series and event data
 
2. sampling techniques
2. sampling techniques2. sampling techniques
2. sampling techniques
 
Finger pointing
Finger pointingFinger pointing
Finger pointing
 
Smartphones as ubiquitous devices for behavior analysis and better lifestyle ...
Smartphones as ubiquitous devices for behavior analysis and better lifestyle ...Smartphones as ubiquitous devices for behavior analysis and better lifestyle ...
Smartphones as ubiquitous devices for behavior analysis and better lifestyle ...
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learning
 
Observability for Emerging Infra (what got you here won't get you there)
Observability for Emerging Infra (what got you here won't get you there)Observability for Emerging Infra (what got you here won't get you there)
Observability for Emerging Infra (what got you here won't get you there)
 
Unit 2-ML.pptx
Unit 2-ML.pptxUnit 2-ML.pptx
Unit 2-ML.pptx
 
Fault Detection in Mobile Communication Networks Using Data Mining Techniques...
Fault Detection in Mobile Communication Networks Using Data Mining Techniques...Fault Detection in Mobile Communication Networks Using Data Mining Techniques...
Fault Detection in Mobile Communication Networks Using Data Mining Techniques...
 
10409004.ppt
10409004.ppt10409004.ppt
10409004.ppt
 
Simple Essay Example Amat
Simple Essay Example  AmatSimple Essay Example  Amat
Simple Essay Example Amat
 
Say "Hi!" to Your New Boss
Say "Hi!" to Your New BossSay "Hi!" to Your New Boss
Say "Hi!" to Your New Boss
 
Virtual Worlds And Real World
Virtual Worlds And Real WorldVirtual Worlds And Real World
Virtual Worlds And Real World
 
Paper
PaperPaper
Paper
 
System Event Monitoring for Active Authentication
System Event Monitoring for Active AuthenticationSystem Event Monitoring for Active Authentication
System Event Monitoring for Active Authentication
 
Machine Learning SPPU Unit 1
Machine Learning SPPU Unit 1Machine Learning SPPU Unit 1
Machine Learning SPPU Unit 1
 
Continuous Automated Testing - Cast conference workshop august 2014
Continuous Automated Testing - Cast conference workshop august 2014Continuous Automated Testing - Cast conference workshop august 2014
Continuous Automated Testing - Cast conference workshop august 2014
 
C++ Programming Polymorphism Assignment InstructionsOverview 
C++ Programming Polymorphism Assignment InstructionsOverview C++ Programming Polymorphism Assignment InstructionsOverview 
C++ Programming Polymorphism Assignment InstructionsOverview 
 
The limits of unit testing by Craig Stuntz
The limits of unit testing by Craig StuntzThe limits of unit testing by Craig Stuntz
The limits of unit testing by Craig Stuntz
 
The Limits of Unit Testing by Craig Stuntz
The Limits of Unit Testing by Craig StuntzThe Limits of Unit Testing by Craig Stuntz
The Limits of Unit Testing by Craig Stuntz
 

More from Barnan Das

Machine Learning-Driven Caregiving for Older Adults with Dementia
Machine Learning-Driven Caregiving for Older Adults with DementiaMachine Learning-Driven Caregiving for Older Adults with Dementia
Machine Learning-Driven Caregiving for Older Adults with DementiaBarnan Das
 
wRACOG: A Gibbs Sampling-Based Oversampling Technique
wRACOG: A Gibbs Sampling-Based Oversampling TechniquewRACOG: A Gibbs Sampling-Based Oversampling Technique
wRACOG: A Gibbs Sampling-Based Oversampling TechniqueBarnan Das
 
Simple and Complex Activity Recognition Through Smart Phones
Simple and Complex Activity Recognition Through Smart PhonesSimple and Complex Activity Recognition Through Smart Phones
Simple and Complex Activity Recognition Through Smart PhonesBarnan Das
 
Handling Class Overlap and Imbalance to Detect Prompt Situations in Smart Homes
Handling Class Overlap and Imbalance to Detect Prompt Situations in Smart HomesHandling Class Overlap and Imbalance to Detect Prompt Situations in Smart Homes
Handling Class Overlap and Imbalance to Detect Prompt Situations in Smart HomesBarnan Das
 
Barnan's Profile
Barnan's ProfileBarnan's Profile
Barnan's ProfileBarnan Das
 
Barnan Das PhD Preliminary Exam
Barnan Das PhD Preliminary ExamBarnan Das PhD Preliminary Exam
Barnan Das PhD Preliminary ExamBarnan Das
 

More from Barnan Das (6)

Machine Learning-Driven Caregiving for Older Adults with Dementia
Machine Learning-Driven Caregiving for Older Adults with DementiaMachine Learning-Driven Caregiving for Older Adults with Dementia
Machine Learning-Driven Caregiving for Older Adults with Dementia
 
wRACOG: A Gibbs Sampling-Based Oversampling Technique
wRACOG: A Gibbs Sampling-Based Oversampling TechniquewRACOG: A Gibbs Sampling-Based Oversampling Technique
wRACOG: A Gibbs Sampling-Based Oversampling Technique
 
Simple and Complex Activity Recognition Through Smart Phones
Simple and Complex Activity Recognition Through Smart PhonesSimple and Complex Activity Recognition Through Smart Phones
Simple and Complex Activity Recognition Through Smart Phones
 
Handling Class Overlap and Imbalance to Detect Prompt Situations in Smart Homes
Handling Class Overlap and Imbalance to Detect Prompt Situations in Smart HomesHandling Class Overlap and Imbalance to Detect Prompt Situations in Smart Homes
Handling Class Overlap and Imbalance to Detect Prompt Situations in Smart Homes
 
Barnan's Profile
Barnan's ProfileBarnan's Profile
Barnan's Profile
 
Barnan Das PhD Preliminary Exam
Barnan Das PhD Preliminary ExamBarnan Das PhD Preliminary Exam
Barnan Das PhD Preliminary Exam
 

Recently uploaded

Call Girls In Andheri East Call 9920874524 Book Hot And Sexy Girls
Call Girls In Andheri East Call 9920874524 Book Hot And Sexy GirlsCall Girls In Andheri East Call 9920874524 Book Hot And Sexy Girls
Call Girls In Andheri East Call 9920874524 Book Hot And Sexy Girlsnehamumbai
 
College Call Girls Vyasarpadi Whatsapp 7001305949 Independent Escort Service
College Call Girls Vyasarpadi Whatsapp 7001305949 Independent Escort ServiceCollege Call Girls Vyasarpadi Whatsapp 7001305949 Independent Escort Service
College Call Girls Vyasarpadi Whatsapp 7001305949 Independent Escort ServiceNehru place Escorts
 
Housewife Call Girls Bangalore - Call 7001305949 Rs-3500 with A/C Room Cash o...
Housewife Call Girls Bangalore - Call 7001305949 Rs-3500 with A/C Room Cash o...Housewife Call Girls Bangalore - Call 7001305949 Rs-3500 with A/C Room Cash o...
Housewife Call Girls Bangalore - Call 7001305949 Rs-3500 with A/C Room Cash o...narwatsonia7
 
Call Girl Koramangala | 7001305949 At Low Cost Cash Payment Booking
Call Girl Koramangala | 7001305949 At Low Cost Cash Payment BookingCall Girl Koramangala | 7001305949 At Low Cost Cash Payment Booking
Call Girl Koramangala | 7001305949 At Low Cost Cash Payment Bookingnarwatsonia7
 
Call Girls Service in Bommanahalli - 7001305949 with real photos and phone nu...
Call Girls Service in Bommanahalli - 7001305949 with real photos and phone nu...Call Girls Service in Bommanahalli - 7001305949 with real photos and phone nu...
Call Girls Service in Bommanahalli - 7001305949 with real photos and phone nu...narwatsonia7
 
Ahmedabad Call Girls CG Road 🔝9907093804 Short 1500 💋 Night 6000
Ahmedabad Call Girls CG Road 🔝9907093804  Short 1500  💋 Night 6000Ahmedabad Call Girls CG Road 🔝9907093804  Short 1500  💋 Night 6000
Ahmedabad Call Girls CG Road 🔝9907093804 Short 1500 💋 Night 6000aliya bhat
 
Russian Call Girl Brookfield - 7001305949 Escorts Service 50% Off with Cash O...
Russian Call Girl Brookfield - 7001305949 Escorts Service 50% Off with Cash O...Russian Call Girl Brookfield - 7001305949 Escorts Service 50% Off with Cash O...
Russian Call Girl Brookfield - 7001305949 Escorts Service 50% Off with Cash O...narwatsonia7
 
Call Girl Lucknow Mallika 7001305949 Independent Escort Service Lucknow
Call Girl Lucknow Mallika 7001305949 Independent Escort Service LucknowCall Girl Lucknow Mallika 7001305949 Independent Escort Service Lucknow
Call Girl Lucknow Mallika 7001305949 Independent Escort Service Lucknownarwatsonia7
 
Call Girls Service Noida Maya 9711199012 Independent Escort Service Noida
Call Girls Service Noida Maya 9711199012 Independent Escort Service NoidaCall Girls Service Noida Maya 9711199012 Independent Escort Service Noida
Call Girls Service Noida Maya 9711199012 Independent Escort Service NoidaPooja Gupta
 
Book Call Girls in Kasavanahalli - 7001305949 with real photos and phone numbers
Book Call Girls in Kasavanahalli - 7001305949 with real photos and phone numbersBook Call Girls in Kasavanahalli - 7001305949 with real photos and phone numbers
Book Call Girls in Kasavanahalli - 7001305949 with real photos and phone numbersnarwatsonia7
 
Call Girls Electronic City Just Call 7001305949 Top Class Call Girl Service A...
Call Girls Electronic City Just Call 7001305949 Top Class Call Girl Service A...Call Girls Electronic City Just Call 7001305949 Top Class Call Girl Service A...
Call Girls Electronic City Just Call 7001305949 Top Class Call Girl Service A...narwatsonia7
 
Call Girls Kanakapura Road Just Call 7001305949 Top Class Call Girl Service A...
Call Girls Kanakapura Road Just Call 7001305949 Top Class Call Girl Service A...Call Girls Kanakapura Road Just Call 7001305949 Top Class Call Girl Service A...
Call Girls Kanakapura Road Just Call 7001305949 Top Class Call Girl Service A...narwatsonia7
 
Call Girls Whitefield Just Call 7001305949 Top Class Call Girl Service Available
Call Girls Whitefield Just Call 7001305949 Top Class Call Girl Service AvailableCall Girls Whitefield Just Call 7001305949 Top Class Call Girl Service Available
Call Girls Whitefield Just Call 7001305949 Top Class Call Girl Service Availablenarwatsonia7
 
Russian Call Girls in Pune Riya 9907093804 Short 1500 Night 6000 Best call gi...
Russian Call Girls in Pune Riya 9907093804 Short 1500 Night 6000 Best call gi...Russian Call Girls in Pune Riya 9907093804 Short 1500 Night 6000 Best call gi...
Russian Call Girls in Pune Riya 9907093804 Short 1500 Night 6000 Best call gi...Miss joya
 
call girls in munirka DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝✔️✔️
call girls in munirka  DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝✔️✔️call girls in munirka  DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝✔️✔️
call girls in munirka DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝✔️✔️saminamagar
 
Mumbai Call Girls Service 9910780858 Real Russian Girls Looking Models
Mumbai Call Girls Service 9910780858 Real Russian Girls Looking ModelsMumbai Call Girls Service 9910780858 Real Russian Girls Looking Models
Mumbai Call Girls Service 9910780858 Real Russian Girls Looking Modelssonalikaur4
 
Hemostasis Physiology and Clinical correlations by Dr Faiza.pdf
Hemostasis Physiology and Clinical correlations by Dr Faiza.pdfHemostasis Physiology and Clinical correlations by Dr Faiza.pdf
Hemostasis Physiology and Clinical correlations by Dr Faiza.pdfMedicoseAcademics
 
Low Rate Call Girls Pune Esha 9907093804 Short 1500 Night 6000 Best call girl...
Low Rate Call Girls Pune Esha 9907093804 Short 1500 Night 6000 Best call girl...Low Rate Call Girls Pune Esha 9907093804 Short 1500 Night 6000 Best call girl...
Low Rate Call Girls Pune Esha 9907093804 Short 1500 Night 6000 Best call girl...Miss joya
 
VIP Call Girls Lucknow Nandini 7001305949 Independent Escort Service Lucknow
VIP Call Girls Lucknow Nandini 7001305949 Independent Escort Service LucknowVIP Call Girls Lucknow Nandini 7001305949 Independent Escort Service Lucknow
VIP Call Girls Lucknow Nandini 7001305949 Independent Escort Service Lucknownarwatsonia7
 
Call Girls Hosur Just Call 7001305949 Top Class Call Girl Service Available
Call Girls Hosur Just Call 7001305949 Top Class Call Girl Service AvailableCall Girls Hosur Just Call 7001305949 Top Class Call Girl Service Available
Call Girls Hosur Just Call 7001305949 Top Class Call Girl Service Availablenarwatsonia7
 

Recently uploaded (20)

Call Girls In Andheri East Call 9920874524 Book Hot And Sexy Girls
Call Girls In Andheri East Call 9920874524 Book Hot And Sexy GirlsCall Girls In Andheri East Call 9920874524 Book Hot And Sexy Girls
Call Girls In Andheri East Call 9920874524 Book Hot And Sexy Girls
 
College Call Girls Vyasarpadi Whatsapp 7001305949 Independent Escort Service
College Call Girls Vyasarpadi Whatsapp 7001305949 Independent Escort ServiceCollege Call Girls Vyasarpadi Whatsapp 7001305949 Independent Escort Service
College Call Girls Vyasarpadi Whatsapp 7001305949 Independent Escort Service
 
Housewife Call Girls Bangalore - Call 7001305949 Rs-3500 with A/C Room Cash o...
Housewife Call Girls Bangalore - Call 7001305949 Rs-3500 with A/C Room Cash o...Housewife Call Girls Bangalore - Call 7001305949 Rs-3500 with A/C Room Cash o...
Housewife Call Girls Bangalore - Call 7001305949 Rs-3500 with A/C Room Cash o...
 
Call Girl Koramangala | 7001305949 At Low Cost Cash Payment Booking
Call Girl Koramangala | 7001305949 At Low Cost Cash Payment BookingCall Girl Koramangala | 7001305949 At Low Cost Cash Payment Booking
Call Girl Koramangala | 7001305949 At Low Cost Cash Payment Booking
 
Call Girls Service in Bommanahalli - 7001305949 with real photos and phone nu...
Call Girls Service in Bommanahalli - 7001305949 with real photos and phone nu...Call Girls Service in Bommanahalli - 7001305949 with real photos and phone nu...
Call Girls Service in Bommanahalli - 7001305949 with real photos and phone nu...
 
Ahmedabad Call Girls CG Road 🔝9907093804 Short 1500 💋 Night 6000
Ahmedabad Call Girls CG Road 🔝9907093804  Short 1500  💋 Night 6000Ahmedabad Call Girls CG Road 🔝9907093804  Short 1500  💋 Night 6000
Ahmedabad Call Girls CG Road 🔝9907093804 Short 1500 💋 Night 6000
 
Russian Call Girl Brookfield - 7001305949 Escorts Service 50% Off with Cash O...
Russian Call Girl Brookfield - 7001305949 Escorts Service 50% Off with Cash O...Russian Call Girl Brookfield - 7001305949 Escorts Service 50% Off with Cash O...
Russian Call Girl Brookfield - 7001305949 Escorts Service 50% Off with Cash O...
 
Call Girl Lucknow Mallika 7001305949 Independent Escort Service Lucknow
Call Girl Lucknow Mallika 7001305949 Independent Escort Service LucknowCall Girl Lucknow Mallika 7001305949 Independent Escort Service Lucknow
Call Girl Lucknow Mallika 7001305949 Independent Escort Service Lucknow
 
Call Girls Service Noida Maya 9711199012 Independent Escort Service Noida
Call Girls Service Noida Maya 9711199012 Independent Escort Service NoidaCall Girls Service Noida Maya 9711199012 Independent Escort Service Noida
Call Girls Service Noida Maya 9711199012 Independent Escort Service Noida
 
Book Call Girls in Kasavanahalli - 7001305949 with real photos and phone numbers
Book Call Girls in Kasavanahalli - 7001305949 with real photos and phone numbersBook Call Girls in Kasavanahalli - 7001305949 with real photos and phone numbers
Book Call Girls in Kasavanahalli - 7001305949 with real photos and phone numbers
 
Call Girls Electronic City Just Call 7001305949 Top Class Call Girl Service A...
Call Girls Electronic City Just Call 7001305949 Top Class Call Girl Service A...Call Girls Electronic City Just Call 7001305949 Top Class Call Girl Service A...
Call Girls Electronic City Just Call 7001305949 Top Class Call Girl Service A...
 
Call Girls Kanakapura Road Just Call 7001305949 Top Class Call Girl Service A...
Call Girls Kanakapura Road Just Call 7001305949 Top Class Call Girl Service A...Call Girls Kanakapura Road Just Call 7001305949 Top Class Call Girl Service A...
Call Girls Kanakapura Road Just Call 7001305949 Top Class Call Girl Service A...
 
Call Girls Whitefield Just Call 7001305949 Top Class Call Girl Service Available
Call Girls Whitefield Just Call 7001305949 Top Class Call Girl Service AvailableCall Girls Whitefield Just Call 7001305949 Top Class Call Girl Service Available
Call Girls Whitefield Just Call 7001305949 Top Class Call Girl Service Available
 
Russian Call Girls in Pune Riya 9907093804 Short 1500 Night 6000 Best call gi...
Russian Call Girls in Pune Riya 9907093804 Short 1500 Night 6000 Best call gi...Russian Call Girls in Pune Riya 9907093804 Short 1500 Night 6000 Best call gi...
Russian Call Girls in Pune Riya 9907093804 Short 1500 Night 6000 Best call gi...
 
call girls in munirka DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝✔️✔️
call girls in munirka  DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝✔️✔️call girls in munirka  DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝✔️✔️
call girls in munirka DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝✔️✔️
 
Mumbai Call Girls Service 9910780858 Real Russian Girls Looking Models
Mumbai Call Girls Service 9910780858 Real Russian Girls Looking ModelsMumbai Call Girls Service 9910780858 Real Russian Girls Looking Models
Mumbai Call Girls Service 9910780858 Real Russian Girls Looking Models
 
Hemostasis Physiology and Clinical correlations by Dr Faiza.pdf
Hemostasis Physiology and Clinical correlations by Dr Faiza.pdfHemostasis Physiology and Clinical correlations by Dr Faiza.pdf
Hemostasis Physiology and Clinical correlations by Dr Faiza.pdf
 
Low Rate Call Girls Pune Esha 9907093804 Short 1500 Night 6000 Best call girl...
Low Rate Call Girls Pune Esha 9907093804 Short 1500 Night 6000 Best call girl...Low Rate Call Girls Pune Esha 9907093804 Short 1500 Night 6000 Best call girl...
Low Rate Call Girls Pune Esha 9907093804 Short 1500 Night 6000 Best call girl...
 
VIP Call Girls Lucknow Nandini 7001305949 Independent Escort Service Lucknow
VIP Call Girls Lucknow Nandini 7001305949 Independent Escort Service LucknowVIP Call Girls Lucknow Nandini 7001305949 Independent Escort Service Lucknow
VIP Call Girls Lucknow Nandini 7001305949 Independent Escort Service Lucknow
 
Call Girls Hosur Just Call 7001305949 Top Class Call Girl Service Available
Call Girls Hosur Just Call 7001305949 Top Class Call Girl Service AvailableCall Girls Hosur Just Call 7001305949 Top Class Call Girl Service Available
Call Girls Hosur Just Call 7001305949 Top Class Call Girl Service Available
 

An Automated Prompting System for Smart Environments

  • 1. An Automated Prompting System for Smart Environments Barnan Das, Chao Chen, Adriana M. Seelye, Diane J. Cook Presented by: Barnan Das Center for Advanced Studies in Adaptive Systems (CASAS) Washington State University June 21, 2011
  • 2. By 2030, 20% of US population will be >65 years of age 2
  • 3. Avg. cost of skilled nursing home care: ~$70,000/person/year. 3
  • 4. Innovative health care technology can help sustain independent lifestyle. 4
  • 6. The Problem Please turn off the burner. Sugar is in the cupboard. Its time to take medicine. You look tired, why don’t you take a nap. Automatic delivery of verbal or non-verbal interventions that would help a smart home inhabitant in successful Its John’s birthday, you wanna write a card? completion of daily tasks. Sam is trying to get in touch with you. Please take a look at the Wattage of the light bulb. You just picked up the wrong vessel. Its time to take medicine. Sam is trying to get in touch with you. Sugar is in the cupboard. It would be a good idea to take a walk. 6
  • 7. Our Solution Prompting Users and Control Kiosk Under development at CASAS, WSU PUCK Automated Prompting System Based on Supervised Learning 7
  • 8. System Architecture Figure 1: System Architecture of PUCK 8
  • 9. Experimental Setup • Testbed: 2 story apartment in WSU campus • Sensors: Motion, door, object, temperature, power • Participants: 128 older adults with mild cognitive disorder • Activities: Sweeping, Medication, Writing birthday card, Watching DVD, Water plants, Phone call, Cooking, Selecting outfit • Activities are subdivided into steps. • Activities monitored via web cam. Experimenter remotely plays (in)direct audio/video cues when an error is detected. • Human annotators annotate datasets for activities and activity steps. 9
  • 10. Feature Generation Feature # Feature Name Description •1Generate features Length of the step in time (seconds) activity as an instance considering each step of an stepLength in the training dataset. 2 numSensors Number of unique sensors involved with the step 3 numEvents Number of sensor events associated with the step 4 prevStep Previous step 5 nextStep Next step 6 timeActBegin Time (seconds) elapsed since the beginning of the activity 7 timePrevStep Time (seconds) difference between the last event of the previous step and the first event of the current step 8 stepsActBegin Number of steps visited since the beginning of the activity 9 activityID 10 stepID 11 M01 … M51 12 Class Activity ID Step ID All of M01 to M51 are individual features denoting the frequency of firing of these sensors associated with the step Binary class. 1-”Prompt”, 0-”No-Prompt” 10
  • 11. Experimentation • Training and Testing: 10-fold Cross Validation • Classifiers used: • Decision Tree (J48) • k – Nearest Neighbor (IBk) • Support Vector Machines (SMO) • Performance Metrics: • True Positive Rate (TP Rate) • True Negative Rate (TN Rate) • Area Under ROC Curve (AUC) • Accuracy (Acc) 11
  • 12. Performance of Baseline Classifiers Figure 3: Accuracy Performance for Baseline Classifiers Figure 4: TP and TN Rates for Baseline Classifiers 12
  • 13. Failure of Baseline Classifiers Problem: Highly imbalanced class distribution. Cause: Vast majority of training situations do not require prompts. Total # unique steps: 53 # steps recognizable by annotators: 38 # prompt instances: 149 (3.74% of total # of instances) 13
  • 14. Handling Imbalanced Class Distribution Sampling: Rebalancing the dataset Under-sampling Imbalanced Data Over-sampling 14
  • 15. SMOTE Boosting prompt situations in the training set without under/over representation. Technique: Synthetic Minority Over-sampling Technique or SMOTE. Over-sampling i. Compute the difference between the feature vector (sample) under consideration(belonging to minority class) and its nearest neighbor (which is also assumed to belong to the minority class). ii. Multiply this difference by a random number between 0 and 1. iii. Add the product to the feature vector under consideration. Under-sampling Random under-sampling 15
  • 16. SMOTE-Variant Why can’t we use SMOTE directly? • Minority class instances are small in absolute number (149 in our case). • No nearest neighbor with same step of an activity in some cases. SMOTE-Variant: i.Randomly pick a minority class instance. ii.Consider activityID and stepID to find nearest neighbor. iii.Randomly choose any one nearest neighbor. iv.Synthesize new data point in the same way as SMOTE. 16
  • 17. Sampling What is the ideal class distribution? Vary the percentage of minority class from 5-95% and test its performance using J48 Decision Tree. Figure 5: Effect of Class Distribution 17
  • 18. Results Figure 3: Comparison of TP Rate Figure 4: Comparison of TN Rate 18
  • 19. Results Figure 3: Comparison of AUC Table 1: Comparison of Accuracy Classifier Baseline Sampled J-48 96.206 91.55 K-NN 94.2965 92.05 SMO 96.2312 91.35 19
  • 20. Conclusion • Introduced PUCK • Discussed framework in which the prompting system is developed. • Challenges of using supervised machine learning methods without pre-processing. • Proposed a variant of an existing sampling method. 20
  • 21. Contact Us Dr. Diane Cook cook@eecs.wsu.edu Barnan Das barnandas@wsu.edu http://casas.wsu.edu 21
  • 22. 22