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

Added error message for crossval function when number of samples < number of folds #42

Closed timotk closed 6 years ago

timotk commented 6 years ago

Added a more user friendly error message that explains why crossval function doesn't work when number of samples is too low.

Cool project btw ;)

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-0.3%) to 83.966% when pulling 9774abeac0e88e66a4f34fe2b7f9b1bf4559b401 on timotk:master into 4ca60f1062624693f2395ce11ae24bea73455bd3 on kootenpv:master.

kootenpv commented 6 years ago

Thanks, looks good :)!

kootenpv commented 6 years ago

Changes are visible from whereami==0.4.85 onwards.

# also updates subpackages (recommended)
pip install -U whereami

or

 # only upgrades whereami
 pip uninstall whereami && pip install --no-cache whereami