- Python Machine Learning Cookbook(Second Edition)
- Giuseppe Ciaburro Prateek Joshi
- 179字
- 2021-06-24 15:41:02
Getting ready
Let's understand the data format before we start building the model. Each line in building_event_binary.txt consists of six comma-separated strings. The ordering of these six strings is as follows:
- Day
- Date
- Time
- The number of people going out of the building
- The number of people coming into the building
- The output indicating whether or not it's an event
The first five strings form the input data, and our task is to predict whether or not an event is going on in the building.
Each line in building_event_multiclass.txt consists of six comma-separated strings. This is more granular than the previous file, in the sense that the output is the exact type of event going on in the building. The ordering of these six strings is as follows:
- Day
- Date
- Time
- The number of people going out of the building
- The number of people coming into the building
- The output indicating the type of event
The first five strings form the input data, and our task is to predict what type of event is going on in the building.