Paste the following path to access this notebook: examples/Analyzing_Data/Local_Outlier_Factor.ipynb
Click Enter.
Local Outlier Factor (LOF) is a common algorithm for identifying data points that are inliers/outliers relative to their neighbors. The algorithm works by comparing how close an element is to its neighbors vs how close they are to their neighbors. The number of neighbors to use, k, is set by the user.
Scores much less than one are inliers, scores much greater are outliers, and those near one are neither.
This demo is derived from the scikit-learn Local Outlier Detection demo.