schollz / find

High-precision indoor positioning framework for most wifi-enabled devices.
https://www.internalpositioning.com/
GNU Affero General Public License v3.0
5.03k stars 370 forks source link

Dashboard shows fingerprint for testing, not total #161

Open yedlosh opened 7 years ago

yedlosh commented 7 years ago

Hi,

right now I'm using your FIND server at ml.internalpositioning.com and the android app originally created by uncleashi.

The problem I have is that when learning, the app sends fingerprints to /learn endpoint in five second intervals for three minutes - which should be 36 fingerprints, and for each of them server responds with "success":true. But the dashboard shows that for each location only 9 fingerprints are being actually used. Is it problem just with the dashboard displaying incorrect number, or is the problem somewhere else? You can check 'snemovnired' group for sample of this behaviour.

Thanks for looking into this.

schollz commented 7 years ago

@yedlosh

This is just a problem with the UI. Currently it displays how many fingerprints are used for learning. I think it is set to 4-fold cross validation, which means that out of 36 fingerprints, 9 of them are used for learning (1/4 the dataset) while the other 27 (3/4 the dataset) are used for training. This is confusing, though, so I can modify this to show just the total amount.