Procházet zdrojové kódy

[Minor] Fix percent sign in statistics learning condition

tags/1.3.0
Alexander Moisseev před 8 roky
rodič
revize
e53fd5ab0c
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2
    2
      conf/statistic.conf

+ 2
- 2
conf/statistic.conf Zobrazit soubor

@@ -57,10 +57,10 @@ return function(task, is_spam, is_unlearn)
end

if is_unlearn and (not in_class) then
return false,string.format('not in class %s; probability %.2f%%',
return false,string.format('not in class %s; probability %.2f%%%%',
cl, math.abs((prob - 0.5) * 200.0))
elseif (not is_unlearn) and in_class then
return false,string.format('already in class %s; probability %.2f%%',
return false,string.format('already in class %s; probability %.2f%%%%',
cl, math.abs((prob - 0.5) * 200.0))
end
end

Načítá se…
Zrušit
Uložit