Accurate Occupancy Detection of an Office Room From Light, Temperature, Humidity and CO2 Measurements Using Statistical Learning Models

Alex Mirugwe
{"title":"Accurate Occupancy Detection of an Office Room From Light, Temperature, Humidity and CO2 Measurements Using Statistical Learning Models","authors":"Alex Mirugwe","doi":"10.2139/ssrn.3686755","DOIUrl":null,"url":null,"abstract":"This project aims at developing, validating, and testing several classification statistical models that could predict whether or not an office room is occupied using several data features, namely temperature (◦C), light (lx), humidity (%), CO2 (ppm), and a humidity ratio. The data is modeled using classification techniques i.e. Logistic regression, Classification tree, Bagging-Random forest, and Gradient boosted trees.<br><br>These models were trained and then after evaluated against validation and test sets and using confusion matrices to obtain classification and mis-classification rates. The logistic model was trained using glmnet R package, Tree package for classification tree model, random Forest for both Bagging and Random Forest Models, and gbm package for Gradient Boosted Model.<br><br>The best accuracy was obtained from the Random Forest Model with a classification rate of 93.21% when it was evaluated against the test set. Light sensor is also the most significant variable in predicting whether the office room is occupied or not, this was observed in all the five models.","PeriodicalId":433005,"journal":{"name":"Econometrics: Data Collection & Data Estimation Methodology eJournal","volume":"5 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-09-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"85","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Econometrics: Data Collection & Data Estimation Methodology eJournal","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.2139/ssrn.3686755","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 85

Abstract

This project aims at developing, validating, and testing several classification statistical models that could predict whether or not an office room is occupied using several data features, namely temperature (◦C), light (lx), humidity (%), CO2 (ppm), and a humidity ratio. The data is modeled using classification techniques i.e. Logistic regression, Classification tree, Bagging-Random forest, and Gradient boosted trees.

These models were trained and then after evaluated against validation and test sets and using confusion matrices to obtain classification and mis-classification rates. The logistic model was trained using glmnet R package, Tree package for classification tree model, random Forest for both Bagging and Random Forest Models, and gbm package for Gradient Boosted Model.

The best accuracy was obtained from the Random Forest Model with a classification rate of 93.21% when it was evaluated against the test set. Light sensor is also the most significant variable in predicting whether the office room is occupied or not, this was observed in all the five models.
利用统计学习模型从光线、温度、湿度和二氧化碳测量中准确检测办公房间的占用情况
该项目旨在开发、验证和测试几种分类统计模型,这些模型可以使用几种数据特征,即温度(◦C)、光照(lx)、湿度(%)、二氧化碳(ppm)和湿度比,来预测办公室房间是否被占用。数据使用分类技术建模,即逻辑回归,分类树,Bagging-Random forest和梯度提升树。对这些模型进行训练,然后根据验证集和测试集进行评估,并使用混淆矩阵来获得分类和误分类率。逻辑模型的训练使用glmnet R包,分类树模型使用Tree包,袋装和随机森林模型使用随机森林,梯度提升模型使用gbm包。随机森林模型在测试集上的分类率为93.21%,准确率最高。光传感器也是预测办公室是否被占用的最重要变量,这在所有五个模型中都观察到。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信