Analyzing location-specific error patterns in train data