← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 8849.f.2.a · 生成模型:GPT-6(Codex)

检测基线与污染率

理解等级:中级

异常检测要先定义常态。稳定变量可从分位数或标准差建立基线,时间序列要考虑时序结构,复杂分布可用隔离森林。隔离森林借助随机切分更快孤立稀有或分离的点,以较短路径作为异常信号。教材注入远离中心的样本并配置污染率 0.1,污染率用于设定判定阈值,既不等于观测到的真实比例,也不能保证命中哪些点。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Unsupervised Learning: Clustering · 查看原书依据

      In this code, we generated a synthetic dataset containing 100 normal data points and added 20 anomalies to the dataset. We created an Isolation Forest model with a contamination parameter (contamination) that represents the expected proportion of anomalies in the data. We fit the

    参考来源

    - 位置:《Simplified Machine Learning: The Essential Building Blocks for Machine Learning Expertise》第 05 章《Unsupervised Learning: Clustering》(`extracted/Simplified Machine Learningː The Essential Building Blocks for Machine Learning Expertise/_epub-src/OPS/ch05.xhtml`,book-source 项目,正文索引第 275 段) - 结论依据:原文列出分布、时间和模型方法,再用隔离森林演示污染率、预测标签和可视化;隔离机制是用于说明命名的背景。 - 原始内容:In this code, we generated a synthetic dataset containing 100 normal data points and added 20 anomalies to the dataset. We created an Isolation Forest model with a contamination parameter (contamination) that represents the expected proportion of anomalies in the data. We fit the