anomaly-detection

Understanding the subtle difference in calculating percentile

Understanding the subtle difference in calculating percentile Question: When calculating the percentile using numpy, I see some authors use: Q1, Q3 = np.percentile(X, [25, 75]) which is clear to me. However, I also see others use: loss = np.percentile(X, 4) I presume 4 implies dividing the 100 into 4 percentiles but how the loss is …

Total answers: 1