_覓 | 覦覈襦 | 豕蠏手 | 殊螳 | 譯殊碁 |
FrontPage › K-NearestNeighbors › OutlierDetection
|
|
[edit]
1 LOF (Local Outlier Factor) #library(DMwR) x <- df1$dau y <- df1$used_cash outlier.scores.y <- lofactor(y, k=5) outlier.scores.x <- lofactor(x, k=5) #plot(density(outlier.scores)) tmp <- data.frame(x, y, outlier.scores.y, outlier.scores.x) tmp <- tmp[tmp$outlier.scores.x <= 2 & tmp$outlier.scores.y <= 2, ] x <- tmp$x y <- tmp$y
鏤
|
殊 蟾讌 覈詩企 譬. る 豌覿 蠍壱 螳襷 讌 襷. 蠏碁蟆 蠏 殊 襷♀鹸 語 襷 覯襴讌 . <覓企> |