You are reading a single comment by @splch and its replies.
Click here to read the full conversation.
-
I just gave it a shot yesterday with the
Bangle.getHealthStatus().movement
method works great! Temperature adds some inference but I included the data as well.Without temperature, the model has a 99.2% accuracy :)
The decision tree function is:
function isWorn() { if (Bangle.isCharging()) return false; if (Bangle.getHealthStatus().movement > 146) return true; return false; }
2 Attachments
In the case when the user mostly keeps the bangle on them, maybe it could be assumed the ambient temperature is a couple degrees lower than the 'wearing temperature'?
So maybe there would be three temperature measurements:
When the last 'ambient temperature' reading became too old then 'assumed ambient temperature' would take it's place.
But I also suspect that Gordon might be right :p.