Select your font size 
 
about us products & services consulting & support news & events contact us
Centuries-old techniques developed by Thomas Bayes find modern applications because they are simple and effective.

Bayesian Techniques Assist Automated Decision Tools - USA

print this article 
 

Centuries-old techniques developed by Thomas Bayes find modern applications because they are simple and effective.


(1) Bayesian techniques are employed in the automated filtering of unwanted spam, the formation of medical diagnoses, the detection of viruses, and in several other ways that advance compatible business objectives.

Bayes Theorem uses Conditional Probability to calculate the probability of A given B, provided that the probability of B given A, the probability of A and the probability of B are all known.

For example, suppose an automated program could determine that a particular phrase is present in 70% of spam and 50% of non-spam emails, and that an email is 90% likely to be spam, and suppose that A means "the email is spam", B means "the email is not spam", and C means "the phrase is present". Then P(A), the probability of A, is 90%. P(B) is 10%. P(C|A), the probability of C given that A is true, is 70%. P(C|B) is 50%. P(C) = (0.70 * 0.90) + (0.50 * 0.10) = 0.68 = 68%. Some useful probabilities for classifying the email would then be P(A|C), the probability that the email is spam given that the phrase is present, and P(B|C), the probability that the email is not spam given that the phrase is present. Using conditional probability, P(A|C) = P(A) * P(C|A) / P(C). P(A|C) = 0.90 * 0.70 / 0.68 ~= 0.92647 ~= 93%. P(B|C) = P(B) * P(C|B) / P(C) = 0.10 * 0.50 / 0.68 ~= 0.07353 ~= 7%. Therefore, the probability that the email is spam, based on that one data point, is 93%, and the probability that it is not spam is 7%.

To improve the accuracy of this technique, a computer program could analyze thousands of data points in less than a tenth of a second, which is approximately how long it takes to download an email message. The program could test for phrase D, phrase E, phrase F, etc., and use data about each one to modify the overall confidence that the email is spam or not spam. In hand-waving mathematical terms, if C, D and E are found to be true, the program can automatically determine P(A|C,D,E) (the probability that the email is spam given that C, D, and E are true) using an extended version of Bayes Theorem, applied to a Bayesian network. By using good tokens (i.e. by asking the right questions, using all available information), this technique can be up to 99.5% accurate with 0.3% false positives.

A related algorithm is state-based, so that rather than using a directed acyclic graph of conditional probabilities (a Bayesian network), one could automatically produce a set of known states, along with transition matrices (stochastic matrices) showing the probability of moving from a given state to another (transition probabilities). These stochastic matrices fall naturally from statistics coming from a large enough set. CRM114 uses this technique to improve spam detection accuracy beyond naive Bayesian techniques, and suggests innovative approaches to potentially bring 99.999% reliability.

The applications of statistical techniques such as described above go beyond spam detection. For instance, one could imagine the same or similar techniques being used in the medical field to classify DNA, in industry to properly direct calls that come through automated call systems, in elections to predict how a particular message may affect polls, etc.

To learn more about how statistical methods can be used to improve your business, please contact us.

Works Cited

  1. J J O'Connor and E F Robertson. "Thomas Bayes." From The MacTutor History of Mathematics archive.
  2. William S. Yerazunis. "The Spam Filtering Plateau at 99.9% Accuracy and How to Get Past It." From
  3. CRM114 - the Controllable Regex Mutilator.
  4. Eric W. Weisstein. "Bayes' Theorem." From MathWorld--A Wolfram Web Resource.
  5. Eric W. Weisstein. "Conditional Probability." From MathWorld--A Wolfram Web Resource.
  6. Paul Graham. "Better Bayesian Filtering." From
  7. Paul Graham.

Most Recent Website and Regional Updates

 Remote Technical Support
Remote technical support is provided 24/7 by Transparen's staff, not only for data recovery, but also for proactive maintenance (i.e. detecting problems early, before they become disasters).

 
 Online Magazine Sales and Distribution System
Turnkey publishing system facilitates easy online recurring billing, content delivery. Publish using the same software as you use for the print edition.

 
 How to make a page that silently queries the server
Using IFrames and some JavaScript, your website can dynamically consult a database without needing to reload the page.

 
 Research Tools
Measure human resource allocation and collect data with the goal of determining patterns that will bring forward actionable insights which may lead to policy changes, saving money and improving quality of service.

 
 Process Evaluation Questions
Questions to help focus discussion about process improvement

 

Google
 
Web transparen.com

Contact Information

Related Information

  ALABAMA AL
ALASKA AK
AMERICAN SAMOA AS
ARIZONA AZ
ARKANSAS AR
CALIFORNIA CA
COLORADO CO
CONNECTICUT CT
DELAWARE DE
DISTRICT OF COLUMBIA DC
FEDERATED STATES OF MICRONESIA FM
FLORIDA FL
GEORGIA GA
GUAM GU
HAWAII HI
IDAHO ID
ILLINOIS IL
INDIANA IN
IOWA IA
KANSAS KS
KENTUCKY KY
LOUISIANA LA
MAINE ME
MARSHALL ISLANDS MH
MARYLAND MD
MASSACHUSETTS MA
MICHIGAN MI
MINNESOTA MN
MISSISSIPPI MS
MISSOURI MO
MONTANA MT
NEBRASKA NE
NEVADA NV
NEW HAMPSHIRE NH
NEW JERSEY NJ
NEW MEXICO NM
NEW YORK NY
NORTH CAROLINA NC
NORTH DAKOTA ND
NORTHERN MARIANA ISLANDS MP
OHIO OH
OKLAHOMA OK
OREGON OR
PALAU PW
PENNSYLVANIA PA
PUERTO RICO PR
RHODE ISLAND RI
SOUTH CAROLINA SC
SOUTH DAKOTA SD
TENNESSEE TN
TEXAS TX
UTAH UT
VERMONT VT
VIRGIN ISLANDS VI
VIRGINIA VA
WASHINGTON WA
WEST VIRGINIA WV
WISCONSIN WI
WYOMING WY
 
 
E C M | © 2003-2007 Transparen Corp.      

Standardized Services: Data Recovery Service / Creative Services / Premium Web Hosting Services / System Administration Tech Support Services
Recent Projects: Full-Service Mortgage and Financing Company / System to manage flights from Vancouver to Tofino / Photo exchange verification service
Our Vancouver BC Server Proudly Hosts: automated parking and revenue control systems, leafside lane at southlands, cost effective alternative power sources, Higher Grade Learning Centres, pacific forage bag supply, sunburst medical, neosonic design, roger mahler photography - passionate, intriguing, desirable, the connection between east and west, affordable flights to victoria and tofino, low interest mortgage brokers in vancouver, richmond, surrey, toronto, Toronto Calgary and Vancouver IT staffing and talent search
Alabama, Alaska, Arizona, Arkansas, California, Colorado, Connecticut, Delaware, Florida, Georgia, Hawaii, Idaho State, Illinois, Indiana, Iowa, Kansas, Kentucky, Louisiana, Maine, Maryland, Massachusetts, Michigan, Minnesota, Mississippi, Missouri, Montana, Nebraska, Nevada, New Hampshire, New Jersey, New Mexico, New York, North Carolina, North Dakota, Ohio, Oklahoma, Oregon, Pennsylvania, Rhode Island, South Carolina, South Dakota, Tennessee, Texas, Utah, Vermont, Virginia, Washington, West Virginia, Wisconsin, Wyoming