Skip to content

This program is a simple wifi positioning demo, which uses WKNN (Weighted K-Nearest-Neighbor) algorithm. The repo also provides a wifi dataset in the data directory. 利用WKNN实现wifi定位,同时repo中提供一个测试数据.

License

Notifications You must be signed in to change notification settings

gjgjh/Wifi_Positioning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wifi Positioning

This program is a simple wifi positioning demo, which uses WKNN (Weighted K-Nearest-Neighbor) algorithm. The repo also provides a wifi dataset in the data directory.

1. Prerequisites

This program has been tested on Ubuntu 16.04. It has several dependecies.

1.1 Mlpack

You can simply install mlpack with the following command:

sudo apt-get install libmlpack-dev

But this may not have the most recent version of mlpack available. Or you can follow mlpack installation if you want to install with a manual build.

1.2 Eigen

You can simply install Eigen with the following command:

sudo apt-get install libeigen3-dev

1.3 OpenCV (optional)

OpenCV is used to visualize the wifi positioning results. This library is optional.

2. Build

Clone the repository and build:

git clone https://github.com/gjgjh/WifiPositioning
cd ~/WifiPositioning
mkdir build
cd build
cmake ..
make -j4

3. Example

We provide a read wifi dataset in the data directory. The data was collected on the fourth floor of the Science Academic Building of Peking University, and the collection equipment was an ASUS computer. The detailed file format is here. A simple usage example can be found in the test directory.

4. License

The source code is released under GPLv3 license.

We are still working on improving the code reliability. For any technical issues or commercial inquiries, please contact GJH guojh_rs@pku.edu.cn.

About

This program is a simple wifi positioning demo, which uses WKNN (Weighted K-Nearest-Neighbor) algorithm. The repo also provides a wifi dataset in the data directory. 利用WKNN实现wifi定位,同时repo中提供一个测试数据.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published