SlideShare a Scribd company logo
1 of 21
Classroom Occupancy Project
Abraham Montilla
Nikolay Bandura
Kristen McIntyre
Mengdi Yue
Svetlana Zolotareva
Project Objectives
❖Set up equipment to generate data using sensors and Raspberry Pi 3
❖Develop a basic application to count people in the room
❖Identify data outliers, correlations and trends
❖Build a model that predicts room occupancy based on sensor data provided
Original setup of Raspberry Pi 3 included:
1. Motion sensor
2. Door sensor
3. Temperature / Humidity sensor
Eventually, Motion sensor was eliminated and
additional sensors were added. Such as:
1. Noise sensor
2. Light (lux) sensor
3. CO2 sensor
Final setup of Raspberry Pi 3 with sensors
onboard.
Sensors are connected to a ‘breadboard’.
Sensors:
1. Noise sensor
2. Light (lux) sensor
3. CO2 sensor
4. Door sensor
5. Temperature / Humidity sensor
6. Bluetooth sensor (built into RasPi)
Raspberry Pi 3 Set Up
Data Ingestion
❖Data Storage
DATABASE SCHEMA
Occupancy Logger Application
❖Web Application Screenshot
Image Data and Camera Set Up
Class of Saturday June 10, 2017
Image Data and Camera Set Up
Histogram of a picture
(vector)
Image Data and Camera Set Up
Difference of adjacent picture histograms
Data Wrangling and Analysis
Issues to be dealt with:
❖Different Intervals
❖Missing Values
❖Outliers
❖Feature Correlation
❖Class Imbalance
Our approach:
Step 1
Data Ready for Machine Learning
Dropped non-personal bluetooth
devices
Resample the data by taking the mean
per minute
Used EDA for outliers detection and
treatment; dealt with missing data
Step 2
Step 3
Step 4
CO2 Data
Bluetooth Data
Light Data
Before After
Before After
Feature Correlation
❖ Dropped Non-Personal Bluetooth
Devices Feature
● Missing before April 8
● Perfectly correlated with Bluetooth
Devices (Pearson score = 1)
Machine Learning
❖Missing Data
➢ Sensor Errors
➢ New features
❖Time Series Data Challenges
➢ TrainTestSplit
➢ CART Models
❖Imbalanced Data
➢ occupancy_category
■ 0: Empty
kNN Classification Model
Regression Models
Conclusions
❖The use of the dashboard allows the optimization of
electricity in terms of A/C and light switches
❖The sensor setup schema might be used for a larger
project that involves such data collection
❖Safety feature. The room occupancy can provide
accurate information on the amount of people in the
room in case of an emergency and help act quickly
to save lives
Limitations & Next Steps
Data Ingestion Optimization:
❖ Continuous work of sensors
❖ Reconciliation of intervals for features
❖ Locations with less temperature control
❖ Longer time frame (years)
❖ Multiple rooms at the same location
Model Optimization:
❖ Include the effects of weather on
temperature & humidity
❖ Detect monthly / seasonal patterns
Limitations:
● Prediction specific to the location
● Implementation cost, user privacy,
detection accuracy and intrusiveness
References
Allen, Joseph G., Piers Macnaughton, Usha Satish, Suresh Santanam, Jose Vallarino, and John D. Spengler. "Associations of
Cognitive Function Scores with Carbon Dioxide, Ventilation, and Volatile Organic Compound Exposures in Office Workers: A
Controlled Exposure Study of Green and Conventional Office Environments." Environmental Health Perspectives 124, no. 6
(June 26, 2015): 805-12.
Candanedo, Luis M., and Véronique Feldheim. "Accurate occupancy detection of an office room from light, temperature, humidity
and CO2 measurements using statistical learning models." Energy and Buildings 112 (January 15, 2016): 28-39.
Jiang, Chaoyang, Mustafa K. Masood, Yeng Chai Soh, and Hua Li. "Indoor occupancy estimation from carbon dioxide
concentration." Energy and Buildings 131 (2016): 132-41.

More Related Content

What's hot

Research_Summary_Hanover_2016
Research_Summary_Hanover_2016Research_Summary_Hanover_2016
Research_Summary_Hanover_2016
Drew Hanover
 
Cloud nima afraz
Cloud nima afrazCloud nima afraz
Cloud nima afraz
Nima Afraz
 
Storm realtime processingofbigdata
Storm realtime processingofbigdataStorm realtime processingofbigdata
Storm realtime processingofbigdata
jonespi
 
WFIRST Poster Small File Size
WFIRST Poster Small File SizeWFIRST Poster Small File Size
WFIRST Poster Small File Size
Davis Unruh
 
PowerPoint Powerpoint
PowerPoint PowerpointPowerPoint Powerpoint
PowerPoint Powerpoint
webhostingguy
 

What's hot (15)

Research_Summary_Hanover_2016
Research_Summary_Hanover_2016Research_Summary_Hanover_2016
Research_Summary_Hanover_2016
 
IRJET - Intelligent Weather Forecasting using Machine Learning Techniques
IRJET -  	  Intelligent Weather Forecasting using Machine Learning TechniquesIRJET -  	  Intelligent Weather Forecasting using Machine Learning Techniques
IRJET - Intelligent Weather Forecasting using Machine Learning Techniques
 
Kush Defense
Kush DefenseKush Defense
Kush Defense
 
Andy Jarvis Parasid Near Real Time Monitoring Of Habitat Change Using A Neura...
Andy Jarvis Parasid Near Real Time Monitoring Of Habitat Change Using A Neura...Andy Jarvis Parasid Near Real Time Monitoring Of Habitat Change Using A Neura...
Andy Jarvis Parasid Near Real Time Monitoring Of Habitat Change Using A Neura...
 
Data acquisition and its vital role in our
Data acquisition and its vital role in ourData acquisition and its vital role in our
Data acquisition and its vital role in our
 
Cloud nima afraz
Cloud nima afrazCloud nima afraz
Cloud nima afraz
 
Real time lightning-bold distance calculator (IOT)
Real time lightning-bold distance calculator (IOT)Real time lightning-bold distance calculator (IOT)
Real time lightning-bold distance calculator (IOT)
 
Optimizing purdue lin microphysics scheme for intel xeon phi coprocessor
Optimizing purdue lin microphysics scheme for intel xeon phi coprocessorOptimizing purdue lin microphysics scheme for intel xeon phi coprocessor
Optimizing purdue lin microphysics scheme for intel xeon phi coprocessor
 
Exploring climate model large ensembles with explainable neural networks
Exploring climate model large ensembles with explainable neural networksExploring climate model large ensembles with explainable neural networks
Exploring climate model large ensembles with explainable neural networks
 
Remote Sensing of Urban Heat Islands
Remote Sensing of Urban Heat IslandsRemote Sensing of Urban Heat Islands
Remote Sensing of Urban Heat Islands
 
Storm realtime processingofbigdata
Storm realtime processingofbigdataStorm realtime processingofbigdata
Storm realtime processingofbigdata
 
ANKUR_INTERN
ANKUR_INTERNANKUR_INTERN
ANKUR_INTERN
 
WFIRST Poster Small File Size
WFIRST Poster Small File SizeWFIRST Poster Small File Size
WFIRST Poster Small File Size
 
PowerPoint Powerpoint
PowerPoint PowerpointPowerPoint Powerpoint
PowerPoint Powerpoint
 
Weather Forecasting using Deep Learning A lgorithm for the Ethiopian Context
Weather Forecasting using Deep Learning A lgorithm for the Ethiopian ContextWeather Forecasting using Deep Learning A lgorithm for the Ethiopian Context
Weather Forecasting using Deep Learning A lgorithm for the Ethiopian Context
 

Similar to Classroom occupancy project

Io t enabled plant soil moisture monitoring system using wireless sensor netw...
Io t enabled plant soil moisture monitoring system using wireless sensor netw...Io t enabled plant soil moisture monitoring system using wireless sensor netw...
Io t enabled plant soil moisture monitoring system using wireless sensor netw...
Ezhilazhahi AM
 
11 15020 ijeecs 1570306569 v2 human(edit)
11 15020 ijeecs 1570306569 v2 human(edit)11 15020 ijeecs 1570306569 v2 human(edit)
11 15020 ijeecs 1570306569 v2 human(edit)
nooriasukmaningtyas
 
Environmental Manager Air Sensing
Environmental Manager Air SensingEnvironmental Manager Air Sensing
Environmental Manager Air Sensing
timsdye
 
Estimating Fire Weather Indices Via Semantic Reasoning Over Wireless Sensor N...
Estimating Fire Weather Indices Via Semantic Reasoning Over Wireless Sensor N...Estimating Fire Weather Indices Via Semantic Reasoning Over Wireless Sensor N...
Estimating Fire Weather Indices Via Semantic Reasoning Over Wireless Sensor N...
IJwest
 
Predicting Human Count through Environmental Sensing in Closed Indoor Settings
Predicting Human Count through Environmental Sensing in Closed Indoor SettingsPredicting Human Count through Environmental Sensing in Closed Indoor Settings
Predicting Human Count through Environmental Sensing in Closed Indoor Settings
Tarik Reza Toha
 
NASA Advanced Computing Environment for Science & Engineering
NASA Advanced Computing Environment for Science & EngineeringNASA Advanced Computing Environment for Science & Engineering
NASA Advanced Computing Environment for Science & Engineering
inside-BigData.com
 
Report on Mapping of Carbon Monoxide using WSN
Report on Mapping of Carbon Monoxide using WSNReport on Mapping of Carbon Monoxide using WSN
Report on Mapping of Carbon Monoxide using WSN
Arjun Aravind
 
Final Senior Design Presentation
Final Senior Design Presentation Final Senior Design Presentation
Final Senior Design Presentation
Carl Freeman III
 

Similar to Classroom occupancy project (20)

Io t enabled plant soil moisture monitoring system using wireless sensor netw...
Io t enabled plant soil moisture monitoring system using wireless sensor netw...Io t enabled plant soil moisture monitoring system using wireless sensor netw...
Io t enabled plant soil moisture monitoring system using wireless sensor netw...
 
Sensor Network to monitor Atmosphere for Green House and Agriculture Sciences
Sensor Network to monitor Atmosphere for Green House and Agriculture SciencesSensor Network to monitor Atmosphere for Green House and Agriculture Sciences
Sensor Network to monitor Atmosphere for Green House and Agriculture Sciences
 
11 15020 ijeecs 1570306569 v2 human(edit)
11 15020 ijeecs 1570306569 v2 human(edit)11 15020 ijeecs 1570306569 v2 human(edit)
11 15020 ijeecs 1570306569 v2 human(edit)
 
Mobile and Web Applications for Sensing Hazardous Room Temperature using Wire...
Mobile and Web Applications for Sensing Hazardous Room Temperature using Wire...Mobile and Web Applications for Sensing Hazardous Room Temperature using Wire...
Mobile and Web Applications for Sensing Hazardous Room Temperature using Wire...
 
UROP Poster
UROP PosterUROP Poster
UROP Poster
 
Semantics in Sensor Networks
Semantics in Sensor NetworksSemantics in Sensor Networks
Semantics in Sensor Networks
 
An Autonomic Approach to Real-Time Predictive Analytics using Open Data and ...
An Autonomic Approach to Real-Time Predictive Analytics using Open Data and ...An Autonomic Approach to Real-Time Predictive Analytics using Open Data and ...
An Autonomic Approach to Real-Time Predictive Analytics using Open Data and ...
 
Environmental Manager Air Sensing
Environmental Manager Air SensingEnvironmental Manager Air Sensing
Environmental Manager Air Sensing
 
Efficient Data Gathering with Compressive Sensing in Wireless Sensor Networks
Efficient Data Gathering with Compressive Sensing in Wireless Sensor NetworksEfficient Data Gathering with Compressive Sensing in Wireless Sensor Networks
Efficient Data Gathering with Compressive Sensing in Wireless Sensor Networks
 
Examples of Applied Semantic Technologies: Application of Semantic Sensor Net...
Examples of Applied Semantic Technologies: Application of Semantic Sensor Net...Examples of Applied Semantic Technologies: Application of Semantic Sensor Net...
Examples of Applied Semantic Technologies: Application of Semantic Sensor Net...
 
GSN Global Sensor Networks for Environmental Data Management
GSN Global Sensor Networks for Environmental Data ManagementGSN Global Sensor Networks for Environmental Data Management
GSN Global Sensor Networks for Environmental Data Management
 
Estimating Fire Weather Indices Via Semantic Reasoning Over Wireless Sensor N...
Estimating Fire Weather Indices Via Semantic Reasoning Over Wireless Sensor N...Estimating Fire Weather Indices Via Semantic Reasoning Over Wireless Sensor N...
Estimating Fire Weather Indices Via Semantic Reasoning Over Wireless Sensor N...
 
Predicting Human Count through Environmental Sensing in Closed Indoor Settings
Predicting Human Count through Environmental Sensing in Closed Indoor SettingsPredicting Human Count through Environmental Sensing in Closed Indoor Settings
Predicting Human Count through Environmental Sensing in Closed Indoor Settings
 
NASA Advanced Computing Environment for Science & Engineering
NASA Advanced Computing Environment for Science & EngineeringNASA Advanced Computing Environment for Science & Engineering
NASA Advanced Computing Environment for Science & Engineering
 
Report on Mapping of Carbon Monoxide using WSN
Report on Mapping of Carbon Monoxide using WSNReport on Mapping of Carbon Monoxide using WSN
Report on Mapping of Carbon Monoxide using WSN
 
Data repository for sensor network a data mining approach
Data repository for sensor network  a data mining approachData repository for sensor network  a data mining approach
Data repository for sensor network a data mining approach
 
Influence of time and length size feature selections for human activity seque...
Influence of time and length size feature selections for human activity seque...Influence of time and length size feature selections for human activity seque...
Influence of time and length size feature selections for human activity seque...
 
Final Senior Design Presentation
Final Senior Design Presentation Final Senior Design Presentation
Final Senior Design Presentation
 
Anonymous tracking with PIR sensors utilising data analysis and machine learning
Anonymous tracking with PIR sensors utilising data analysis and machine learningAnonymous tracking with PIR sensors utilising data analysis and machine learning
Anonymous tracking with PIR sensors utilising data analysis and machine learning
 
A time efficient approach for detecting errors in big sensor data on cloud
A time efficient approach for detecting errors in big sensor data on cloudA time efficient approach for detecting errors in big sensor data on cloud
A time efficient approach for detecting errors in big sensor data on cloud
 

Recently uploaded

Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
amitlee9823
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
amitlee9823
 
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
amitlee9823
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
amitlee9823
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
MarinCaroMartnezBerg
 
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
amitlee9823
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
amitlee9823
 

Recently uploaded (20)

Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptx
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
 
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptx
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
 
ELKO dropshipping via API with DroFx.pptx
ELKO dropshipping via API with DroFx.pptxELKO dropshipping via API with DroFx.pptx
ELKO dropshipping via API with DroFx.pptx
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptx
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
 

Classroom occupancy project

  • 1. Classroom Occupancy Project Abraham Montilla Nikolay Bandura Kristen McIntyre Mengdi Yue Svetlana Zolotareva
  • 2. Project Objectives ❖Set up equipment to generate data using sensors and Raspberry Pi 3 ❖Develop a basic application to count people in the room ❖Identify data outliers, correlations and trends ❖Build a model that predicts room occupancy based on sensor data provided
  • 3. Original setup of Raspberry Pi 3 included: 1. Motion sensor 2. Door sensor 3. Temperature / Humidity sensor Eventually, Motion sensor was eliminated and additional sensors were added. Such as: 1. Noise sensor 2. Light (lux) sensor 3. CO2 sensor
  • 4. Final setup of Raspberry Pi 3 with sensors onboard. Sensors are connected to a ‘breadboard’. Sensors: 1. Noise sensor 2. Light (lux) sensor 3. CO2 sensor 4. Door sensor 5. Temperature / Humidity sensor 6. Bluetooth sensor (built into RasPi)
  • 5. Raspberry Pi 3 Set Up
  • 7. Occupancy Logger Application ❖Web Application Screenshot
  • 8. Image Data and Camera Set Up Class of Saturday June 10, 2017
  • 9. Image Data and Camera Set Up Histogram of a picture (vector)
  • 10. Image Data and Camera Set Up Difference of adjacent picture histograms
  • 11. Data Wrangling and Analysis Issues to be dealt with: ❖Different Intervals ❖Missing Values ❖Outliers ❖Feature Correlation ❖Class Imbalance Our approach: Step 1 Data Ready for Machine Learning Dropped non-personal bluetooth devices Resample the data by taking the mean per minute Used EDA for outliers detection and treatment; dealt with missing data Step 2 Step 3 Step 4
  • 15. Feature Correlation ❖ Dropped Non-Personal Bluetooth Devices Feature ● Missing before April 8 ● Perfectly correlated with Bluetooth Devices (Pearson score = 1)
  • 16. Machine Learning ❖Missing Data ➢ Sensor Errors ➢ New features ❖Time Series Data Challenges ➢ TrainTestSplit ➢ CART Models ❖Imbalanced Data ➢ occupancy_category ■ 0: Empty
  • 19. Conclusions ❖The use of the dashboard allows the optimization of electricity in terms of A/C and light switches ❖The sensor setup schema might be used for a larger project that involves such data collection ❖Safety feature. The room occupancy can provide accurate information on the amount of people in the room in case of an emergency and help act quickly to save lives
  • 20. Limitations & Next Steps Data Ingestion Optimization: ❖ Continuous work of sensors ❖ Reconciliation of intervals for features ❖ Locations with less temperature control ❖ Longer time frame (years) ❖ Multiple rooms at the same location Model Optimization: ❖ Include the effects of weather on temperature & humidity ❖ Detect monthly / seasonal patterns Limitations: ● Prediction specific to the location ● Implementation cost, user privacy, detection accuracy and intrusiveness
  • 21. References Allen, Joseph G., Piers Macnaughton, Usha Satish, Suresh Santanam, Jose Vallarino, and John D. Spengler. "Associations of Cognitive Function Scores with Carbon Dioxide, Ventilation, and Volatile Organic Compound Exposures in Office Workers: A Controlled Exposure Study of Green and Conventional Office Environments." Environmental Health Perspectives 124, no. 6 (June 26, 2015): 805-12. Candanedo, Luis M., and Véronique Feldheim. "Accurate occupancy detection of an office room from light, temperature, humidity and CO2 measurements using statistical learning models." Energy and Buildings 112 (January 15, 2016): 28-39. Jiang, Chaoyang, Mustafa K. Masood, Yeng Chai Soh, and Hua Li. "Indoor occupancy estimation from carbon dioxide concentration." Energy and Buildings 131 (2016): 132-41.