# Sklearn LocalOutlierFactor contamination parameter

Can anyone provide an intuitive explanation of the choice of contamination parameter used in sklearn's LocalOutlierFactor implementation when contamination="auto" ?

The sklearn guide suggests "as described in the paper" but I couldn't find anything obvious. Thanks.

(this answer assumes you were asking about how the offset_ attribute was chosen when contamination="auto")