In this short demo you will:
Requirements
Firstly you have to take the code below:
Considering that the filename is predict.py
you run it as below:
Then you open xterm and run whereami from sta1's terminal.
Change the position to ap1 and run whereami again.
Change the position to ap4 and run whereami.
Change the position to ap3 and run whereami one more time.
At this time you are able to see some txt files at ~/.whereami as well the pkl model.
Lastly, you can change the position of sta1 and make the prediction with whereami as below:
Demo