Android Question Activity Recognition service confidence

Rusty

Well-Known Member
Licensed User
Longtime User
Has anyone figured out how to decide what activity is being done.
The activities come up with confidence percentages and for example:
** Service (recognitionservice) Start **
Type 5 - on_bicycle confidence: 2
Type 4 - unknown confidence: 19
Type 3 - still confidence: 21
Type 2 - walking confidence: 29
Type 1 - on_foot confidence: 29
Type 0 - in_vehicle confidence: 29

** Service (recognitionservice) Start **
Type 6 - running confidence: 2
Type 5 - still confidence: 8
Type 4 - on_bicycle confidence: 10
Type 3 - unknown confidence: 13
Type 2 - walking confidence: 33
Type 1 - on_foot confidence: 35
Type 0 - in_vehicle confidence: 35

** Service (recognitionservice) Start **
Type 5 - still confidence: 8
Type 4 - walking confidence: 15
Type 3 - unknown confidence: 15
Type 2 - on_foot confidence: 15
Type 1 - on_bicycle confidence: 31
Type 0 - in_vehicle confidence: 31
Action: on_foot - 38393 Min: 9.1
Action: walking - -7 Min: 5.3
The above activity was a simple walk at a normal pace without additional motions, with the phone strapped to my arm. I was nowhere near a bicycle or vehicle and you can see the confidence levels.
Is there an algorithm to eliminate/calculate the activity? Or at least a hierarchy of consideration?
As you can see, the last sample, walking was the second lowest confidence level and i was walking...
Ideas are appreciated.
Regards,
Rusty
 
Top