知识卡片
滑动均值检测需说明输入条件
对二元序列用[0.5,0.5]滑动,输出1表示当前两个位置都为1,0.5表示仅一个为1。这个逻辑依赖输入确为0或1且无其他缩放;得到高值也只是预先定义的连续标签模式,不自动表示完整语言意义。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- · 查看原书依据
This moving average filter can detect the occurrence of two things in a row because (.5 * 1 + .5 * 1) is 1—a 1 indicates your code has found something. Convolution is great at detecting patterns like this that other NLP algorithms would miss. Rather than looking for two occurrences of a word, you are going to look for two aspects of meaning in
参考来源
- 位置:《Natural Language Processing in Action, Second Edition》第07章《卷积网络识别文本模式》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Natural Language Processing in Action, Second Edition/_epub-src/OEBPS/Text/chapter-7.html)
- 结论依据:摘录中关于滑动均值检测需说明输入条件的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。
- 原始内容:This moving average filter can detect the occurrence of two things in a row because (.5 * 1 + .5 * 1) is 1—a 1 indicates your code has found something. Convolution is great at detecting patterns like this that other NLP algorithms would miss. Rather than looking for two occurrences of a word, you are going to look for two aspects of meaning in