function value = getValue(mapping,classLabel)
if mapping.labelToValue.containsKey(classLabel)
    value = mapping.labelToValue.get(classLabel);   
else
     error('LabelMap:getValue:noSuchLabel','this Mapping does not contain a Label ''%s''',classLabel);
end