Parcourir la source

[Minor] Fix percent sign in statistics learning condition

tags/1.3.0
Alexander Moisseev il y a 8 ans
Parent
révision
e53fd5ab0c
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2
    2
      conf/statistic.conf

+ 2
- 2
conf/statistic.conf Voir le fichier

@@ -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

Chargement…
Annuler
Enregistrer