How to do it...
In this chapter, the Occupancy Detection dataset from the UC Irivine ML repository is used to build models on logistic regression and neural networks. It is an experimental dataset primarily used for binary classification to determine whether a room is occupied (1) or not occupied (0) based on multivariate predictors as described in the following table. The contributor of the dataset is Luis Candanedo from UMONS.
Download the dataset at https://archive.ics.uci.edu/ml/datasets/Occupancy+Detection+.
There are three datasets tobe downloaded; however, we will use datatraining.txt for training/cross validation purposes and datatest.txt for testing purposes.
The dataset has seven attributes (including response occupancy) with ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access