Extracting local+global Features from test data