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

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

 Transparen Toronto Office Locations
Addresses of Transparen Corporation offices in Toronto, Ontario.

 
 High Scalability - Large Systems Optimization
Transparen Corporation lends its expertise to clients experiencing rapid and sudden growth in traffic or server utilization, bottlenecks, systems instability, downtime during peak traffic, or which would like to plan to avoid such issues.

 
 Throughput (or Bandwidth) vs. Latency
This document uses the example of Bill Gates purchasing Google to explain the difference between bandwidth (or throughput) and latency.

 
 Emergency Management Services
The prototypical emergency involves a shutdown of essential services for a finite period of time. What will your organization do when a world-wide financial crisis strikes?

 
 Agriculture Financial Services Amendment Act, 2008
Chapter/Regulation: 27 2008Item/ISBN# 9780779737239 Pages 5

 
 Agriculture Statutes Repeal Act, 2008
Chapter/Regulation: 10 2008Item/ISBN# 9780779735891 Pages 1

 
 Alberta Capital Finance Authority Amendment Act, 2008
Chapter/Regulation: 28 2008Item/ISBN# 9780779737130 Pages 1

 
 Alberta Capital Finance Authority Regulation
Chapter/Regulation: 258/2006Current to   213/2008Item/ISBN# 9780779736560 Pages 1

 
 A Death in the Family - Documentary
Today on the podcast, the story of Paul Johnson and Bill Mullins-Johnson, two brothers from Sault Saint Marie, Ontario whose lives were torn apart after the murder of Paul's four-year-old daughter ... a crime that turned the two men against each other even though neither of them had committed it.

 
 06/01/2009: The Threatening Sea
Today on the podcast, we continue our Watershed series with a trip to Vanuatu, a nation of 83 islands in the South Pacific that is slowly but surely sinking into the sea.

 
 05/01/2009: Australia Drought
Dispatches from The Big Dry. Current producer Kathleen Goldhar brings us a report from Australia's enduring drought and the economy it's spawned, where rainless communities unravel, only the adaptable prosper and water is the new gold standard.

 
 02/02/2009: Economy Panel - 2009 Forecast
With the annus horibilis of 2008 in the rear view mirror, and 2009 lying in the wait, The Current organized an economy panel to give us their forecast for the new year.

 
 31/12/2008: Looking at Israel
Israel is a country where history is never really past, and where politics leeches into all quarters of society. No historian is merely an academic or a chronicler of the times. What he or she writes, in some cases, becomes the starting point of painful and contentious self-examiniation. In this podcast you will hear from a controvesial Israel professor and an author and intellectual counterpart to our first guest.

 
 30/12/2008: Gaza Witnesses
For some perpective about how Israel's latest military campaign is affecting ordinary Gazan citizens Tom Harrington was joined by two guests to discuss what they have been witnessing. Their stories and more about can be heard in this podcast.

 
 29/12/2008: Year-End Political Panel
It's been a year to remember, even if a lot of people would rather forget it ... elections and rumours of elections ... a tenuous coalition and an empty house of commons ... far-off wars and fears of financial Armageddon at home. There's still a couple of days left in it, but 2008 is marching into the history books, and so it's time for a post-mortem on a year that kept political watchers busy. In today's podcsat, you'll be hearing the thoughts of those on our year-end political panel for 2008.

 
 24/12/2008: Helping the Homeless
For Stephen Hwang, the term "help the homeless" has taken on deep meaning. The son of Chinese immigrants, he was born in the U.S. and studied medicine at the country's finest schools. He faced a bright career in research there. But he turned his back on that, and chose instead to move to Canada, and dedicate his work to studying and helping the homeless. We hear his story in today's podcast.

 

Google
 
Web transparen.com

Contact Information

Related Information

  Edmonton
Calgary
Lethbridge
Red Deer
Medicine Hat
St. Albert
Fort MacMurray
 
 
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
* Airdrie * Brooks * Calgary * Camrose * Cold Lake * Edmonton * Fort Saskatchewan * Grande Prairie * Leduc * Lethbridge * Lloydminster * Medicine Hat * Red Deer * Spruce Grove * St. Albert * Wetaskiwin * Fort McMurray * Sherwood Park Athabasca Banff Barrhead Bashaw Bassano Beaumont Beaverlodge Bentley Black Diamond Blackfalds Bon Accord Bonnyville Bow Island Bowden Bruderheim Calmar Canmore Cardston Carstairs Castor Chestermere Claresholm Coaldale Coalhurst Cochrane Coronation Crossfield Crowsnest Pass, Municipality of Daysland Devon Didsbury Drayton Valley Drumheller Eckville Edson Elk Point Fairview Falher Fort Macleod Fox Creek Gibbons Grande Cache Granum Grimshaw Hanna Hardisty High Level High Prairie High River Hinton Innisfail Irricana Killam Lac La Biche Magrath Manning Mayerthorpe McLennan Milk River Millet Morinville Mundare Nanton Okotoks Olds Onoway Oyen Peace River Penhold Picture Butte Pincher Creek Ponoka Provost Rainbow Lake Raymond Redcliff Redwater Rimbey Rocky Mountain House Sedgewick Sexsmith Slave Lake Smoky Lake Spirit River St. Paul Stavely Stettler Stony Plain Strathmore Sundre Swan Hills Sylvan Lake Taber Three Hills Tofield Trochu Turner Valley Two Hills Valleyview Vauxhall Vegreville Vermilion Viking Vulcan Wainwright Wembley Westlock Whitecourt Acme Alberta Beach Alix Alliance Amisk Andrew Arrowwood Barnwell Barons Bawlf Beiseker Berwyn Big Valley Bittern Lake Botha Boyle Breton Carbon Carmangay Caroline Cereal Champion Chauvin Chipman Clive Clyde Consort Coutts Cowley Cremona Czar Delburne Delia Derwent Dewberry Donalda Donnelly Duchess Edberg Edgerton Elnora Empress Ferintosh Foremost Forestburg Gadsby Galahad Girouxville Glendon Glenwood Halkirk Hay Lakes Heisler Hill Spring Hines Creek Holden Hughenden Hussar Hythe Innisfree Irma Kinuso Kitscoty Linden Lomond Longview Lougheed Mannville Marwayne Milo Minburn Morrin Munson Myrnam Nampa New Norway New Sarepta Nobleford Paradise Valley Rockyford Rosalind Rosemary Rycroft Ryley Sangudo Spring Lake Standard Stirling Strome Thorhild Thorsby Tilley Veteran Vilna Wabamun Warburg Warner Waskatenau Willingdon Youngstown Gull Lake Lakeview Rochon Sands Seba Beach Abee Acadia Valley Aldersyde Ardmore Ardrossan Ashmont Atikameg Atmore Balzac Benchlands Blairmore Blue Ridge Bottrel Bragg Creek Brocket Burdett Carway Chisholm Cochrane Lake Coleman Conrich Craigmyle Chisholm Crooked Creek Dalemead Dalroy Dalum De Winton Deadwood Delacour Desmarais Diamond City Dickson Duhamel Dunmore Elkwater Endiang Entwistle Erskine Evansburg Exshaw Fort Chipewyan Fort McMurray Fort Vermilion Frank Frog Lake Hays Heritage Pointe Hillcrest Mines Indus Irvine Janet Jasper Jefferson Kananaskis Kathyrn Kavanagh Kelsey Keoma Kingman La Crete Lac Des Arcs Lake Louise Langdon Madden Mallaig Niton Junction Nordegg Ohaton Pine Lake Plamondon Richdale Rochfort Bridge Saskatchewan River Crossing Schuler Scotfield Seebe Seven Persons Shepard Sherwood Park South Cooking Lake St. Isidore Star Tawatinaw Teepee Creek Tomahawk Torrington Turin Wabasca Wabasca-Desmarais Welling Zama City Acadia Athabasca Barrhead Beaver Bighorn Big Lakes Birch Hills Bonnyville Brazeau Camrose Cardston Clear Hills Clearwater Cypress Fairview Flagstaff Foothills Forty Mile Grande Prairie Greenview Kananaskis Kneehill Lacombe Lac Ste. Anne Lakeland Lamont Leduc Lesser Slave River Lethbridge Mackenzie Minburn Mountain View Newell Northern Lights Northern Sunrise Opportunity Paintearth Parkland Peace Pincher Creek Ponoka Provost Ranchland Red Deer Rocky View Saddle Hills Smoky Lake Smoky River Spirit River Starland Stettler St. Paul Strathcona Sturgeon Taber Thorhild Two Hills Vermilion River Vulcan Wainwright Warner Westlock Wetaskiwin Wheatland Willow Creek Wood Buffalo Woodlands Yellowhead Crowsnest Pass Jasper Municipal District of Mackenzie Wood Buffalo Strathcona County 4-Waterton Lakes National Park 5-Kananaskis Country 9-Banff National Park 12-Jasper National Park 13-Elk Island National Park 24-Wood Buffalo National Park 25-Willmore Wilderness Park