An outlier is an observation that departs markedly from the pattern of other observations. In medicine-price prediction, an extreme price may be an outlier or a potentially broken value. section 4.5.4
Removing prices above the 99th percentile limits their influence on predictions, but the cutoff alone does not establish that each removed price is erroneous. section 4.5.4
price_threshold = df['price'].quantile(0.99) df = df[df['price'] < price_threshold]
Shows the quantile-based price filter used before model training. section 4.5.4



















