Hi there,

I was browsing the code to understand the value of X-DSPAM-CONFIDENCE and I'm 
not sure I understand its meaning completely.

--- libdspam.c ---
  /* Calculate Confidence */

  if (CTX->algorithms & DSP_MARKOV) {
    if (CTX->result == DSR_ISSPAM)
    {
      CTX->confidence = CTX->probability;
    }
    else
    {
      CTX->confidence = 1.0 - CTX->probability;
    }
  } else {
    if (CTX->result == DSR_ISSPAM)
    {
      CTX->confidence = rob_result;
    }
    else
    {
      CTX->confidence = 1.0 - rob_result;
    }
  }
------------------

As I understand the code, if a message is a spam, confidence = probability. If 
the message is a ham, confidence = (1 - probability).
How does that gives an information on the level of maturity DSPAM has reached ?

Thanks,
Julien


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to