Skip to content

Unify format of descriptor maps (or not) #15

@perellonieto

Description

@perellonieto

The localisation and activity examples use different format of descriptor_map

eg. The localisation uses arrays of integers denoting the labels

descriptor_map = {
'foyer' : [0],
'bedroom' : [1],
'living_room' : [2],
'bathroom' : [3]
}

While the accelerometer example uses integers

descriptor_map = {
'sitting' : 77,
'walking' : 78,
'washing' : 79,
'eating' : 80,
'sleeping': 81,
'studying': 82
}

What is the reasoning behind it, and which method should we choose as standard. A benefit from the list is that it could group labels, for example "upstairs" could be associated to [0, 1, 2], or "sedentary" as well.

I am not sure if there are collateral implications on this modification.

Metadata

Metadata

Labels

enhancementNew feature or requestquestionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions