知识卡片
错误处理的场景取舍
发生错误时,有些系统优先拒绝输出不可靠结果,有些系统优先继续提供服务。医疗等安全关键场景中错误输出可能造成严重伤害;娱乐效果偶尔偏差的代价可能较低。两种选择取决于失败后果,不能据此认定系统的可靠性只由一个指标决定。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Is there a problem? · 查看原书依据
Correctness means never returning an inaccurate result; returning no result is better than returning an inaccurate result. Robustness means always trying to do something that will allow the software to keep operating, even if that leads to results that are inaccurate sometimes.
参考来源
- 位置:《Machine Learning System Design》第2章《Is there a problem?》(来源项目 a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Machine Learning System Design/_epub-src/OEBPS/Text/chapter-2.xhtml)
- 结论依据:原文引用 Code Complete 中错误处理的两端,并用安全关键与娱乐应用比较代价;此处沿用该语境。
- 原始内容:Correctness means never returning an inaccurate result; returning no result is better than returning an inaccurate result. Robustness means always trying to do something that will allow the software to keep operating, even if that leads to results that are inaccurate sometimes.