前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >异常检测:季节性ESD Python pip安装sesd库报错解决

异常检测:季节性ESD Python pip安装sesd库报错解决

作者头像
叶庭云
发布2021-12-07 13:47:49
5220
发布2021-12-07 13:47:49
举报
文章被收录于专栏:Python进阶之路

百度、谷歌搜索了一圈,没有找到解决方案,自己根据经验终于搞定了。

大数据挑战赛用到了时间序列异常检测,发现了一个很好的方法:S-ESD,

季节性 esd 是一种在 twitter 上实现的异常检测算法:

“we developed two novel statistical techniques for automatically detecting anomalies in cloud infrastructure data. Specifically, the techniques employ statistical learning to detect anomalies in both application, and system metrics. Seasonal decomposition is employed to filter the trend and seasonal components of the time series, followed by the use of robust statistical metrics – median and median absolute deviation (MAD) – to accurately detect anomalies, even in the presence of seasonal spikes.”

所有的功劳都归于 Twitter 公司的Jordan Hochenbaum、Owen S.Vallis和Arun Kejariwa。

换国内源,pip install sesd库,发现会报编码错误。

把 tar.gz 包下载到本地安装也还是不行

解决方法如下:

安装指定版本:pip install sesd

代码语言:javascript
复制
# -*- coding: UTF-8 -*-
"""
@Author  :叶庭云
@CSDN    :https://yetingyun.blog.csdn.net/
"""
pip install sesd==0.1.6
本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2021/11/03 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档