William J Turkel

A Naive Bayesian in the Old Bailey, Part 4

June 9, 2008
Originally published at https://digitalhistoryhacks.blogspot.com/2008/06/naive-bayesian-in-old-bailey-part-4.html

With raw text files for each of the trials, we’re almost in a position to try doing some experiments with a machine learner. Before we get started we are going to need a few utility routines to make our lives easier. Programmers enjoy writing tools so much they have a special expression for the process: yak shaving1. Sometimes it’s necessary, sometimes it’s just fun, sometimes it’s a great way to procrastinate. We’ll try to keep it in check.

That about does it for the utility routines. Next we have to address the problem of sampling.

Tags: archive7 | data mining8 | digital history9 | feature space10 | machine learning11 | text mining12


Previous: A Naive Bayesian in the Old Bailey, Part 3
Next: A Naive Bayesian in the Old Bailey, Part 5
Back to the blog archive

  1. http://www.catb.org/jargon/html/Y/yak-shaving.html ↩

  2. http://digitalhistory.uwo.ca/dhh/hacks/ob-trial-id-list.py.html ↩

  3. http://digitalhistory.uwo.ca/dhh/hacks/ob-get-date-range.py.html ↩

  4. http://digitalhistory.uwo.ca/dhh/hacks/ob-offence-category.py.html ↩

  5. http://digitalhistory.uwo.ca/dhh/hacks/ob-offence-index.py.html ↩

  6. http://digitalhistory.uwo.ca/dhh/hacks/ob-count-offences.py.html ↩

  7. http://technorati.com/tag/archive ↩

  8. http://technorati.com/tag/data+mining ↩

  9. http://technorati.com/tag/digital+history ↩

  10. http://technorati.com/tag/feature+space ↩

  11. http://technorati.com/tag/machine+learning ↩

  12. http://technorati.com/tag/text+mining ↩