知识卡片
平滑滤波中的取舍
平滑让相邻观测共同决定一个位置的处理值,以减少信号中的快速扰动。书例给正弦信号加入随机噪声和尖峰,再用一维高斯滤波比较波形。窗口变宽可让曲线更平滑,也可能抹去真实变化。先确认哪些快速变化对任务具有意义。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Data Pre-processing · 查看原书依据
In this example, we generate a 1D signal with sinusoidal components and add some random noise, including a couple of impulsive spikes. We then apply a Gaussian filter using gaussian_filter1d from scipy.ndimage to reduce the noise.
参考来源
- 位置:《Simplified Machine Learning: The Essential Building Blocks for Machine Learning Expertise》第 02 章《Data Pre-processing》(`extracted/Simplified Machine Learningː The Essential Building Blocks for Machine Learning Expertise/_epub-src/OPS/ch02.xhtml`,book-source 项目,正文索引第 260 段)
- 结论依据:Code 2.5 实际使用 gaussian_filter1d,随后解说确认信号包含随机噪声和脉冲。
- 原始内容:In this example, we generate a 1D signal with sinusoidal components and add some random noise, including a couple of impulsive spikes. We then apply a Gaussian filter using gaussian_filter1d from scipy.ndimage to reduce the noise.