November 2019
Intermediate to advanced
346 pages
9h 36m
English
Step 1 consists of assembling a dataset of Wi-Fi signal strengths from different locations in the area of interest. This is something that can be done relatively easily, simply by walking through a room with a GPS-enabled phone, and running a script to record the strength of the Wi-Fi. In Step 2, we read the data into a data frame, and then rename the target column to room so we know what it refers to. Moving on, in Step3, we train-test split our data in preparation for learning. We divide up the features and labels into arrays (Step4). Finally, in Steps5 and 6, we train and test a basic classifier. Observe that the performance of the model is very high. This suggests that it is not a difficult task to localize a device based ...