Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果你有一个为一组类训练的贝叶斯分类器,如何检测输出是否足够重要以选择一个类?这对于检测无法分配给类的样本很有用。我已经尝试测试类概率是否高于所有类概率的均值+2*stddev,但我认为它不会是稳健的。
您可以考虑对数似然比。考虑R(C) = log(P(C|D)/P(~C| D),C类在哪里,D特征在哪里。那么你可能想要确保它R(C)大于某个正数。
R(C) = log(P(C|D)/P(~C| D)
C
D
R(C)
在我的jsp中,如果我打电话<form action="/sampleServlet" method="get" name="form1">,我会得到以下异常:
<form action="/sampleServlet" method="get" name="form1">
http 404 错误--未找到 sampleServlet。我在 web.xml 文件中设置