python离群点检测_GitHub - sladesha/Frcwp: 滴滴黑产识别的离群点检测python自用包

68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d3030303030302e737667

68747470733a2f2f7472617669732d63692e6f72672f736c6164657368612f46726377702e7376673f6272616e63683d6d6173746572

68747470733a2f2f696d672e736869656c64732e696f2f62616467652f707970692d302e302e372d626c75652e737667

What is Frcwp

It means fast risk control with python.

It's a lightweight tool that automatic recognize the outliers from a large data pool.

This project aims to help people get easily method with abnormal recognition, especially forces password attacks.

We wish it could be a nice Open Source which could simplify the complexity of the Data Feature Project.

Theory

Compared with common methods

We got the correctness around 29 data sets below,however the speed of Frcwp comes last.

687474703a2f2f75706c6f61642d696d616765732e6a69616e7368752e696f2f75706c6f61645f696d616765732f313132393335392d393062396537393333663738376664342e6a70673f696d6167654d6f6772322f6175746f2d6f7269656e742f7374726970253743696d61676556696577322f322f772f31323430

Usage

U can get it easily download from Pypi with pip install Frcwp.

import pandas as pd

from Frcwp import Frcwp

path = '../data/data_all.csv'

traindata = pd.read_csv(path)

frc = Frcwp()

traindata = frc.changeformat(traindata, index=0)

params = {

'na_rate': 0.4,

'single_dealed': 1,

'is_scale': 0,

'distince_method': 'Maha',

'outlier_rate': 0.05,

'strange_rate': 0.15,

'nestimators': 150,

'contamination': 0.2

}

frc.fit(traindata, **params)

predict_params = {

'output': 20,

'is_whole': 1

}

frc.predict(frc.potentialdata_set, **predict_params)

Dependence

Frcwp is implemented in Python 3.6, use Pandas.DataFrame to store data. These package can be easily installed using pip.

Reference

TODO

feature scanning

increase new outliers distinguishing methods

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值