Combining partially global and local characteristics for improved classification