![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
异常检测
颹蕭蕭
这个作者很懒,什么都没留下…
展开
-
RRCF 异常点检测
import matplotlib.pyplot as plt %matplotlib inline y = np.array([ np.random.random()*10 + 50*int(np.random.random() > 0.99)*np.sign(np.random.random()-0.5) for _ in range(1000)]) y[:len(y)//2] += 200 y += 100 plt.figure(figsize=(20,5)) plt.plot(y) imp原创 2021-07-31 17:35:24 · 894 阅读 · 1 评论 -
RRCF 鲁棒随机割森林
from collections import deque import numpy as np def shingle(sequence, size): """ Generator that yields shingles (a rolling window) of a given size. Parameters ---------- sequence : iterable Sequence to be shingled转载 2021-07-31 13:35:26 · 719 阅读 · 0 评论