Various processing for local and global classifier