_覓 | 覦覈襦 | 豕蠏手 | 殊螳 | 譯殊碁 |
FrontPage › 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
鏤
|
襷 企Π 蟷伎讌 覈詩 れ企 . 覿螳レ企 蟾 伎蟆 企 譟伎讌 . |