kootenpv / whereami

Uses WiFi signals :signal_strength: and machine learning to predict where you are
GNU Affero General Public License v3.0
5.1k stars 247 forks source link

missing documentation for mac 10.11.6 #43

Open resistor4u opened 6 years ago

resistor4u commented 6 years ago

Installed with sudo pip install -U whereami with system's python. My current locations are :

shop-bedroom-bed: 8
shop-window: 5
shop-couch: 4
shop-frontporch: 3
shop-kitchen: 4
shop-bathroom: 2
shop-backporch: 3
shop-bedroom-desk: 5

When I run whereami crossval, I get a stacktrace ending with ValueError: n_splits=10 cannot be greater than the number of members in each class. I'm not sure how to fix this error, but in searching around for a fix, I feel like the existing project documentation could be a little clearer, e.g., where the trained data is, whether it's different from data in ~/.whereami/*.txt, what exactly whereami train does, what's the benefit of the -n 4 samples option, and how to use the rename option. If this is already documented, could you please point me in the right direction?

EDIT for the n_splits error, this link https://stackoverflow.com/questions/48313387/valueerror-n-splits-10-cannot-be-greater-than-the-number-of-members-in-each-cla is helpful.

So it follows that one benefit of setting samples option during learn is that one sooner reaches the minimum of 10 samples necessary to run whereami crossval.