example2.risk
来自「dbacl是一个通用目的的digramic贝叶斯文本分类器。它可以学习你提供的文」· RISK 代码 · 共 16 行
RISK
16 行
# Same as example1.risk but with a small increase in two/three,# and an regular expression dependent loss matrixcategories { one, two, three}prior { 2, 1, 1}loss_matrix { "^proportion: ([0-9.]+)" one [ 0, (1+$1)^complexity, (1.2)^complexity ]"" one [ 0, (1.1)^complexity, (1.1)^complexity ]"" two [(1.1)^complexity, 0, (2.0)^complexity ] "" three [(1.5)^complexity, (1.01)^complexity, 0 ]}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?