No description, website, or topics provided.
R
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Correlation_Plot.png
Model Development.R
README.md updated reference Jan 5, 2016
VarImp_modelRF_All.png
datatest.txt
datatest2.txt
datatraining.txt new data files and processing script Dec 7, 2015
pairs_plot_green_blue_time.png
varimportance_no_light.png

README.md

Occupancy-detection-data

This is a repository for data for the publication:

Accurate occupancy detection of an office room from light, temperature, humidity and CO2 measurements using statistical learning models. Luis M. Candanedo, Véronique Feldheim. Energy and Buildings. Volume 112, 15 January 2016, Pages 28-39.

This repository hosts the experimental measurements for the occupancy detection tasks. It includes a clear description of the data files.

  • Description of the data columns(units etc).
  • The scripts to reproduce exploratory figures.
  • The scripts for model training.
  • The commands for model testing.
  • Also note that when training and testing the models you have to use the seed command to ensure reproducibility.
  • There may be small variations in the reported accuracy.

Please read the commented lines in the model development file. Install all the packages dependencies before trying to train and test the models.

It is advised to execute each command one by one in case you find any errors/warnings about a missing package.

Please do not forget to cite the publication! Thank you!

Keywords: Linear discriminant analysis, Classification and Regression Trees, Random forests, energy conservation in buildings, occupancy detection, GBM models. R, Rstudio, Caret, ggplot2.